telegram-bot-api-nodejs
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -120,3 +120,3 @@ export type ChatType = "private" | "group" | "supergroup" | "channel"; | ||
language_code?: string; | ||
is_premium?: boolean; | ||
is_premium: boolean; | ||
can_join_groups?: boolean; | ||
@@ -583,10 +583,3 @@ supports_inline_queries?: boolean; | ||
export declare function parseMessage(m: any): Message; | ||
export declare function parseUser(u: User): { | ||
id: string; | ||
is_bot: boolean; | ||
first_name: string; | ||
last_name: string; | ||
username: string; | ||
language_code: string; | ||
}; | ||
export declare function parseUser(u: User): User; | ||
export declare function parseChat(c: Chat): { | ||
@@ -593,0 +586,0 @@ id: number; |
@@ -237,2 +237,3 @@ /** | ||
language_code: String(u.language_code ?? ""), | ||
is_premium: Boolean(u.is_premium ?? ""), | ||
}; | ||
@@ -239,0 +240,0 @@ } |
{ | ||
"name": "telegram-bot-api-nodejs", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Telegram Bot API client for nodejs", | ||
@@ -5,0 +5,0 @@ "type": "module", |
37679
1198