telegram-bot-api-nodejs 1.0.75 → 1.0.76

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 +7 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -244,6 +244,12 @@ export interface Giveaway {
244
244
  prize_star_count?: number;
245
245
  premium_subscription_month_count?: number;
246
246
  }
247
+ export interface GiveawayWinners {
248
+ winner_count?: number;
249
+ prize_star_count?: number;
250
+ prize_description?: string;
251
+ winners_selection_date?: string;
252
+ }
247
253
  export interface VideoChatScheduled {
248
254
  start_date: number;
249
255
  }
@@ -321,6 +327,7 @@ export interface Message {
321
327
  general_forum_topic_hidden?: GeneralForumTopicHidden;
322
328
  general_forum_topic_unhidden?: GeneralForumTopicUnhidden;
323
329
  giveaway?: Giveaway;
330
+ giveaway_winners?: GiveawayWinners;
324
331
  video_chat_scheduled?: VideoChatScheduled;
325
332
  video_chat_started?: VideoChatStarted;
326
333
  video_chat_ended?: VideoChatEnded;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telegram-bot-api-nodejs",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "Telegram Bot API client for nodejs",
5
5
  "type": "module",
6
6
  "main": "index.js",