telegram-bot-api-nodejs
Advanced tools
Comparing version 1.0.5 to 1.0.7
@@ -621,4 +621,4 @@ export type ChatType = "private" | "group" | "supergroup" | "channel"; | ||
status: number; | ||
parameters: Record<string, any>; | ||
constructor(message: string, status: number, parameters?: Record<string, any>); | ||
data: Record<string, any>; | ||
constructor(message: string, status: number, data?: Record<string, any>); | ||
} | ||
@@ -625,0 +625,0 @@ /** |
@@ -471,7 +471,7 @@ /** | ||
status; | ||
parameters; | ||
constructor(message, status, parameters = {}) { | ||
data; | ||
constructor(message, status, data = {}) { | ||
super(message); | ||
this.status = status; | ||
this.parameters = parameters; | ||
this.data = data; | ||
} | ||
@@ -478,0 +478,0 @@ } |
{ | ||
"name": "telegram-bot-api-nodejs", | ||
"version": "1.0.5", | ||
"version": "1.0.7", | ||
"description": "Telegram Bot API client for nodejs", | ||
@@ -5,0 +5,0 @@ "type": "module", |
35896