telegram-bot-api-nodejs 1.0.19 → 1.0.20
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 +5 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -194,6 +194,7 @@ export interface Message {
|
|
|
194
194
|
game?: Game;
|
|
195
195
|
photo?: PhotoSize[];
|
|
196
196
|
sticker?: Sticker;
|
|
197
|
+
story?: Story;
|
|
197
198
|
video?: Video;
|
|
198
199
|
voice?: Voice;
|
|
199
200
|
video_note?: VideoNote;
|
|
@@ -299,6 +300,10 @@ export interface Document extends FileBase {
|
|
|
299
300
|
mime_type?: string;
|
|
300
301
|
file_size?: number;
|
|
301
302
|
}
|
|
303
|
+
export interface Story {
|
|
304
|
+
chat: Chat;
|
|
305
|
+
id: number;
|
|
306
|
+
}
|
|
302
307
|
export interface Video extends FileBase {
|
|
303
308
|
width: number;
|
|
304
309
|
height: number;
|