telegram-bot-api-nodejs 1.2.12 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -347,6 +347,8 @@ export interface Message {
|
|
|
347
347
|
poll?: Poll;
|
|
348
348
|
new_chat_members?: User[];
|
|
349
349
|
left_chat_member?: User;
|
|
350
|
+
chat_owner_left?: ChatOwnerLeft;
|
|
351
|
+
chat_owner_changed?: ChatOwnerChanged;
|
|
350
352
|
new_chat_title?: string;
|
|
351
353
|
new_chat_photo?: PhotoSize[];
|
|
352
354
|
delete_chat_photo?: boolean;
|
|
@@ -411,6 +413,12 @@ export interface ChatBoostRemoved {
|
|
|
411
413
|
remove_date: number;
|
|
412
414
|
source: ChatBoostSource;
|
|
413
415
|
}
|
|
416
|
+
export interface ChatOwnerLeft {
|
|
417
|
+
new_owner?: User;
|
|
418
|
+
}
|
|
419
|
+
export interface ChatOwnerChanged {
|
|
420
|
+
new_owner: User;
|
|
421
|
+
}
|
|
414
422
|
export interface BusinessConnection {
|
|
415
423
|
id: string;
|
|
416
424
|
user: User;
|