telegram-bot-api-nodejs 1.0.21 → 1.0.22

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 +15 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -164,6 +164,17 @@ interface GeneralForumTopicHidden {
164
164
  }
165
165
  interface GeneralForumTopicUnhidden {
166
166
  }
167
+ interface VideoChatScheduled {
168
+ start_date: number;
169
+ }
170
+ interface VideoChatStarted {
171
+ }
172
+ interface VideoChatEnded {
173
+ duration: number;
174
+ }
175
+ interface VideoChatParticipantsInvited {
176
+ users: User[];
177
+ }
167
178
  /**
168
179
  * @docs https://core.telegram.org/bots/api#message
169
180
  */
@@ -226,6 +237,10 @@ export interface Message {
226
237
  forum_topic_reopened?: ForumTopicReopened;
227
238
  general_forum_topic_hidden?: GeneralForumTopicHidden;
228
239
  general_forum_topic_unhidden?: GeneralForumTopicUnhidden;
240
+ video_chat_scheduled: VideoChatScheduled;
241
+ video_chat_started: VideoChatStarted;
242
+ video_chat_ended: VideoChatEnded;
243
+ video_chat_participants_invited: VideoChatParticipantsInvited;
229
244
  }
230
245
  export interface MessageReactionUpdated {
231
246
  chat: Chat;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telegram-bot-api-nodejs",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Telegram Bot API client for nodejs",
5
5
  "type": "module",
6
6
  "main": "index.js",