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.
Files changed (2) hide show
  1. package/index.d.ts +5 -0
  2. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telegram-bot-api-nodejs",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Telegram Bot API client for nodejs",
5
5
  "type": "module",
6
6
  "main": "index.js",