telegram-bot-api-nodejs 1.0.76 → 1.0.78
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 +21 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -245,10 +245,27 @@ export interface Giveaway {
|
|
|
245
245
|
premium_subscription_month_count?: number;
|
|
246
246
|
}
|
|
247
247
|
export interface GiveawayWinners {
|
|
248
|
-
|
|
248
|
+
chat: Chat;
|
|
249
|
+
giveaway_message_id: number;
|
|
250
|
+
winners_selection_date: number;
|
|
251
|
+
winner_count: number;
|
|
252
|
+
winners: User[];
|
|
253
|
+
additional_chat_count?: number;
|
|
249
254
|
prize_star_count?: number;
|
|
255
|
+
premium_subscription_month_count?: number;
|
|
256
|
+
unclaimed_prize_count?: number;
|
|
257
|
+
only_new_members?: boolean;
|
|
258
|
+
was_refunded?: boolean;
|
|
250
259
|
prize_description?: string;
|
|
251
|
-
|
|
260
|
+
}
|
|
261
|
+
export interface GiveawayCompleted {
|
|
262
|
+
winner_count: number;
|
|
263
|
+
unclaimed_prize_count?: number;
|
|
264
|
+
giveaway_message?: Message;
|
|
265
|
+
is_star_giveaway?: boolean;
|
|
266
|
+
}
|
|
267
|
+
export interface PaidMessagePriceChanged {
|
|
268
|
+
paid_message_star_count: number;
|
|
252
269
|
}
|
|
253
270
|
export interface VideoChatScheduled {
|
|
254
271
|
start_date: number;
|
|
@@ -328,6 +345,8 @@ export interface Message {
|
|
|
328
345
|
general_forum_topic_unhidden?: GeneralForumTopicUnhidden;
|
|
329
346
|
giveaway?: Giveaway;
|
|
330
347
|
giveaway_winners?: GiveawayWinners;
|
|
348
|
+
giveaway_completed: GiveawayCompleted;
|
|
349
|
+
paid_message_price_changed: PaidMessagePriceChanged;
|
|
331
350
|
video_chat_scheduled?: VideoChatScheduled;
|
|
332
351
|
video_chat_started?: VideoChatStarted;
|
|
333
352
|
video_chat_ended?: VideoChatEnded;
|