@effect-ak/tg-bot-client 0.6.2 → 0.6.4

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/dist/bot.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as effect_Types from 'effect/Types';
2
- import { A as Api, U as Update, a as TgBotApiToken, T as TgBotClientError } from './config-BFdBOrJI.js';
2
+ import { A as Api, U as Update, a as TgBotApiToken, T as TgBotClientError } from './config-3uU0YevV.js';
3
3
  import * as effect_Cause from 'effect/Cause';
4
4
  import * as Micro from 'effect/Micro';
5
5
  import * as Data from 'effect/Data';
@@ -187,6 +187,7 @@ interface Chat {
187
187
  first_name?: string;
188
188
  last_name?: string;
189
189
  is_forum?: boolean;
190
+ is_direct_messages?: boolean;
190
191
  }
191
192
  interface ChatAdministratorRights {
192
193
  is_anonymous: boolean;
@@ -204,6 +205,7 @@ interface ChatAdministratorRights {
204
205
  can_edit_messages?: boolean;
205
206
  can_pin_messages?: boolean;
206
207
  can_manage_topics?: boolean;
208
+ can_manage_direct_messages?: boolean;
207
209
  }
208
210
  interface ChatBackground {
209
211
  type: BackgroundType;
@@ -254,6 +256,7 @@ interface ChatFullInfo {
254
256
  first_name?: string;
255
257
  last_name?: string;
256
258
  is_forum?: boolean;
259
+ is_direct_messages?: boolean;
257
260
  photo?: ChatPhoto;
258
261
  active_usernames?: string[];
259
262
  birthdate?: Birthdate;
@@ -261,6 +264,7 @@ interface ChatFullInfo {
261
264
  business_location?: BusinessLocation;
262
265
  business_opening_hours?: BusinessOpeningHours;
263
266
  personal_chat?: Chat;
267
+ parent_chat?: Chat;
264
268
  available_reactions?: ReactionType[];
265
269
  background_custom_emoji_id?: string;
266
270
  profile_accent_color_id?: number;
@@ -335,6 +339,7 @@ interface ChatMemberAdministrator {
335
339
  can_edit_messages?: boolean;
336
340
  can_pin_messages?: boolean;
337
341
  can_manage_topics?: boolean;
342
+ can_manage_direct_messages?: boolean;
338
343
  custom_title?: string;
339
344
  }
340
345
  interface ChatMemberBanned {
@@ -416,6 +421,29 @@ interface ChatShared {
416
421
  username?: string;
417
422
  photo?: PhotoSize[];
418
423
  }
424
+ interface Checklist {
425
+ title: string;
426
+ tasks: ChecklistTask[];
427
+ title_entities?: MessageEntity[];
428
+ others_can_add_tasks?: boolean;
429
+ others_can_mark_tasks_as_done?: boolean;
430
+ }
431
+ interface ChecklistTask {
432
+ id: number;
433
+ text: string;
434
+ text_entities?: MessageEntity[];
435
+ completed_by_user?: User;
436
+ completion_date?: number;
437
+ }
438
+ interface ChecklistTasksAdded {
439
+ tasks: ChecklistTask[];
440
+ checklist_message?: Message;
441
+ }
442
+ interface ChecklistTasksDone {
443
+ checklist_message?: Message;
444
+ marked_as_done_task_ids?: number[];
445
+ marked_as_not_done_task_ids?: number[];
446
+ }
419
447
  interface ChosenInlineResult {
420
448
  result_id: string;
421
449
  from: User;
@@ -437,6 +465,14 @@ interface Dice {
437
465
  emoji: string;
438
466
  value: number;
439
467
  }
468
+ interface DirectMessagePriceChanged {
469
+ are_direct_messages_enabled: boolean;
470
+ direct_message_star_count?: number;
471
+ }
472
+ interface DirectMessagesTopic {
473
+ topic_id: number;
474
+ user?: User;
475
+ }
440
476
  interface Document {
441
477
  file_id: string;
442
478
  file_unique_id: string;
@@ -478,6 +514,7 @@ interface ExternalReplyInfo {
478
514
  video_note?: VideoNote;
479
515
  voice?: Voice;
480
516
  has_media_spoiler?: boolean;
517
+ checklist?: Checklist;
481
518
  contact?: Contact;
482
519
  dice?: Dice;
483
520
  game?: Game;
@@ -538,6 +575,7 @@ interface Gift {
538
575
  upgrade_star_count?: number;
539
576
  total_count?: number;
540
577
  remaining_count?: number;
578
+ publisher_chat?: Chat;
541
579
  }
542
580
  interface GiftInfo {
543
581
  gift: Gift;
@@ -884,6 +922,20 @@ interface InlineQueryResultVoice {
884
922
  reply_markup?: InlineKeyboardMarkup;
885
923
  input_message_content?: InputMessageContent;
886
924
  }
925
+ interface InputChecklist {
926
+ title: string;
927
+ tasks: InputChecklistTask[];
928
+ parse_mode?: "HTML" | "MarkdownV2";
929
+ title_entities?: MessageEntity[];
930
+ others_can_add_tasks?: boolean;
931
+ others_can_mark_tasks_as_done?: boolean;
932
+ }
933
+ interface InputChecklistTask {
934
+ id: number;
935
+ text: string;
936
+ parse_mode?: "HTML" | "MarkdownV2";
937
+ text_entities?: MessageEntity[];
938
+ }
887
939
  interface InputContactMessageContent {
888
940
  phone_number: string;
889
941
  first_name: string;
@@ -1146,6 +1198,7 @@ interface Message {
1146
1198
  date: number;
1147
1199
  chat: Chat;
1148
1200
  message_thread_id?: number;
1201
+ direct_messages_topic?: DirectMessagesTopic;
1149
1202
  from?: User;
1150
1203
  sender_chat?: Chat;
1151
1204
  sender_boost_count?: number;
@@ -1158,16 +1211,19 @@ interface Message {
1158
1211
  external_reply?: ExternalReplyInfo;
1159
1212
  quote?: TextQuote;
1160
1213
  reply_to_story?: Story;
1214
+ reply_to_checklist_task_id?: number;
1161
1215
  via_bot?: User;
1162
1216
  edit_date?: number;
1163
1217
  has_protected_content?: boolean;
1164
1218
  is_from_offline?: boolean;
1219
+ is_paid_post?: boolean;
1165
1220
  media_group_id?: string;
1166
1221
  author_signature?: string;
1167
1222
  paid_star_count?: number;
1168
1223
  text?: string;
1169
1224
  entities?: MessageEntity[];
1170
1225
  link_preview_options?: LinkPreviewOptions;
1226
+ suggested_post_info?: SuggestedPostInfo;
1171
1227
  effect_id?: string;
1172
1228
  animation?: Animation;
1173
1229
  audio?: Audio;
@@ -1183,6 +1239,7 @@ interface Message {
1183
1239
  caption_entities?: MessageEntity[];
1184
1240
  show_caption_above_media?: boolean;
1185
1241
  has_media_spoiler?: boolean;
1242
+ checklist?: Checklist;
1186
1243
  contact?: Contact;
1187
1244
  dice?: Dice;
1188
1245
  game?: Game;
@@ -1214,6 +1271,9 @@ interface Message {
1214
1271
  proximity_alert_triggered?: ProximityAlertTriggered;
1215
1272
  boost_added?: ChatBoostAdded;
1216
1273
  chat_background_set?: ChatBackground;
1274
+ checklist_tasks_done?: ChecklistTasksDone;
1275
+ checklist_tasks_added?: ChecklistTasksAdded;
1276
+ direct_message_price_changed?: DirectMessagePriceChanged;
1217
1277
  forum_topic_created?: ForumTopicCreated;
1218
1278
  forum_topic_edited?: ForumTopicEdited;
1219
1279
  forum_topic_closed?: ForumTopicClosed;
@@ -1225,6 +1285,11 @@ interface Message {
1225
1285
  giveaway_winners?: GiveawayWinners;
1226
1286
  giveaway_completed?: GiveawayCompleted;
1227
1287
  paid_message_price_changed?: PaidMessagePriceChanged;
1288
+ suggested_post_approved?: SuggestedPostApproved;
1289
+ suggested_post_approval_failed?: SuggestedPostApprovalFailed;
1290
+ suggested_post_declined?: SuggestedPostDeclined;
1291
+ suggested_post_paid?: SuggestedPostPaid;
1292
+ suggested_post_refunded?: SuggestedPostRefunded;
1228
1293
  video_chat_scheduled?: VideoChatScheduled;
1229
1294
  video_chat_started?: VideoChatStarted;
1230
1295
  video_chat_ended?: VideoChatEnded;
@@ -1322,6 +1387,7 @@ interface OwnedGiftUnique {
1322
1387
  is_saved?: boolean;
1323
1388
  can_be_transferred?: boolean;
1324
1389
  transfer_star_count?: number;
1390
+ next_transfer_date?: number;
1325
1391
  }
1326
1392
  type PaidMedia = PaidMediaPreview | PaidMediaPhoto | PaidMediaVideo;
1327
1393
  interface PaidMediaInfo {
@@ -1478,7 +1544,7 @@ interface ReactionTypeCustomEmoji {
1478
1544
  }
1479
1545
  interface ReactionTypeEmoji {
1480
1546
  type: "emoji";
1481
- emoji: "👍" | "👎" | "" | "🔥" | "🥰" | "👏" | "😁" | "🤔" | "🤯" | "😱" | "🤬" | "😢" | "🎉" | "🤩" | "🤮" | "💩" | "🙏" | "👌" | "🕊" | "🤡" | "🥱" | "🥴" | "😍" | "🐳" | "❤‍🔥" | "🌚" | "🌭" | "💯" | "🤣" | "⚡" | "🍌" | "🏆" | "💔" | "🤨" | "😐" | "🍓" | "🍾" | "💋" | "🖕" | "😈" | "😴" | "😭" | "🤓" | "👻" | "👨‍💻" | "👀" | "🎃" | "🙈" | "😇" | "😨" | "🤝" | "✍" | "🤗" | "🫡" | "🎅" | "🎄" | "☃" | "💅" | "🤪" | "🗿" | "🆒" | "💘" | "🙉" | "🦄" | "😘" | "💊" | "🙊" | "😎" | "👾" | "🤷‍♂" | "🤷" | "🤷‍♀" | "😡";
1547
+ emoji: "" | "👍" | "👎" | "🔥" | "🥰" | "👏" | "😁" | "🤔" | "🤯" | "😱" | "🤬" | "😢" | "🎉" | "🤩" | "🤮" | "💩" | "🙏" | "👌" | "🕊" | "🤡" | "🥱" | "🥴" | "😍" | "🐳" | "❤‍🔥" | "🌚" | "🌭" | "💯" | "🤣" | "⚡" | "🍌" | "🏆" | "💔" | "🤨" | "😐" | "🍓" | "🍾" | "💋" | "🖕" | "😈" | "😴" | "😭" | "🤓" | "👻" | "👨‍💻" | "👀" | "🎃" | "🙈" | "😇" | "😨" | "🤝" | "✍" | "🤗" | "🫡" | "🎅" | "🎄" | "☃" | "💅" | "🤪" | "🗿" | "🆒" | "💘" | "🙉" | "🦄" | "😘" | "💊" | "🙊" | "😎" | "👾" | "🤷‍♂" | "🤷" | "🤷‍♀" | "😡";
1482
1548
  }
1483
1549
  interface ReactionTypePaid {
1484
1550
  type: "paid";
@@ -1510,6 +1576,7 @@ interface ReplyParameters {
1510
1576
  quote_parse_mode?: "HTML" | "MarkdownV2";
1511
1577
  quote_entities?: MessageEntity[];
1512
1578
  quote_position?: number;
1579
+ checklist_task_id?: number;
1513
1580
  }
1514
1581
  interface ResponseParameters {
1515
1582
  migrate_to_chat_id?: number;
@@ -1650,6 +1717,42 @@ interface SuccessfulPayment {
1650
1717
  shipping_option_id?: string;
1651
1718
  order_info?: OrderInfo;
1652
1719
  }
1720
+ interface SuggestedPostApprovalFailed {
1721
+ price: SuggestedPostPrice;
1722
+ suggested_post_message?: Message;
1723
+ }
1724
+ interface SuggestedPostApproved {
1725
+ send_date: number;
1726
+ suggested_post_message?: Message;
1727
+ price?: SuggestedPostPrice;
1728
+ }
1729
+ interface SuggestedPostDeclined {
1730
+ suggested_post_message?: Message;
1731
+ comment?: string;
1732
+ }
1733
+ interface SuggestedPostInfo {
1734
+ state: "pending" | "approved" | "declined";
1735
+ price?: SuggestedPostPrice;
1736
+ send_date?: number;
1737
+ }
1738
+ interface SuggestedPostPaid {
1739
+ currency: "XTR" | "TON";
1740
+ suggested_post_message?: Message;
1741
+ amount?: number;
1742
+ star_amount?: StarAmount;
1743
+ }
1744
+ interface SuggestedPostParameters {
1745
+ price?: SuggestedPostPrice;
1746
+ send_date?: number;
1747
+ }
1748
+ interface SuggestedPostPrice {
1749
+ currency: "XTR" | "TON";
1750
+ amount: number;
1751
+ }
1752
+ interface SuggestedPostRefunded {
1753
+ reason: "post_deleted" | "payment_refunded";
1754
+ suggested_post_message?: Message;
1755
+ }
1653
1756
  interface SwitchInlineQueryChosenChat {
1654
1757
  query?: string;
1655
1758
  allow_user_chats?: boolean;
@@ -1707,6 +1810,7 @@ interface UniqueGift {
1707
1810
  model: UniqueGiftModel;
1708
1811
  symbol: UniqueGiftSymbol;
1709
1812
  backdrop: UniqueGiftBackdrop;
1813
+ publisher_chat?: Chat;
1710
1814
  }
1711
1815
  interface UniqueGiftBackdrop {
1712
1816
  name: string;
@@ -1722,8 +1826,10 @@ interface UniqueGiftBackdropColors {
1722
1826
  interface UniqueGiftInfo {
1723
1827
  gift: UniqueGift;
1724
1828
  origin: string;
1829
+ last_resale_star_count?: number;
1725
1830
  owned_gift_id?: string;
1726
1831
  transfer_star_count?: number;
1832
+ next_transfer_date?: number;
1727
1833
  }
1728
1834
  interface UniqueGiftModel {
1729
1835
  name: string;
@@ -1866,6 +1972,7 @@ interface Api {
1866
1972
  answer_shipping_query(_: AnswerShippingQueryInput): boolean;
1867
1973
  answer_web_app_query(_: AnswerWebAppQueryInput): SentWebAppMessage;
1868
1974
  approve_chat_join_request(_: ApproveChatJoinRequestInput): boolean;
1975
+ approve_suggested_post(_: ApproveSuggestedPostInput): boolean;
1869
1976
  ban_chat_member(_: BanChatMemberInput): boolean;
1870
1977
  ban_chat_sender_chat(_: BanChatSenderChatInput): boolean;
1871
1978
  close(_: CloseInput): boolean;
@@ -1880,6 +1987,7 @@ interface Api {
1880
1987
  create_invoice_link(_: CreateInvoiceLinkInput): string;
1881
1988
  create_new_sticker_set(_: CreateNewStickerSetInput): boolean;
1882
1989
  decline_chat_join_request(_: DeclineChatJoinRequestInput): boolean;
1990
+ decline_suggested_post(_: DeclineSuggestedPostInput): boolean;
1883
1991
  delete_business_messages(_: DeleteBusinessMessagesInput): boolean;
1884
1992
  delete_chat_photo(_: DeleteChatPhotoInput): boolean;
1885
1993
  delete_chat_sticker_set(_: DeleteChatStickerSetInput): boolean;
@@ -1896,6 +2004,7 @@ interface Api {
1896
2004
  edit_forum_topic(_: EditForumTopicInput): boolean;
1897
2005
  edit_general_forum_topic(_: EditGeneralForumTopicInput): boolean;
1898
2006
  edit_message_caption(_: EditMessageCaptionInput): Message | boolean;
2007
+ edit_message_checklist(_: EditMessageChecklistInput): Message;
1899
2008
  edit_message_live_location(_: EditMessageLiveLocationInput): Message | boolean;
1900
2009
  edit_message_media(_: EditMessageMediaInput): Message | boolean;
1901
2010
  edit_message_reply_markup(_: EditMessageReplyMarkupInput): Message | boolean;
@@ -1924,6 +2033,7 @@ interface Api {
1924
2033
  get_my_description(_: GetMyDescriptionInput): BotDescription;
1925
2034
  get_my_name(_: GetMyNameInput): BotName;
1926
2035
  get_my_short_description(_: GetMyShortDescriptionInput): BotShortDescription;
2036
+ get_my_star_balance(_: GetMyStarBalanceInput): StarAmount;
1927
2037
  get_star_transactions(_: GetStarTransactionsInput): StarTransactions;
1928
2038
  get_sticker_set(_: GetStickerSetInput): StickerSet;
1929
2039
  get_updates(_: GetUpdatesInput): Update[];
@@ -1951,6 +2061,7 @@ interface Api {
1951
2061
  send_animation(_: SendAnimationInput): Message;
1952
2062
  send_audio(_: SendAudioInput): Message;
1953
2063
  send_chat_action(_: SendChatActionInput): boolean;
2064
+ send_checklist(_: SendChecklistInput): Message;
1954
2065
  send_contact(_: SendContactInput): Message;
1955
2066
  send_dice(_: SendDiceInput): Message;
1956
2067
  send_document(_: SendDocumentInput): Message;
@@ -2052,6 +2163,11 @@ interface ApproveChatJoinRequestInput {
2052
2163
  chat_id: number | string;
2053
2164
  user_id: number;
2054
2165
  }
2166
+ interface ApproveSuggestedPostInput {
2167
+ chat_id: number;
2168
+ message_id: number;
2169
+ send_date?: number;
2170
+ }
2055
2171
  interface BanChatMemberInput {
2056
2172
  chat_id: number | string;
2057
2173
  user_id: number;
@@ -2080,6 +2196,7 @@ interface CopyMessageInput {
2080
2196
  from_chat_id: number | string;
2081
2197
  message_id: number;
2082
2198
  message_thread_id?: number;
2199
+ direct_messages_topic_id?: number;
2083
2200
  video_start_timestamp?: number;
2084
2201
  caption?: string;
2085
2202
  parse_mode?: "HTML" | "MarkdownV2";
@@ -2088,6 +2205,7 @@ interface CopyMessageInput {
2088
2205
  disable_notification?: boolean;
2089
2206
  protect_content?: boolean;
2090
2207
  allow_paid_broadcast?: boolean;
2208
+ suggested_post_parameters?: SuggestedPostParameters;
2091
2209
  reply_parameters?: ReplyParameters;
2092
2210
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2093
2211
  }
@@ -2096,6 +2214,7 @@ interface CopyMessagesInput {
2096
2214
  from_chat_id: number | string;
2097
2215
  message_ids: number[];
2098
2216
  message_thread_id?: number;
2217
+ direct_messages_topic_id?: number;
2099
2218
  disable_notification?: boolean;
2100
2219
  protect_content?: boolean;
2101
2220
  remove_caption?: boolean;
@@ -2155,6 +2274,11 @@ interface DeclineChatJoinRequestInput {
2155
2274
  chat_id: number | string;
2156
2275
  user_id: number;
2157
2276
  }
2277
+ interface DeclineSuggestedPostInput {
2278
+ chat_id: number;
2279
+ message_id: number;
2280
+ comment?: string;
2281
+ }
2158
2282
  interface DeleteBusinessMessagesInput {
2159
2283
  business_connection_id: string;
2160
2284
  message_ids: number[];
@@ -2228,6 +2352,13 @@ interface EditMessageCaptionInput {
2228
2352
  show_caption_above_media?: boolean;
2229
2353
  reply_markup?: InlineKeyboardMarkup;
2230
2354
  }
2355
+ interface EditMessageChecklistInput {
2356
+ business_connection_id: string;
2357
+ chat_id: number;
2358
+ message_id: number;
2359
+ checklist: InputChecklist;
2360
+ reply_markup?: InlineKeyboardMarkup;
2361
+ }
2231
2362
  interface EditMessageLiveLocationInput {
2232
2363
  latitude: number;
2233
2364
  longitude: number;
@@ -2289,15 +2420,18 @@ interface ForwardMessageInput {
2289
2420
  from_chat_id: number | string;
2290
2421
  message_id: number;
2291
2422
  message_thread_id?: number;
2423
+ direct_messages_topic_id?: number;
2292
2424
  video_start_timestamp?: number;
2293
2425
  disable_notification?: boolean;
2294
2426
  protect_content?: boolean;
2427
+ suggested_post_parameters?: SuggestedPostParameters;
2295
2428
  }
2296
2429
  interface ForwardMessagesInput {
2297
2430
  chat_id: number | string;
2298
2431
  from_chat_id: number | string;
2299
2432
  message_ids: number[];
2300
2433
  message_thread_id?: number;
2434
+ direct_messages_topic_id?: number;
2301
2435
  disable_notification?: boolean;
2302
2436
  protect_content?: boolean;
2303
2437
  }
@@ -2368,6 +2502,8 @@ interface GetMyNameInput {
2368
2502
  interface GetMyShortDescriptionInput {
2369
2503
  language_code?: string;
2370
2504
  }
2505
+ interface GetMyStarBalanceInput {
2506
+ }
2371
2507
  interface GetStarTransactionsInput {
2372
2508
  offset?: number;
2373
2509
  limit?: number;
@@ -2443,6 +2579,7 @@ interface PromoteChatMemberInput {
2443
2579
  can_edit_messages?: boolean;
2444
2580
  can_pin_messages?: boolean;
2445
2581
  can_manage_topics?: boolean;
2582
+ can_manage_direct_messages?: boolean;
2446
2583
  }
2447
2584
  interface ReadBusinessMessageInput {
2448
2585
  business_connection_id: string;
@@ -2500,6 +2637,7 @@ interface SendAnimationInput {
2500
2637
  animation: InputFile | string;
2501
2638
  business_connection_id?: string;
2502
2639
  message_thread_id?: number;
2640
+ direct_messages_topic_id?: number;
2503
2641
  duration?: number;
2504
2642
  width?: number;
2505
2643
  height?: number;
@@ -2513,6 +2651,7 @@ interface SendAnimationInput {
2513
2651
  protect_content?: boolean;
2514
2652
  allow_paid_broadcast?: boolean;
2515
2653
  message_effect_id?: string;
2654
+ suggested_post_parameters?: SuggestedPostParameters;
2516
2655
  reply_parameters?: ReplyParameters;
2517
2656
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2518
2657
  }
@@ -2521,6 +2660,7 @@ interface SendAudioInput {
2521
2660
  audio: InputFile | string;
2522
2661
  business_connection_id?: string;
2523
2662
  message_thread_id?: number;
2663
+ direct_messages_topic_id?: number;
2524
2664
  caption?: string;
2525
2665
  parse_mode?: "HTML" | "MarkdownV2";
2526
2666
  caption_entities?: MessageEntity[];
@@ -2532,6 +2672,7 @@ interface SendAudioInput {
2532
2672
  protect_content?: boolean;
2533
2673
  allow_paid_broadcast?: boolean;
2534
2674
  message_effect_id?: string;
2675
+ suggested_post_parameters?: SuggestedPostParameters;
2535
2676
  reply_parameters?: ReplyParameters;
2536
2677
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2537
2678
  }
@@ -2541,18 +2682,30 @@ interface SendChatActionInput {
2541
2682
  business_connection_id?: string;
2542
2683
  message_thread_id?: number;
2543
2684
  }
2685
+ interface SendChecklistInput {
2686
+ business_connection_id: string;
2687
+ chat_id: number;
2688
+ checklist: InputChecklist;
2689
+ disable_notification?: boolean;
2690
+ protect_content?: boolean;
2691
+ message_effect_id?: string;
2692
+ reply_parameters?: ReplyParameters;
2693
+ reply_markup?: InlineKeyboardMarkup;
2694
+ }
2544
2695
  interface SendContactInput {
2545
2696
  chat_id: number | string;
2546
2697
  phone_number: string;
2547
2698
  first_name: string;
2548
2699
  business_connection_id?: string;
2549
2700
  message_thread_id?: number;
2701
+ direct_messages_topic_id?: number;
2550
2702
  last_name?: string;
2551
2703
  vcard?: string;
2552
2704
  disable_notification?: boolean;
2553
2705
  protect_content?: boolean;
2554
2706
  allow_paid_broadcast?: boolean;
2555
2707
  message_effect_id?: string;
2708
+ suggested_post_parameters?: SuggestedPostParameters;
2556
2709
  reply_parameters?: ReplyParameters;
2557
2710
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2558
2711
  }
@@ -2560,11 +2713,13 @@ interface SendDiceInput {
2560
2713
  chat_id: number | string;
2561
2714
  business_connection_id?: string;
2562
2715
  message_thread_id?: number;
2716
+ direct_messages_topic_id?: number;
2563
2717
  emoji?: "🎲" | "🎯" | "🏀" | "⚽" | "🎳" | "🎰";
2564
2718
  disable_notification?: boolean;
2565
2719
  protect_content?: boolean;
2566
2720
  allow_paid_broadcast?: boolean;
2567
2721
  message_effect_id?: string;
2722
+ suggested_post_parameters?: SuggestedPostParameters;
2568
2723
  reply_parameters?: ReplyParameters;
2569
2724
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2570
2725
  }
@@ -2573,6 +2728,7 @@ interface SendDocumentInput {
2573
2728
  document: InputFile | string;
2574
2729
  business_connection_id?: string;
2575
2730
  message_thread_id?: number;
2731
+ direct_messages_topic_id?: number;
2576
2732
  thumbnail?: InputFile | string;
2577
2733
  caption?: string;
2578
2734
  parse_mode?: "HTML" | "MarkdownV2";
@@ -2582,6 +2738,7 @@ interface SendDocumentInput {
2582
2738
  protect_content?: boolean;
2583
2739
  allow_paid_broadcast?: boolean;
2584
2740
  message_effect_id?: string;
2741
+ suggested_post_parameters?: SuggestedPostParameters;
2585
2742
  reply_parameters?: ReplyParameters;
2586
2743
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2587
2744
  }
@@ -2614,6 +2771,7 @@ interface SendInvoiceInput {
2614
2771
  currency: string;
2615
2772
  prices: LabeledPrice[];
2616
2773
  message_thread_id?: number;
2774
+ direct_messages_topic_id?: number;
2617
2775
  provider_token?: string;
2618
2776
  max_tip_amount?: number;
2619
2777
  suggested_tip_amounts?: number[];
@@ -2634,6 +2792,7 @@ interface SendInvoiceInput {
2634
2792
  protect_content?: boolean;
2635
2793
  allow_paid_broadcast?: boolean;
2636
2794
  message_effect_id?: string;
2795
+ suggested_post_parameters?: SuggestedPostParameters;
2637
2796
  reply_parameters?: ReplyParameters;
2638
2797
  reply_markup?: InlineKeyboardMarkup;
2639
2798
  }
@@ -2643,6 +2802,7 @@ interface SendLocationInput {
2643
2802
  longitude: number;
2644
2803
  business_connection_id?: string;
2645
2804
  message_thread_id?: number;
2805
+ direct_messages_topic_id?: number;
2646
2806
  horizontal_accuracy?: number;
2647
2807
  live_period?: number;
2648
2808
  heading?: number;
@@ -2651,6 +2811,7 @@ interface SendLocationInput {
2651
2811
  protect_content?: boolean;
2652
2812
  allow_paid_broadcast?: boolean;
2653
2813
  message_effect_id?: string;
2814
+ suggested_post_parameters?: SuggestedPostParameters;
2654
2815
  reply_parameters?: ReplyParameters;
2655
2816
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2656
2817
  }
@@ -2659,6 +2820,7 @@ interface SendMediaGroupInput {
2659
2820
  media: (InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo)[];
2660
2821
  business_connection_id?: string;
2661
2822
  message_thread_id?: number;
2823
+ direct_messages_topic_id?: number;
2662
2824
  disable_notification?: boolean;
2663
2825
  protect_content?: boolean;
2664
2826
  allow_paid_broadcast?: boolean;
@@ -2670,6 +2832,7 @@ interface SendMessageInput {
2670
2832
  text: string;
2671
2833
  business_connection_id?: string;
2672
2834
  message_thread_id?: number;
2835
+ direct_messages_topic_id?: number;
2673
2836
  parse_mode?: "HTML" | "MarkdownV2";
2674
2837
  entities?: MessageEntity[];
2675
2838
  link_preview_options?: LinkPreviewOptions;
@@ -2677,6 +2840,7 @@ interface SendMessageInput {
2677
2840
  protect_content?: boolean;
2678
2841
  allow_paid_broadcast?: boolean;
2679
2842
  message_effect_id?: string;
2843
+ suggested_post_parameters?: SuggestedPostParameters;
2680
2844
  reply_parameters?: ReplyParameters;
2681
2845
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2682
2846
  }
@@ -2685,6 +2849,8 @@ interface SendPaidMediaInput {
2685
2849
  star_count: number;
2686
2850
  media: InputPaidMedia[];
2687
2851
  business_connection_id?: string;
2852
+ message_thread_id?: number;
2853
+ direct_messages_topic_id?: number;
2688
2854
  payload?: string;
2689
2855
  caption?: string;
2690
2856
  parse_mode?: "HTML" | "MarkdownV2";
@@ -2693,6 +2859,7 @@ interface SendPaidMediaInput {
2693
2859
  disable_notification?: boolean;
2694
2860
  protect_content?: boolean;
2695
2861
  allow_paid_broadcast?: boolean;
2862
+ suggested_post_parameters?: SuggestedPostParameters;
2696
2863
  reply_parameters?: ReplyParameters;
2697
2864
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2698
2865
  }
@@ -2701,6 +2868,7 @@ interface SendPhotoInput {
2701
2868
  photo: InputFile | string;
2702
2869
  business_connection_id?: string;
2703
2870
  message_thread_id?: number;
2871
+ direct_messages_topic_id?: number;
2704
2872
  caption?: string;
2705
2873
  parse_mode?: "HTML" | "MarkdownV2";
2706
2874
  caption_entities?: MessageEntity[];
@@ -2710,6 +2878,7 @@ interface SendPhotoInput {
2710
2878
  protect_content?: boolean;
2711
2879
  allow_paid_broadcast?: boolean;
2712
2880
  message_effect_id?: string;
2881
+ suggested_post_parameters?: SuggestedPostParameters;
2713
2882
  reply_parameters?: ReplyParameters;
2714
2883
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2715
2884
  }
@@ -2743,11 +2912,13 @@ interface SendStickerInput {
2743
2912
  sticker: InputFile | string;
2744
2913
  business_connection_id?: string;
2745
2914
  message_thread_id?: number;
2915
+ direct_messages_topic_id?: number;
2746
2916
  emoji?: string;
2747
2917
  disable_notification?: boolean;
2748
2918
  protect_content?: boolean;
2749
2919
  allow_paid_broadcast?: boolean;
2750
2920
  message_effect_id?: string;
2921
+ suggested_post_parameters?: SuggestedPostParameters;
2751
2922
  reply_parameters?: ReplyParameters;
2752
2923
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2753
2924
  }
@@ -2759,6 +2930,7 @@ interface SendVenueInput {
2759
2930
  address: string;
2760
2931
  business_connection_id?: string;
2761
2932
  message_thread_id?: number;
2933
+ direct_messages_topic_id?: number;
2762
2934
  foursquare_id?: string;
2763
2935
  foursquare_type?: string;
2764
2936
  google_place_id?: string;
@@ -2767,6 +2939,7 @@ interface SendVenueInput {
2767
2939
  protect_content?: boolean;
2768
2940
  allow_paid_broadcast?: boolean;
2769
2941
  message_effect_id?: string;
2942
+ suggested_post_parameters?: SuggestedPostParameters;
2770
2943
  reply_parameters?: ReplyParameters;
2771
2944
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2772
2945
  }
@@ -2775,6 +2948,7 @@ interface SendVideoInput {
2775
2948
  video: InputFile | string;
2776
2949
  business_connection_id?: string;
2777
2950
  message_thread_id?: number;
2951
+ direct_messages_topic_id?: number;
2778
2952
  duration?: number;
2779
2953
  width?: number;
2780
2954
  height?: number;
@@ -2791,6 +2965,7 @@ interface SendVideoInput {
2791
2965
  protect_content?: boolean;
2792
2966
  allow_paid_broadcast?: boolean;
2793
2967
  message_effect_id?: string;
2968
+ suggested_post_parameters?: SuggestedPostParameters;
2794
2969
  reply_parameters?: ReplyParameters;
2795
2970
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2796
2971
  }
@@ -2799,6 +2974,7 @@ interface SendVideoNoteInput {
2799
2974
  video_note: InputFile | string;
2800
2975
  business_connection_id?: string;
2801
2976
  message_thread_id?: number;
2977
+ direct_messages_topic_id?: number;
2802
2978
  duration?: number;
2803
2979
  length?: number;
2804
2980
  thumbnail?: InputFile | string;
@@ -2806,6 +2982,7 @@ interface SendVideoNoteInput {
2806
2982
  protect_content?: boolean;
2807
2983
  allow_paid_broadcast?: boolean;
2808
2984
  message_effect_id?: string;
2985
+ suggested_post_parameters?: SuggestedPostParameters;
2809
2986
  reply_parameters?: ReplyParameters;
2810
2987
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2811
2988
  }
@@ -2814,6 +2991,7 @@ interface SendVoiceInput {
2814
2991
  voice: InputFile | string;
2815
2992
  business_connection_id?: string;
2816
2993
  message_thread_id?: number;
2994
+ direct_messages_topic_id?: number;
2817
2995
  caption?: string;
2818
2996
  parse_mode?: "HTML" | "MarkdownV2";
2819
2997
  caption_entities?: MessageEntity[];
@@ -2822,6 +3000,7 @@ interface SendVoiceInput {
2822
3000
  protect_content?: boolean;
2823
3001
  allow_paid_broadcast?: boolean;
2824
3002
  message_effect_id?: string;
3003
+ suggested_post_parameters?: SuggestedPostParameters;
2825
3004
  reply_parameters?: ReplyParameters;
2826
3005
  reply_markup?: InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply;
2827
3006
  }
@@ -3068,4 +3247,4 @@ declare const TgBotApiToken_base: Context.TagClass<TgBotApiToken, "TgBotApiToken
3068
3247
  declare class TgBotApiToken extends TgBotApiToken_base {
3069
3248
  }
3070
3249
 
3071
- export { type GetBusinessAccountStarBalanceInput as $, type Api as A, type BanChatMemberInput as B, type CloseInput as C, type DeclineChatJoinRequestInput as D, type DeleteMyCommandsInput as E, type DeleteStickerFromSetInput as F, type DeleteStickerSetInput as G, type DeleteStoryInput as H, type DeleteWebhookInput as I, type EditChatInviteLinkInput as J, type EditChatSubscriptionInviteLinkInput as K, type EditForumTopicInput as L, type EditGeneralForumTopicInput as M, type EditMessageCaptionInput as N, type EditMessageLiveLocationInput as O, type EditMessageMediaInput as P, type EditMessageReplyMarkupInput as Q, type EditMessageTextInput as R, type EditStoryInput as S, TgBotClientError as T, type Update as U, type EditUserStarSubscriptionInput as V, type ExportChatInviteLinkInput as W, type ForwardMessageInput as X, type ForwardMessagesInput as Y, type GetAvailableGiftsInput as Z, type GetBusinessAccountGiftsInput as _, TgBotApiToken as a, type SetBusinessAccountProfilePhotoInput as a$, type GetBusinessConnectionInput as a0, type GetChatInput as a1, type GetChatAdministratorsInput as a2, type GetChatMemberInput as a3, type GetChatMemberCountInput as a4, type GetChatMenuButtonInput as a5, type GetCustomEmojiStickersInput as a6, type GetFileInput as a7, type GetForumTopicIconStickersInput as a8, type GetGameHighScoresInput as a9, type ReplaceStickerInSetInput as aA, type RestrictChatMemberInput as aB, type RevokeChatInviteLinkInput as aC, type SavePreparedInlineMessageInput as aD, type SendAnimationInput as aE, type SendAudioInput as aF, type SendChatActionInput as aG, type SendContactInput as aH, type SendDiceInput as aI, type SendDocumentInput as aJ, type SendGameInput as aK, type SendGiftInput as aL, type SendInvoiceInput as aM, type SendLocationInput as aN, type SendMediaGroupInput as aO, type SendMessageInput as aP, type SendPaidMediaInput as aQ, type SendPhotoInput as aR, type SendPollInput as aS, type SendStickerInput as aT, type SendVenueInput as aU, type SendVideoInput as aV, type SendVideoNoteInput as aW, type SendVoiceInput as aX, type SetBusinessAccountBioInput as aY, type SetBusinessAccountGiftSettingsInput as aZ, type SetBusinessAccountNameInput as a_, type GetMeInput as aa, type GetMyCommandsInput as ab, type GetMyDefaultAdministratorRightsInput as ac, type GetMyDescriptionInput as ad, type GetMyNameInput as ae, type GetMyShortDescriptionInput as af, type GetStarTransactionsInput as ag, type GetStickerSetInput as ah, type GetUpdatesInput as ai, type GetUserChatBoostsInput as aj, type GetUserProfilePhotosInput as ak, type GetWebhookInfoInput as al, type GiftPremiumSubscriptionInput as am, type HideGeneralForumTopicInput as an, type LeaveChatInput as ao, type LogOutInput as ap, type PinChatMessageInput as aq, type PostStoryInput as ar, type PromoteChatMemberInput as as, type ReadBusinessMessageInput as at, type RefundStarPaymentInput as au, type RemoveBusinessAccountProfilePhotoInput as av, type RemoveChatVerificationInput as aw, type RemoveUserVerificationInput as ax, type ReopenForumTopicInput as ay, type ReopenGeneralForumTopicInput as az, TgBotApiBaseUrl as b, type BotCommandScopeDefault as b$, type SetBusinessAccountUsernameInput as b0, type SetChatAdministratorCustomTitleInput as b1, type SetChatDescriptionInput as b2, type SetChatMenuButtonInput as b3, type SetChatPermissionsInput as b4, type SetChatPhotoInput as b5, type SetChatStickerSetInput as b6, type SetChatTitleInput as b7, type SetCustomEmojiStickerSetThumbnailInput as b8, type SetGameScoreInput as b9, type UpgradeGiftInput as bA, type UploadStickerFileInput as bB, type VerifyChatInput as bC, type VerifyUserInput as bD, type AllowedUpdateName as bE, type AcceptedGiftTypes as bF, type AffiliateInfo as bG, type Animation as bH, type Audio as bI, type BackgroundFill as bJ, type BackgroundFillFreeformGradient as bK, type BackgroundFillGradient as bL, type BackgroundFillSolid as bM, type BackgroundType as bN, type BackgroundTypeChatTheme as bO, type BackgroundTypeFill as bP, type BackgroundTypePattern as bQ, type BackgroundTypeWallpaper as bR, type Birthdate as bS, type BotCommand as bT, type BotCommandScope as bU, type BotCommandScopeAllChatAdministrators as bV, type BotCommandScopeAllGroupChats as bW, type BotCommandScopeAllPrivateChats as bX, type BotCommandScopeChat as bY, type BotCommandScopeChatAdministrators as bZ, type BotCommandScopeChatMember as b_, type SetMessageReactionInput as ba, type SetMyCommandsInput as bb, type SetMyDefaultAdministratorRightsInput as bc, type SetMyDescriptionInput as bd, type SetMyNameInput as be, type SetMyShortDescriptionInput as bf, type SetPassportDataErrorsInput as bg, type SetStickerEmojiListInput as bh, type SetStickerKeywordsInput as bi, type SetStickerMaskPositionInput as bj, type SetStickerPositionInSetInput as bk, type SetStickerSetThumbnailInput as bl, type SetStickerSetTitleInput as bm, type SetUserEmojiStatusInput as bn, type SetWebhookInput as bo, type StopMessageLiveLocationInput as bp, type StopPollInput as bq, type TransferBusinessAccountStarsInput as br, type TransferGiftInput as bs, type UnbanChatMemberInput as bt, type UnbanChatSenderChatInput as bu, type UnhideGeneralForumTopicInput as bv, type UnpinAllChatMessagesInput as bw, type UnpinAllForumTopicMessagesInput as bx, type UnpinAllGeneralForumTopicMessagesInput as by, type UnpinChatMessageInput as bz, type AddStickerToSetInput as c, type GiveawayWinners as c$, type BotDescription as c0, type BotName as c1, type BotShortDescription as c2, type BusinessBotRights as c3, type BusinessConnection as c4, type BusinessIntro as c5, type BusinessLocation as c6, type BusinessMessagesDeleted as c7, type BusinessOpeningHours as c8, type BusinessOpeningHoursInterval as c9, type ChatPhoto as cA, type ChatShared as cB, type ChosenInlineResult as cC, type Contact as cD, type CopyTextButton as cE, type Dice as cF, type Document as cG, type EncryptedCredentials as cH, type EncryptedPassportElement as cI, type ExternalReplyInfo as cJ, type File as cK, type ForceReply as cL, type ForumTopic as cM, type ForumTopicClosed as cN, type ForumTopicCreated as cO, type ForumTopicEdited as cP, type ForumTopicReopened as cQ, type Game as cR, type GameHighScore as cS, type GeneralForumTopicHidden as cT, type GeneralForumTopicUnhidden as cU, type Gift as cV, type GiftInfo as cW, type Gifts as cX, type Giveaway as cY, type GiveawayCompleted as cZ, type GiveawayCreated as c_, type CallbackGame as ca, type CallbackQuery as cb, type Chat as cc, type ChatAdministratorRights as cd, type ChatBackground as ce, type ChatBoost as cf, type ChatBoostAdded as cg, type ChatBoostRemoved as ch, type ChatBoostSource as ci, type ChatBoostSourceGiftCode as cj, type ChatBoostSourceGiveaway as ck, type ChatBoostSourcePremium as cl, type ChatBoostUpdated as cm, type ChatFullInfo as cn, type ChatInviteLink as co, type ChatJoinRequest as cp, type ChatLocation as cq, type ChatMember as cr, type ChatMemberAdministrator as cs, type ChatMemberBanned as ct, type ChatMemberLeft as cu, type ChatMemberMember as cv, type ChatMemberOwner as cw, type ChatMemberRestricted as cx, type ChatMemberUpdated as cy, type ChatPermissions as cz, type AnswerCallbackQueryInput as d, type MenuButton as d$, type InaccessibleMessage as d0, type InlineKeyboardButton as d1, type InlineKeyboardMarkup as d2, type InlineQuery as d3, type InlineQueryResult as d4, type InlineQueryResultArticle as d5, type InlineQueryResultAudio as d6, type InlineQueryResultCachedAudio as d7, type InlineQueryResultCachedDocument as d8, type InlineQueryResultCachedGif as d9, type InputMediaVideo as dA, type InputMessageContent as dB, type InputPaidMedia as dC, type InputPaidMediaPhoto as dD, type InputPaidMediaVideo as dE, type InputPollOption as dF, type InputProfilePhoto as dG, type InputProfilePhotoAnimated as dH, type InputProfilePhotoStatic as dI, type InputSticker as dJ, type InputStoryContent as dK, type InputStoryContentPhoto as dL, type InputStoryContentVideo as dM, type InputTextMessageContent as dN, type InputVenueMessageContent as dO, type Invoice as dP, type KeyboardButton as dQ, type KeyboardButtonPollType as dR, type KeyboardButtonRequestChat as dS, type KeyboardButtonRequestUsers as dT, type LabeledPrice as dU, type LinkPreviewOptions as dV, type Location as dW, type LocationAddress as dX, type LoginUrl as dY, type MaskPosition as dZ, type MaybeInaccessibleMessage as d_, type InlineQueryResultCachedMpeg4Gif as da, type InlineQueryResultCachedPhoto as db, type InlineQueryResultCachedSticker as dc, type InlineQueryResultCachedVideo as dd, type InlineQueryResultCachedVoice as de, type InlineQueryResultContact as df, type InlineQueryResultDocument as dg, type InlineQueryResultGame as dh, type InlineQueryResultGif as di, type InlineQueryResultLocation as dj, type InlineQueryResultMpeg4Gif as dk, type InlineQueryResultPhoto as dl, type InlineQueryResultsButton as dm, type InlineQueryResultVenue as dn, type InlineQueryResultVideo as dp, type InlineQueryResultVoice as dq, type InputContactMessageContent as dr, type InputFile as ds, type InputInvoiceMessageContent as dt, type InputLocationMessageContent as du, type InputMedia as dv, type InputMediaAnimation as dw, type InputMediaAudio as dx, type InputMediaDocument as dy, type InputMediaPhoto as dz, type AnswerInlineQueryInput as e, type ShippingQuery as e$, type MenuButtonCommands as e0, type MenuButtonDefault as e1, type MenuButtonWebApp as e2, type Message as e3, type MessageAutoDeleteTimerChanged as e4, type MessageEntity as e5, type MessageId as e6, type MessageOrigin as e7, type MessageOriginChannel as e8, type MessageOriginChat as e9, type PassportElementErrorUnspecified as eA, type PassportFile as eB, type PhotoSize as eC, type Poll as eD, type PollAnswer as eE, type PollOption as eF, type PreCheckoutQuery as eG, type PreparedInlineMessage as eH, type ProximityAlertTriggered as eI, type ReactionCount as eJ, type ReactionType as eK, type ReactionTypeCustomEmoji as eL, type ReactionTypeEmoji as eM, type ReactionTypePaid as eN, type RefundedPayment as eO, type ReplyKeyboardMarkup as eP, type ReplyKeyboardRemove as eQ, type ReplyParameters as eR, type ResponseParameters as eS, type RevenueWithdrawalState as eT, type RevenueWithdrawalStateFailed as eU, type RevenueWithdrawalStatePending as eV, type RevenueWithdrawalStateSucceeded as eW, type SentWebAppMessage as eX, type SharedUser as eY, type ShippingAddress as eZ, type ShippingOption as e_, type MessageOriginHiddenUser as ea, type MessageOriginUser as eb, type MessageReactionCountUpdated as ec, type MessageReactionUpdated as ed, type OrderInfo as ee, type OwnedGift as ef, type OwnedGiftRegular as eg, type OwnedGifts as eh, type OwnedGiftUnique as ei, type PaidMedia as ej, type PaidMediaInfo as ek, type PaidMediaPhoto as el, type PaidMediaPreview as em, type PaidMediaPurchased as en, type PaidMediaVideo as eo, type PaidMessagePriceChanged as ep, type PassportData as eq, type PassportElementError as er, type PassportElementErrorDataField as es, type PassportElementErrorFile as et, type PassportElementErrorFiles as eu, type PassportElementErrorFrontSide as ev, type PassportElementErrorReverseSide as ew, type PassportElementErrorSelfie as ex, type PassportElementErrorTranslationFile as ey, type PassportElementErrorTranslationFiles as ez, type AnswerPreCheckoutQueryInput as f, type StarAmount as f0, type StarTransaction as f1, type StarTransactions as f2, type Sticker as f3, type StickerSet as f4, type Story as f5, type StoryArea as f6, type StoryAreaPosition as f7, type StoryAreaType as f8, type StoryAreaTypeLink as f9, type Video as fA, type VideoChatEnded as fB, type VideoChatParticipantsInvited as fC, type VideoChatScheduled as fD, type VideoChatStarted as fE, type VideoNote as fF, type Voice as fG, type WebAppData as fH, type WebAppInfo as fI, type WebhookInfo as fJ, type WriteAccessAllowed as fK, type StoryAreaTypeLocation as fa, type StoryAreaTypeSuggestedReaction as fb, type StoryAreaTypeUniqueGift as fc, type StoryAreaTypeWeather as fd, type SuccessfulPayment as fe, type SwitchInlineQueryChosenChat as ff, type TextQuote as fg, type TransactionPartner as fh, type TransactionPartnerAffiliateProgram as fi, type TransactionPartnerChat as fj, type TransactionPartnerFragment as fk, type TransactionPartnerOther as fl, type TransactionPartnerTelegramAds as fm, type TransactionPartnerTelegramApi as fn, type TransactionPartnerUser as fo, type UniqueGift as fp, type UniqueGiftBackdrop as fq, type UniqueGiftBackdropColors as fr, type UniqueGiftInfo as fs, type UniqueGiftModel as ft, type UniqueGiftSymbol as fu, type User as fv, type UserChatBoosts as fw, type UserProfilePhotos as fx, type UsersShared as fy, type Venue as fz, type AnswerShippingQueryInput as g, type AnswerWebAppQueryInput as h, type ApproveChatJoinRequestInput as i, type BanChatSenderChatInput as j, type CloseForumTopicInput as k, type CloseGeneralForumTopicInput as l, type ConvertGiftToStarsInput as m, type CopyMessageInput as n, type CopyMessagesInput as o, type CreateChatInviteLinkInput as p, type CreateChatSubscriptionInviteLinkInput as q, type CreateForumTopicInput as r, type CreateInvoiceLinkInput as s, type CreateNewStickerSetInput as t, type DeleteBusinessMessagesInput as u, type DeleteChatPhotoInput as v, type DeleteChatStickerSetInput as w, type DeleteForumTopicInput as x, type DeleteMessageInput as y, type DeleteMessagesInput as z };
3250
+ export { type ForwardMessagesInput as $, type Api as A, type BanChatMemberInput as B, type CloseInput as C, type DeclineChatJoinRequestInput as D, type DeleteMessageInput as E, type DeleteMessagesInput as F, type DeleteMyCommandsInput as G, type DeleteStickerFromSetInput as H, type DeleteStickerSetInput as I, type DeleteStoryInput as J, type DeleteWebhookInput as K, type EditChatInviteLinkInput as L, type EditChatSubscriptionInviteLinkInput as M, type EditForumTopicInput as N, type EditGeneralForumTopicInput as O, type EditMessageCaptionInput as P, type EditMessageChecklistInput as Q, type EditMessageLiveLocationInput as R, type EditMessageMediaInput as S, TgBotClientError as T, type Update as U, type EditMessageReplyMarkupInput as V, type EditMessageTextInput as W, type EditStoryInput as X, type EditUserStarSubscriptionInput as Y, type ExportChatInviteLinkInput as Z, type ForwardMessageInput as _, TgBotApiToken as a, type SendVideoNoteInput as a$, type GetAvailableGiftsInput as a0, type GetBusinessAccountGiftsInput as a1, type GetBusinessAccountStarBalanceInput as a2, type GetBusinessConnectionInput as a3, type GetChatInput as a4, type GetChatAdministratorsInput as a5, type GetChatMemberInput as a6, type GetChatMemberCountInput as a7, type GetChatMenuButtonInput as a8, type GetCustomEmojiStickersInput as a9, type RemoveChatVerificationInput as aA, type RemoveUserVerificationInput as aB, type ReopenForumTopicInput as aC, type ReopenGeneralForumTopicInput as aD, type ReplaceStickerInSetInput as aE, type RestrictChatMemberInput as aF, type RevokeChatInviteLinkInput as aG, type SavePreparedInlineMessageInput as aH, type SendAnimationInput as aI, type SendAudioInput as aJ, type SendChatActionInput as aK, type SendChecklistInput as aL, type SendContactInput as aM, type SendDiceInput as aN, type SendDocumentInput as aO, type SendGameInput as aP, type SendGiftInput as aQ, type SendInvoiceInput as aR, type SendLocationInput as aS, type SendMediaGroupInput as aT, type SendMessageInput as aU, type SendPaidMediaInput as aV, type SendPhotoInput as aW, type SendPollInput as aX, type SendStickerInput as aY, type SendVenueInput as aZ, type SendVideoInput as a_, type GetFileInput as aa, type GetForumTopicIconStickersInput as ab, type GetGameHighScoresInput as ac, type GetMeInput as ad, type GetMyCommandsInput as ae, type GetMyDefaultAdministratorRightsInput as af, type GetMyDescriptionInput as ag, type GetMyNameInput as ah, type GetMyShortDescriptionInput as ai, type GetMyStarBalanceInput as aj, type GetStarTransactionsInput as ak, type GetStickerSetInput as al, type GetUpdatesInput as am, type GetUserChatBoostsInput as an, type GetUserProfilePhotosInput as ao, type GetWebhookInfoInput as ap, type GiftPremiumSubscriptionInput as aq, type HideGeneralForumTopicInput as ar, type LeaveChatInput as as, type LogOutInput as at, type PinChatMessageInput as au, type PostStoryInput as av, type PromoteChatMemberInput as aw, type ReadBusinessMessageInput as ax, type RefundStarPaymentInput as ay, type RemoveBusinessAccountProfilePhotoInput as az, TgBotApiBaseUrl as b, type BotCommandScopeAllGroupChats as b$, type SendVoiceInput as b0, type SetBusinessAccountBioInput as b1, type SetBusinessAccountGiftSettingsInput as b2, type SetBusinessAccountNameInput as b3, type SetBusinessAccountProfilePhotoInput as b4, type SetBusinessAccountUsernameInput as b5, type SetChatAdministratorCustomTitleInput as b6, type SetChatDescriptionInput as b7, type SetChatMenuButtonInput as b8, type SetChatPermissionsInput as b9, type UnhideGeneralForumTopicInput as bA, type UnpinAllChatMessagesInput as bB, type UnpinAllForumTopicMessagesInput as bC, type UnpinAllGeneralForumTopicMessagesInput as bD, type UnpinChatMessageInput as bE, type UpgradeGiftInput as bF, type UploadStickerFileInput as bG, type VerifyChatInput as bH, type VerifyUserInput as bI, type AllowedUpdateName as bJ, type AcceptedGiftTypes as bK, type AffiliateInfo as bL, type Animation as bM, type Audio as bN, type BackgroundFill as bO, type BackgroundFillFreeformGradient as bP, type BackgroundFillGradient as bQ, type BackgroundFillSolid as bR, type BackgroundType as bS, type BackgroundTypeChatTheme as bT, type BackgroundTypeFill as bU, type BackgroundTypePattern as bV, type BackgroundTypeWallpaper as bW, type Birthdate as bX, type BotCommand as bY, type BotCommandScope as bZ, type BotCommandScopeAllChatAdministrators as b_, type SetChatPhotoInput as ba, type SetChatStickerSetInput as bb, type SetChatTitleInput as bc, type SetCustomEmojiStickerSetThumbnailInput as bd, type SetGameScoreInput as be, type SetMessageReactionInput as bf, type SetMyCommandsInput as bg, type SetMyDefaultAdministratorRightsInput as bh, type SetMyDescriptionInput as bi, type SetMyNameInput as bj, type SetMyShortDescriptionInput as bk, type SetPassportDataErrorsInput as bl, type SetStickerEmojiListInput as bm, type SetStickerKeywordsInput as bn, type SetStickerMaskPositionInput as bo, type SetStickerPositionInSetInput as bp, type SetStickerSetThumbnailInput as bq, type SetStickerSetTitleInput as br, type SetUserEmojiStatusInput as bs, type SetWebhookInput as bt, type StopMessageLiveLocationInput as bu, type StopPollInput as bv, type TransferBusinessAccountStarsInput as bw, type TransferGiftInput as bx, type UnbanChatMemberInput as by, type UnbanChatSenderChatInput as bz, type AddStickerToSetInput as c, type ForumTopicReopened as c$, type BotCommandScopeAllPrivateChats as c0, type BotCommandScopeChat as c1, type BotCommandScopeChatAdministrators as c2, type BotCommandScopeChatMember as c3, type BotCommandScopeDefault as c4, type BotDescription as c5, type BotName as c6, type BotShortDescription as c7, type BusinessBotRights as c8, type BusinessConnection as c9, type ChatMemberMember as cA, type ChatMemberOwner as cB, type ChatMemberRestricted as cC, type ChatMemberUpdated as cD, type ChatPermissions as cE, type ChatPhoto as cF, type ChatShared as cG, type Checklist as cH, type ChecklistTask as cI, type ChecklistTasksAdded as cJ, type ChecklistTasksDone as cK, type ChosenInlineResult as cL, type Contact as cM, type CopyTextButton as cN, type Dice as cO, type DirectMessagePriceChanged as cP, type DirectMessagesTopic as cQ, type Document as cR, type EncryptedCredentials as cS, type EncryptedPassportElement as cT, type ExternalReplyInfo as cU, type File as cV, type ForceReply as cW, type ForumTopic as cX, type ForumTopicClosed as cY, type ForumTopicCreated as cZ, type ForumTopicEdited as c_, type BusinessIntro as ca, type BusinessLocation as cb, type BusinessMessagesDeleted as cc, type BusinessOpeningHours as cd, type BusinessOpeningHoursInterval as ce, type CallbackGame as cf, type CallbackQuery as cg, type Chat as ch, type ChatAdministratorRights as ci, type ChatBackground as cj, type ChatBoost as ck, type ChatBoostAdded as cl, type ChatBoostRemoved as cm, type ChatBoostSource as cn, type ChatBoostSourceGiftCode as co, type ChatBoostSourceGiveaway as cp, type ChatBoostSourcePremium as cq, type ChatBoostUpdated as cr, type ChatFullInfo as cs, type ChatInviteLink as ct, type ChatJoinRequest as cu, type ChatLocation as cv, type ChatMember as cw, type ChatMemberAdministrator as cx, type ChatMemberBanned as cy, type ChatMemberLeft as cz, type AnswerCallbackQueryInput as d, type InputVenueMessageContent as d$, type Game as d0, type GameHighScore as d1, type GeneralForumTopicHidden as d2, type GeneralForumTopicUnhidden as d3, type Gift as d4, type GiftInfo as d5, type Gifts as d6, type Giveaway as d7, type GiveawayCompleted as d8, type GiveawayCreated as d9, type InlineQueryResultVideo as dA, type InlineQueryResultVoice as dB, type InputChecklist as dC, type InputChecklistTask as dD, type InputContactMessageContent as dE, type InputFile as dF, type InputInvoiceMessageContent as dG, type InputLocationMessageContent as dH, type InputMedia as dI, type InputMediaAnimation as dJ, type InputMediaAudio as dK, type InputMediaDocument as dL, type InputMediaPhoto as dM, type InputMediaVideo as dN, type InputMessageContent as dO, type InputPaidMedia as dP, type InputPaidMediaPhoto as dQ, type InputPaidMediaVideo as dR, type InputPollOption as dS, type InputProfilePhoto as dT, type InputProfilePhotoAnimated as dU, type InputProfilePhotoStatic as dV, type InputSticker as dW, type InputStoryContent as dX, type InputStoryContentPhoto as dY, type InputStoryContentVideo as dZ, type InputTextMessageContent as d_, type GiveawayWinners as da, type InaccessibleMessage as db, type InlineKeyboardButton as dc, type InlineKeyboardMarkup as dd, type InlineQuery as de, type InlineQueryResult as df, type InlineQueryResultArticle as dg, type InlineQueryResultAudio as dh, type InlineQueryResultCachedAudio as di, type InlineQueryResultCachedDocument as dj, type InlineQueryResultCachedGif as dk, type InlineQueryResultCachedMpeg4Gif as dl, type InlineQueryResultCachedPhoto as dm, type InlineQueryResultCachedSticker as dn, type InlineQueryResultCachedVideo as dp, type InlineQueryResultCachedVoice as dq, type InlineQueryResultContact as dr, type InlineQueryResultDocument as ds, type InlineQueryResultGame as dt, type InlineQueryResultGif as du, type InlineQueryResultLocation as dv, type InlineQueryResultMpeg4Gif as dw, type InlineQueryResultPhoto as dx, type InlineQueryResultsButton as dy, type InlineQueryResultVenue as dz, type AnswerInlineQueryInput as e, type RefundedPayment as e$, type Invoice as e0, type KeyboardButton as e1, type KeyboardButtonPollType as e2, type KeyboardButtonRequestChat as e3, type KeyboardButtonRequestUsers as e4, type LabeledPrice as e5, type LinkPreviewOptions as e6, type Location as e7, type LocationAddress as e8, type LoginUrl as e9, type PaidMediaPurchased as eA, type PaidMediaVideo as eB, type PaidMessagePriceChanged as eC, type PassportData as eD, type PassportElementError as eE, type PassportElementErrorDataField as eF, type PassportElementErrorFile as eG, type PassportElementErrorFiles as eH, type PassportElementErrorFrontSide as eI, type PassportElementErrorReverseSide as eJ, type PassportElementErrorSelfie as eK, type PassportElementErrorTranslationFile as eL, type PassportElementErrorTranslationFiles as eM, type PassportElementErrorUnspecified as eN, type PassportFile as eO, type PhotoSize as eP, type Poll as eQ, type PollAnswer as eR, type PollOption as eS, type PreCheckoutQuery as eT, type PreparedInlineMessage as eU, type ProximityAlertTriggered as eV, type ReactionCount as eW, type ReactionType as eX, type ReactionTypeCustomEmoji as eY, type ReactionTypeEmoji as eZ, type ReactionTypePaid as e_, type MaskPosition as ea, type MaybeInaccessibleMessage as eb, type MenuButton as ec, type MenuButtonCommands as ed, type MenuButtonDefault as ee, type MenuButtonWebApp as ef, type Message as eg, type MessageAutoDeleteTimerChanged as eh, type MessageEntity as ei, type MessageId as ej, type MessageOrigin as ek, type MessageOriginChannel as el, type MessageOriginChat as em, type MessageOriginHiddenUser as en, type MessageOriginUser as eo, type MessageReactionCountUpdated as ep, type MessageReactionUpdated as eq, type OrderInfo as er, type OwnedGift as es, type OwnedGiftRegular as et, type OwnedGifts as eu, type OwnedGiftUnique as ev, type PaidMedia as ew, type PaidMediaInfo as ex, type PaidMediaPhoto as ey, type PaidMediaPreview as ez, type AnswerPreCheckoutQueryInput as f, type Voice as f$, type ReplyKeyboardMarkup as f0, type ReplyKeyboardRemove as f1, type ReplyParameters as f2, type ResponseParameters as f3, type RevenueWithdrawalState as f4, type RevenueWithdrawalStateFailed as f5, type RevenueWithdrawalStatePending as f6, type RevenueWithdrawalStateSucceeded as f7, type SentWebAppMessage as f8, type SharedUser as f9, type SwitchInlineQueryChosenChat as fA, type TextQuote as fB, type TransactionPartner as fC, type TransactionPartnerAffiliateProgram as fD, type TransactionPartnerChat as fE, type TransactionPartnerFragment as fF, type TransactionPartnerOther as fG, type TransactionPartnerTelegramAds as fH, type TransactionPartnerTelegramApi as fI, type TransactionPartnerUser as fJ, type UniqueGift as fK, type UniqueGiftBackdrop as fL, type UniqueGiftBackdropColors as fM, type UniqueGiftInfo as fN, type UniqueGiftModel as fO, type UniqueGiftSymbol as fP, type User as fQ, type UserChatBoosts as fR, type UserProfilePhotos as fS, type UsersShared as fT, type Venue as fU, type Video as fV, type VideoChatEnded as fW, type VideoChatParticipantsInvited as fX, type VideoChatScheduled as fY, type VideoChatStarted as fZ, type VideoNote as f_, type ShippingAddress as fa, type ShippingOption as fb, type ShippingQuery as fc, type StarAmount as fd, type StarTransaction as fe, type StarTransactions as ff, type Sticker as fg, type StickerSet as fh, type Story as fi, type StoryArea as fj, type StoryAreaPosition as fk, type StoryAreaType as fl, type StoryAreaTypeLink as fm, type StoryAreaTypeLocation as fn, type StoryAreaTypeSuggestedReaction as fo, type StoryAreaTypeUniqueGift as fp, type StoryAreaTypeWeather as fq, type SuccessfulPayment as fr, type SuggestedPostApprovalFailed as fs, type SuggestedPostApproved as ft, type SuggestedPostDeclined as fu, type SuggestedPostInfo as fv, type SuggestedPostPaid as fw, type SuggestedPostParameters as fx, type SuggestedPostPrice as fy, type SuggestedPostRefunded as fz, type AnswerShippingQueryInput as g, type WebAppData as g0, type WebAppInfo as g1, type WebhookInfo as g2, type WriteAccessAllowed as g3, type AnswerWebAppQueryInput as h, type ApproveChatJoinRequestInput as i, type ApproveSuggestedPostInput as j, type BanChatSenderChatInput as k, type CloseForumTopicInput as l, type CloseGeneralForumTopicInput as m, type ConvertGiftToStarsInput as n, type CopyMessageInput as o, type CopyMessagesInput as p, type CreateChatInviteLinkInput as q, type CreateChatSubscriptionInviteLinkInput as r, type CreateForumTopicInput as s, type CreateInvoiceLinkInput as t, type CreateNewStickerSetInput as u, type DeclineSuggestedPostInput as v, type DeleteBusinessMessagesInput as w, type DeleteChatPhotoInput as x, type DeleteChatStickerSetInput as y, type DeleteForumTopicInput as z };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as Micro from 'effect/Micro';
2
- import { A as Api, T as TgBotClientError, a as TgBotApiToken, U as Update } from './config-BFdBOrJI.js';
3
- export { bF as AcceptedGiftTypes, c as AddStickerToSetInput, bG as AffiliateInfo, bE as AllowedUpdateName, bH as Animation, d as AnswerCallbackQueryInput, e as AnswerInlineQueryInput, f as AnswerPreCheckoutQueryInput, g as AnswerShippingQueryInput, h as AnswerWebAppQueryInput, i as ApproveChatJoinRequestInput, bI as Audio, bJ as BackgroundFill, bK as BackgroundFillFreeformGradient, bL as BackgroundFillGradient, bM as BackgroundFillSolid, bN as BackgroundType, bO as BackgroundTypeChatTheme, bP as BackgroundTypeFill, bQ as BackgroundTypePattern, bR as BackgroundTypeWallpaper, B as BanChatMemberInput, j as BanChatSenderChatInput, bS as Birthdate, bT as BotCommand, bU as BotCommandScope, bV as BotCommandScopeAllChatAdministrators, bW as BotCommandScopeAllGroupChats, bX as BotCommandScopeAllPrivateChats, bY as BotCommandScopeChat, bZ as BotCommandScopeChatAdministrators, b_ as BotCommandScopeChatMember, b$ as BotCommandScopeDefault, c0 as BotDescription, c1 as BotName, c2 as BotShortDescription, c3 as BusinessBotRights, c4 as BusinessConnection, c5 as BusinessIntro, c6 as BusinessLocation, c7 as BusinessMessagesDeleted, c8 as BusinessOpeningHours, c9 as BusinessOpeningHoursInterval, ca as CallbackGame, cb as CallbackQuery, cc as Chat, cd as ChatAdministratorRights, ce as ChatBackground, cf as ChatBoost, cg as ChatBoostAdded, ch as ChatBoostRemoved, ci as ChatBoostSource, cj as ChatBoostSourceGiftCode, ck as ChatBoostSourceGiveaway, cl as ChatBoostSourcePremium, cm as ChatBoostUpdated, cn as ChatFullInfo, co as ChatInviteLink, cp as ChatJoinRequest, cq as ChatLocation, cr as ChatMember, cs as ChatMemberAdministrator, ct as ChatMemberBanned, cu as ChatMemberLeft, cv as ChatMemberMember, cw as ChatMemberOwner, cx as ChatMemberRestricted, cy as ChatMemberUpdated, cz as ChatPermissions, cA as ChatPhoto, cB as ChatShared, cC as ChosenInlineResult, k as CloseForumTopicInput, l as CloseGeneralForumTopicInput, C as CloseInput, cD as Contact, m as ConvertGiftToStarsInput, n as CopyMessageInput, o as CopyMessagesInput, cE as CopyTextButton, p as CreateChatInviteLinkInput, q as CreateChatSubscriptionInviteLinkInput, r as CreateForumTopicInput, s as CreateInvoiceLinkInput, t as CreateNewStickerSetInput, D as DeclineChatJoinRequestInput, u as DeleteBusinessMessagesInput, v as DeleteChatPhotoInput, w as DeleteChatStickerSetInput, x as DeleteForumTopicInput, y as DeleteMessageInput, z as DeleteMessagesInput, E as DeleteMyCommandsInput, F as DeleteStickerFromSetInput, G as DeleteStickerSetInput, H as DeleteStoryInput, I as DeleteWebhookInput, cF as Dice, cG as Document, J as EditChatInviteLinkInput, K as EditChatSubscriptionInviteLinkInput, L as EditForumTopicInput, M as EditGeneralForumTopicInput, N as EditMessageCaptionInput, O as EditMessageLiveLocationInput, P as EditMessageMediaInput, Q as EditMessageReplyMarkupInput, R as EditMessageTextInput, S as EditStoryInput, V as EditUserStarSubscriptionInput, cH as EncryptedCredentials, cI as EncryptedPassportElement, W as ExportChatInviteLinkInput, cJ as ExternalReplyInfo, cK as File, cL as ForceReply, cM as ForumTopic, cN as ForumTopicClosed, cO as ForumTopicCreated, cP as ForumTopicEdited, cQ as ForumTopicReopened, X as ForwardMessageInput, Y as ForwardMessagesInput, cR as Game, cS as GameHighScore, cT as GeneralForumTopicHidden, cU as GeneralForumTopicUnhidden, Z as GetAvailableGiftsInput, _ as GetBusinessAccountGiftsInput, $ as GetBusinessAccountStarBalanceInput, a0 as GetBusinessConnectionInput, a2 as GetChatAdministratorsInput, a1 as GetChatInput, a4 as GetChatMemberCountInput, a3 as GetChatMemberInput, a5 as GetChatMenuButtonInput, a6 as GetCustomEmojiStickersInput, a7 as GetFileInput, a8 as GetForumTopicIconStickersInput, a9 as GetGameHighScoresInput, aa as GetMeInput, ab as GetMyCommandsInput, ac as GetMyDefaultAdministratorRightsInput, ad as GetMyDescriptionInput, ae as GetMyNameInput, af as GetMyShortDescriptionInput, ag as GetStarTransactionsInput, ah as GetStickerSetInput, ai as GetUpdatesInput, aj as GetUserChatBoostsInput, ak as GetUserProfilePhotosInput, al as GetWebhookInfoInput, cV as Gift, cW as GiftInfo, am as GiftPremiumSubscriptionInput, cX as Gifts, cY as Giveaway, cZ as GiveawayCompleted, c_ as GiveawayCreated, c$ as GiveawayWinners, an as HideGeneralForumTopicInput, d0 as InaccessibleMessage, d1 as InlineKeyboardButton, d2 as InlineKeyboardMarkup, d3 as InlineQuery, d4 as InlineQueryResult, d5 as InlineQueryResultArticle, d6 as InlineQueryResultAudio, d7 as InlineQueryResultCachedAudio, d8 as InlineQueryResultCachedDocument, d9 as InlineQueryResultCachedGif, da as InlineQueryResultCachedMpeg4Gif, db as InlineQueryResultCachedPhoto, dc as InlineQueryResultCachedSticker, dd as InlineQueryResultCachedVideo, de as InlineQueryResultCachedVoice, df as InlineQueryResultContact, dg as InlineQueryResultDocument, dh as InlineQueryResultGame, di as InlineQueryResultGif, dj as InlineQueryResultLocation, dk as InlineQueryResultMpeg4Gif, dl as InlineQueryResultPhoto, dn as InlineQueryResultVenue, dp as InlineQueryResultVideo, dq as InlineQueryResultVoice, dm as InlineQueryResultsButton, dr as InputContactMessageContent, ds as InputFile, dt as InputInvoiceMessageContent, du as InputLocationMessageContent, dv as InputMedia, dw as InputMediaAnimation, dx as InputMediaAudio, dy as InputMediaDocument, dz as InputMediaPhoto, dA as InputMediaVideo, dB as InputMessageContent, dC as InputPaidMedia, dD as InputPaidMediaPhoto, dE as InputPaidMediaVideo, dF as InputPollOption, dG as InputProfilePhoto, dH as InputProfilePhotoAnimated, dI as InputProfilePhotoStatic, dJ as InputSticker, dK as InputStoryContent, dL as InputStoryContentPhoto, dM as InputStoryContentVideo, dN as InputTextMessageContent, dO as InputVenueMessageContent, dP as Invoice, dQ as KeyboardButton, dR as KeyboardButtonPollType, dS as KeyboardButtonRequestChat, dT as KeyboardButtonRequestUsers, dU as LabeledPrice, ao as LeaveChatInput, dV as LinkPreviewOptions, dW as Location, dX as LocationAddress, ap as LogOutInput, dY as LoginUrl, dZ as MaskPosition, d_ as MaybeInaccessibleMessage, d$ as MenuButton, e0 as MenuButtonCommands, e1 as MenuButtonDefault, e2 as MenuButtonWebApp, e3 as Message, e4 as MessageAutoDeleteTimerChanged, e5 as MessageEntity, e6 as MessageId, e7 as MessageOrigin, e8 as MessageOriginChannel, e9 as MessageOriginChat, ea as MessageOriginHiddenUser, eb as MessageOriginUser, ec as MessageReactionCountUpdated, ed as MessageReactionUpdated, ee as OrderInfo, ef as OwnedGift, eg as OwnedGiftRegular, ei as OwnedGiftUnique, eh as OwnedGifts, ej as PaidMedia, ek as PaidMediaInfo, el as PaidMediaPhoto, em as PaidMediaPreview, en as PaidMediaPurchased, eo as PaidMediaVideo, ep as PaidMessagePriceChanged, eq as PassportData, er as PassportElementError, es as PassportElementErrorDataField, et as PassportElementErrorFile, eu as PassportElementErrorFiles, ev as PassportElementErrorFrontSide, ew as PassportElementErrorReverseSide, ex as PassportElementErrorSelfie, ey as PassportElementErrorTranslationFile, ez as PassportElementErrorTranslationFiles, eA as PassportElementErrorUnspecified, eB as PassportFile, eC as PhotoSize, aq as PinChatMessageInput, eD as Poll, eE as PollAnswer, eF as PollOption, ar as PostStoryInput, eG as PreCheckoutQuery, eH as PreparedInlineMessage, as as PromoteChatMemberInput, eI as ProximityAlertTriggered, eJ as ReactionCount, eK as ReactionType, eL as ReactionTypeCustomEmoji, eM as ReactionTypeEmoji, eN as ReactionTypePaid, at as ReadBusinessMessageInput, au as RefundStarPaymentInput, eO as RefundedPayment, av as RemoveBusinessAccountProfilePhotoInput, aw as RemoveChatVerificationInput, ax as RemoveUserVerificationInput, ay as ReopenForumTopicInput, az as ReopenGeneralForumTopicInput, aA as ReplaceStickerInSetInput, eP as ReplyKeyboardMarkup, eQ as ReplyKeyboardRemove, eR as ReplyParameters, eS as ResponseParameters, aB as RestrictChatMemberInput, eT as RevenueWithdrawalState, eU as RevenueWithdrawalStateFailed, eV as RevenueWithdrawalStatePending, eW as RevenueWithdrawalStateSucceeded, aC as RevokeChatInviteLinkInput, aD as SavePreparedInlineMessageInput, aE as SendAnimationInput, aF as SendAudioInput, aG as SendChatActionInput, aH as SendContactInput, aI as SendDiceInput, aJ as SendDocumentInput, aK as SendGameInput, aL as SendGiftInput, aM as SendInvoiceInput, aN as SendLocationInput, aO as SendMediaGroupInput, aP as SendMessageInput, aQ as SendPaidMediaInput, aR as SendPhotoInput, aS as SendPollInput, aT as SendStickerInput, aU as SendVenueInput, aV as SendVideoInput, aW as SendVideoNoteInput, aX as SendVoiceInput, eX as SentWebAppMessage, aY as SetBusinessAccountBioInput, aZ as SetBusinessAccountGiftSettingsInput, a_ as SetBusinessAccountNameInput, a$ as SetBusinessAccountProfilePhotoInput, b0 as SetBusinessAccountUsernameInput, b1 as SetChatAdministratorCustomTitleInput, b2 as SetChatDescriptionInput, b3 as SetChatMenuButtonInput, b4 as SetChatPermissionsInput, b5 as SetChatPhotoInput, b6 as SetChatStickerSetInput, b7 as SetChatTitleInput, b8 as SetCustomEmojiStickerSetThumbnailInput, b9 as SetGameScoreInput, ba as SetMessageReactionInput, bb as SetMyCommandsInput, bc as SetMyDefaultAdministratorRightsInput, bd as SetMyDescriptionInput, be as SetMyNameInput, bf as SetMyShortDescriptionInput, bg as SetPassportDataErrorsInput, bh as SetStickerEmojiListInput, bi as SetStickerKeywordsInput, bj as SetStickerMaskPositionInput, bk as SetStickerPositionInSetInput, bl as SetStickerSetThumbnailInput, bm as SetStickerSetTitleInput, bn as SetUserEmojiStatusInput, bo as SetWebhookInput, eY as SharedUser, eZ as ShippingAddress, e_ as ShippingOption, e$ as ShippingQuery, f0 as StarAmount, f1 as StarTransaction, f2 as StarTransactions, f3 as Sticker, f4 as StickerSet, bp as StopMessageLiveLocationInput, bq as StopPollInput, f5 as Story, f6 as StoryArea, f7 as StoryAreaPosition, f8 as StoryAreaType, f9 as StoryAreaTypeLink, fa as StoryAreaTypeLocation, fb as StoryAreaTypeSuggestedReaction, fc as StoryAreaTypeUniqueGift, fd as StoryAreaTypeWeather, fe as SuccessfulPayment, ff as SwitchInlineQueryChosenChat, fg as TextQuote, b as TgBotApiBaseUrl, fh as TransactionPartner, fi as TransactionPartnerAffiliateProgram, fj as TransactionPartnerChat, fk as TransactionPartnerFragment, fl as TransactionPartnerOther, fm as TransactionPartnerTelegramAds, fn as TransactionPartnerTelegramApi, fo as TransactionPartnerUser, br as TransferBusinessAccountStarsInput, bs as TransferGiftInput, bt as UnbanChatMemberInput, bu as UnbanChatSenderChatInput, bv as UnhideGeneralForumTopicInput, fp as UniqueGift, fq as UniqueGiftBackdrop, fr as UniqueGiftBackdropColors, fs as UniqueGiftInfo, ft as UniqueGiftModel, fu as UniqueGiftSymbol, bw as UnpinAllChatMessagesInput, bx as UnpinAllForumTopicMessagesInput, by as UnpinAllGeneralForumTopicMessagesInput, bz as UnpinChatMessageInput, bA as UpgradeGiftInput, bB as UploadStickerFileInput, fv as User, fw as UserChatBoosts, fx as UserProfilePhotos, fy as UsersShared, fz as Venue, bC as VerifyChatInput, bD as VerifyUserInput, fA as Video, fB as VideoChatEnded, fC as VideoChatParticipantsInvited, fD as VideoChatScheduled, fE as VideoChatStarted, fF as VideoNote, fG as Voice, fH as WebAppData, fI as WebAppInfo, fJ as WebhookInfo, fK as WriteAccessAllowed } from './config-BFdBOrJI.js';
2
+ import { A as Api, T as TgBotClientError, a as TgBotApiToken, U as Update } from './config-3uU0YevV.js';
3
+ export { bK as AcceptedGiftTypes, c as AddStickerToSetInput, bL as AffiliateInfo, bJ as AllowedUpdateName, bM as Animation, d as AnswerCallbackQueryInput, e as AnswerInlineQueryInput, f as AnswerPreCheckoutQueryInput, g as AnswerShippingQueryInput, h as AnswerWebAppQueryInput, i as ApproveChatJoinRequestInput, j as ApproveSuggestedPostInput, bN as Audio, bO as BackgroundFill, bP as BackgroundFillFreeformGradient, bQ as BackgroundFillGradient, bR as BackgroundFillSolid, bS as BackgroundType, bT as BackgroundTypeChatTheme, bU as BackgroundTypeFill, bV as BackgroundTypePattern, bW as BackgroundTypeWallpaper, B as BanChatMemberInput, k as BanChatSenderChatInput, bX as Birthdate, bY as BotCommand, bZ as BotCommandScope, b_ as BotCommandScopeAllChatAdministrators, b$ as BotCommandScopeAllGroupChats, c0 as BotCommandScopeAllPrivateChats, c1 as BotCommandScopeChat, c2 as BotCommandScopeChatAdministrators, c3 as BotCommandScopeChatMember, c4 as BotCommandScopeDefault, c5 as BotDescription, c6 as BotName, c7 as BotShortDescription, c8 as BusinessBotRights, c9 as BusinessConnection, ca as BusinessIntro, cb as BusinessLocation, cc as BusinessMessagesDeleted, cd as BusinessOpeningHours, ce as BusinessOpeningHoursInterval, cf as CallbackGame, cg as CallbackQuery, ch as Chat, ci as ChatAdministratorRights, cj as ChatBackground, ck as ChatBoost, cl as ChatBoostAdded, cm as ChatBoostRemoved, cn as ChatBoostSource, co as ChatBoostSourceGiftCode, cp as ChatBoostSourceGiveaway, cq as ChatBoostSourcePremium, cr as ChatBoostUpdated, cs as ChatFullInfo, ct as ChatInviteLink, cu as ChatJoinRequest, cv as ChatLocation, cw as ChatMember, cx as ChatMemberAdministrator, cy as ChatMemberBanned, cz as ChatMemberLeft, cA as ChatMemberMember, cB as ChatMemberOwner, cC as ChatMemberRestricted, cD as ChatMemberUpdated, cE as ChatPermissions, cF as ChatPhoto, cG as ChatShared, cH as Checklist, cI as ChecklistTask, cJ as ChecklistTasksAdded, cK as ChecklistTasksDone, cL as ChosenInlineResult, l as CloseForumTopicInput, m as CloseGeneralForumTopicInput, C as CloseInput, cM as Contact, n as ConvertGiftToStarsInput, o as CopyMessageInput, p as CopyMessagesInput, cN as CopyTextButton, q as CreateChatInviteLinkInput, r as CreateChatSubscriptionInviteLinkInput, s as CreateForumTopicInput, t as CreateInvoiceLinkInput, u as CreateNewStickerSetInput, D as DeclineChatJoinRequestInput, v as DeclineSuggestedPostInput, w as DeleteBusinessMessagesInput, x as DeleteChatPhotoInput, y as DeleteChatStickerSetInput, z as DeleteForumTopicInput, E as DeleteMessageInput, F as DeleteMessagesInput, G as DeleteMyCommandsInput, H as DeleteStickerFromSetInput, I as DeleteStickerSetInput, J as DeleteStoryInput, K as DeleteWebhookInput, cO as Dice, cP as DirectMessagePriceChanged, cQ as DirectMessagesTopic, cR as Document, L as EditChatInviteLinkInput, M as EditChatSubscriptionInviteLinkInput, N as EditForumTopicInput, O as EditGeneralForumTopicInput, P as EditMessageCaptionInput, Q as EditMessageChecklistInput, R as EditMessageLiveLocationInput, S as EditMessageMediaInput, V as EditMessageReplyMarkupInput, W as EditMessageTextInput, X as EditStoryInput, Y as EditUserStarSubscriptionInput, cS as EncryptedCredentials, cT as EncryptedPassportElement, Z as ExportChatInviteLinkInput, cU as ExternalReplyInfo, cV as File, cW as ForceReply, cX as ForumTopic, cY as ForumTopicClosed, cZ as ForumTopicCreated, c_ as ForumTopicEdited, c$ as ForumTopicReopened, _ as ForwardMessageInput, $ as ForwardMessagesInput, d0 as Game, d1 as GameHighScore, d2 as GeneralForumTopicHidden, d3 as GeneralForumTopicUnhidden, a0 as GetAvailableGiftsInput, a1 as GetBusinessAccountGiftsInput, a2 as GetBusinessAccountStarBalanceInput, a3 as GetBusinessConnectionInput, a5 as GetChatAdministratorsInput, a4 as GetChatInput, a7 as GetChatMemberCountInput, a6 as GetChatMemberInput, a8 as GetChatMenuButtonInput, a9 as GetCustomEmojiStickersInput, aa as GetFileInput, ab as GetForumTopicIconStickersInput, ac as GetGameHighScoresInput, ad as GetMeInput, ae as GetMyCommandsInput, af as GetMyDefaultAdministratorRightsInput, ag as GetMyDescriptionInput, ah as GetMyNameInput, ai as GetMyShortDescriptionInput, aj as GetMyStarBalanceInput, ak as GetStarTransactionsInput, al as GetStickerSetInput, am as GetUpdatesInput, an as GetUserChatBoostsInput, ao as GetUserProfilePhotosInput, ap as GetWebhookInfoInput, d4 as Gift, d5 as GiftInfo, aq as GiftPremiumSubscriptionInput, d6 as Gifts, d7 as Giveaway, d8 as GiveawayCompleted, d9 as GiveawayCreated, da as GiveawayWinners, ar as HideGeneralForumTopicInput, db as InaccessibleMessage, dc as InlineKeyboardButton, dd as InlineKeyboardMarkup, de as InlineQuery, df as InlineQueryResult, dg as InlineQueryResultArticle, dh as InlineQueryResultAudio, di as InlineQueryResultCachedAudio, dj as InlineQueryResultCachedDocument, dk as InlineQueryResultCachedGif, dl as InlineQueryResultCachedMpeg4Gif, dm as InlineQueryResultCachedPhoto, dn as InlineQueryResultCachedSticker, dp as InlineQueryResultCachedVideo, dq as InlineQueryResultCachedVoice, dr as InlineQueryResultContact, ds as InlineQueryResultDocument, dt as InlineQueryResultGame, du as InlineQueryResultGif, dv as InlineQueryResultLocation, dw as InlineQueryResultMpeg4Gif, dx as InlineQueryResultPhoto, dz as InlineQueryResultVenue, dA as InlineQueryResultVideo, dB as InlineQueryResultVoice, dy as InlineQueryResultsButton, dC as InputChecklist, dD as InputChecklistTask, dE as InputContactMessageContent, dF as InputFile, dG as InputInvoiceMessageContent, dH as InputLocationMessageContent, dI as InputMedia, dJ as InputMediaAnimation, dK as InputMediaAudio, dL as InputMediaDocument, dM as InputMediaPhoto, dN as InputMediaVideo, dO as InputMessageContent, dP as InputPaidMedia, dQ as InputPaidMediaPhoto, dR as InputPaidMediaVideo, dS as InputPollOption, dT as InputProfilePhoto, dU as InputProfilePhotoAnimated, dV as InputProfilePhotoStatic, dW as InputSticker, dX as InputStoryContent, dY as InputStoryContentPhoto, dZ as InputStoryContentVideo, d_ as InputTextMessageContent, d$ as InputVenueMessageContent, e0 as Invoice, e1 as KeyboardButton, e2 as KeyboardButtonPollType, e3 as KeyboardButtonRequestChat, e4 as KeyboardButtonRequestUsers, e5 as LabeledPrice, as as LeaveChatInput, e6 as LinkPreviewOptions, e7 as Location, e8 as LocationAddress, at as LogOutInput, e9 as LoginUrl, ea as MaskPosition, eb as MaybeInaccessibleMessage, ec as MenuButton, ed as MenuButtonCommands, ee as MenuButtonDefault, ef as MenuButtonWebApp, eg as Message, eh as MessageAutoDeleteTimerChanged, ei as MessageEntity, ej as MessageId, ek as MessageOrigin, el as MessageOriginChannel, em as MessageOriginChat, en as MessageOriginHiddenUser, eo as MessageOriginUser, ep as MessageReactionCountUpdated, eq as MessageReactionUpdated, er as OrderInfo, es as OwnedGift, et as OwnedGiftRegular, ev as OwnedGiftUnique, eu as OwnedGifts, ew as PaidMedia, ex as PaidMediaInfo, ey as PaidMediaPhoto, ez as PaidMediaPreview, eA as PaidMediaPurchased, eB as PaidMediaVideo, eC as PaidMessagePriceChanged, eD as PassportData, eE as PassportElementError, eF as PassportElementErrorDataField, eG as PassportElementErrorFile, eH as PassportElementErrorFiles, eI as PassportElementErrorFrontSide, eJ as PassportElementErrorReverseSide, eK as PassportElementErrorSelfie, eL as PassportElementErrorTranslationFile, eM as PassportElementErrorTranslationFiles, eN as PassportElementErrorUnspecified, eO as PassportFile, eP as PhotoSize, au as PinChatMessageInput, eQ as Poll, eR as PollAnswer, eS as PollOption, av as PostStoryInput, eT as PreCheckoutQuery, eU as PreparedInlineMessage, aw as PromoteChatMemberInput, eV as ProximityAlertTriggered, eW as ReactionCount, eX as ReactionType, eY as ReactionTypeCustomEmoji, eZ as ReactionTypeEmoji, e_ as ReactionTypePaid, ax as ReadBusinessMessageInput, ay as RefundStarPaymentInput, e$ as RefundedPayment, az as RemoveBusinessAccountProfilePhotoInput, aA as RemoveChatVerificationInput, aB as RemoveUserVerificationInput, aC as ReopenForumTopicInput, aD as ReopenGeneralForumTopicInput, aE as ReplaceStickerInSetInput, f0 as ReplyKeyboardMarkup, f1 as ReplyKeyboardRemove, f2 as ReplyParameters, f3 as ResponseParameters, aF as RestrictChatMemberInput, f4 as RevenueWithdrawalState, f5 as RevenueWithdrawalStateFailed, f6 as RevenueWithdrawalStatePending, f7 as RevenueWithdrawalStateSucceeded, aG as RevokeChatInviteLinkInput, aH as SavePreparedInlineMessageInput, aI as SendAnimationInput, aJ as SendAudioInput, aK as SendChatActionInput, aL as SendChecklistInput, aM as SendContactInput, aN as SendDiceInput, aO as SendDocumentInput, aP as SendGameInput, aQ as SendGiftInput, aR as SendInvoiceInput, aS as SendLocationInput, aT as SendMediaGroupInput, aU as SendMessageInput, aV as SendPaidMediaInput, aW as SendPhotoInput, aX as SendPollInput, aY as SendStickerInput, aZ as SendVenueInput, a_ as SendVideoInput, a$ as SendVideoNoteInput, b0 as SendVoiceInput, f8 as SentWebAppMessage, b1 as SetBusinessAccountBioInput, b2 as SetBusinessAccountGiftSettingsInput, b3 as SetBusinessAccountNameInput, b4 as SetBusinessAccountProfilePhotoInput, b5 as SetBusinessAccountUsernameInput, b6 as SetChatAdministratorCustomTitleInput, b7 as SetChatDescriptionInput, b8 as SetChatMenuButtonInput, b9 as SetChatPermissionsInput, ba as SetChatPhotoInput, bb as SetChatStickerSetInput, bc as SetChatTitleInput, bd as SetCustomEmojiStickerSetThumbnailInput, be as SetGameScoreInput, bf as SetMessageReactionInput, bg as SetMyCommandsInput, bh as SetMyDefaultAdministratorRightsInput, bi as SetMyDescriptionInput, bj as SetMyNameInput, bk as SetMyShortDescriptionInput, bl as SetPassportDataErrorsInput, bm as SetStickerEmojiListInput, bn as SetStickerKeywordsInput, bo as SetStickerMaskPositionInput, bp as SetStickerPositionInSetInput, bq as SetStickerSetThumbnailInput, br as SetStickerSetTitleInput, bs as SetUserEmojiStatusInput, bt as SetWebhookInput, f9 as SharedUser, fa as ShippingAddress, fb as ShippingOption, fc as ShippingQuery, fd as StarAmount, fe as StarTransaction, ff as StarTransactions, fg as Sticker, fh as StickerSet, bu as StopMessageLiveLocationInput, bv as StopPollInput, fi as Story, fj as StoryArea, fk as StoryAreaPosition, fl as StoryAreaType, fm as StoryAreaTypeLink, fn as StoryAreaTypeLocation, fo as StoryAreaTypeSuggestedReaction, fp as StoryAreaTypeUniqueGift, fq as StoryAreaTypeWeather, fr as SuccessfulPayment, fs as SuggestedPostApprovalFailed, ft as SuggestedPostApproved, fu as SuggestedPostDeclined, fv as SuggestedPostInfo, fw as SuggestedPostPaid, fx as SuggestedPostParameters, fy as SuggestedPostPrice, fz as SuggestedPostRefunded, fA as SwitchInlineQueryChosenChat, fB as TextQuote, b as TgBotApiBaseUrl, fC as TransactionPartner, fD as TransactionPartnerAffiliateProgram, fE as TransactionPartnerChat, fF as TransactionPartnerFragment, fG as TransactionPartnerOther, fH as TransactionPartnerTelegramAds, fI as TransactionPartnerTelegramApi, fJ as TransactionPartnerUser, bw as TransferBusinessAccountStarsInput, bx as TransferGiftInput, by as UnbanChatMemberInput, bz as UnbanChatSenderChatInput, bA as UnhideGeneralForumTopicInput, fK as UniqueGift, fL as UniqueGiftBackdrop, fM as UniqueGiftBackdropColors, fN as UniqueGiftInfo, fO as UniqueGiftModel, fP as UniqueGiftSymbol, bB as UnpinAllChatMessagesInput, bC as UnpinAllForumTopicMessagesInput, bD as UnpinAllGeneralForumTopicMessagesInput, bE as UnpinChatMessageInput, bF as UpgradeGiftInput, bG as UploadStickerFileInput, fQ as User, fR as UserChatBoosts, fS as UserProfilePhotos, fT as UsersShared, fU as Venue, bH as VerifyChatInput, bI as VerifyUserInput, fV as Video, fW as VideoChatEnded, fX as VideoChatParticipantsInvited, fY as VideoChatScheduled, fZ as VideoChatStarted, f_ as VideoNote, f$ as Voice, g0 as WebAppData, g1 as WebAppInfo, g2 as WebhookInfo, g3 as WriteAccessAllowed } from './config-3uU0YevV.js';
4
4
  import 'effect/Cause';
5
5
  import 'effect/Types';
6
6
  import 'effect/Data';
package/dist/webapp.d.ts CHANGED
@@ -143,6 +143,7 @@ interface WebApp {
143
143
  setEmojiStatus: (custom_emoj_id: string, params?: EmojiStatusParams, callback?: (isStatusSet: boolean) => void) => void;
144
144
  requestEmojiStatusAccess: (url: string, callback?: (invoiceStatus: unknown) => void) => void;
145
145
  downloadFile: (params: DownloadFileParams, callback?: (isAccepted: boolean) => void) => void;
146
+ hideKeyboard: () => void;
146
147
  showPopup: (params: PopupParams, callback?: (buttonId: string) => void) => void;
147
148
  showAlert: (message: string, callback?: () => void) => void;
148
149
  showConfirm: (message: string, callback?: (isOk: boolean) => void) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-ak/tg-bot-client",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
4
4
  "homepage": "https://effect-ak.github.io/telegram-bot-playground/",
5
5
  "author": {
6
6
  "name": "Aleksandr Kondaurov",
package/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![NPM Version](https://img.shields.io/npm/v/%40effect-ak%2Ftg-bot-client)](https://www.npmjs.com/package/@effect-ak/tg-bot-client)
2
- ![Telegram Bot API](https://img.shields.io/badge/BotApi-9.0-blue?link=)
3
- ![Telegram WebApp](https://img.shields.io/badge/Telegram.WebApp-9.0-blue?link=)
2
+ ![Telegram Bot API](https://img.shields.io/badge/BotApi-9.1-blue?link=)
3
+ ![Telegram WebApp](https://img.shields.io/badge/Telegram.WebApp-9.1-blue?link=)
4
4
  [![OpenAPI](https://img.shields.io/badge/OpenAPI-3.1-blue.svg)](https://effect-ak.github.io/telegram-bot-api/)
5
5
  ![NPM Unpacked Size](https://img.shields.io/npm/unpacked-size/%40effect-ak%2Ftg-bot-client?link=)
6
6
  ![NPM Downloads](https://img.shields.io/npm/dw/%40effect-ak%2Ftg-bot-client?link=)