@mtkruto/node 0.73.0 → 0.75.0

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 (75) hide show
  1. package/esm/0_errors.d.ts +1 -1
  2. package/esm/0_errors.d.ts.map +1 -1
  3. package/esm/3_types.d.ts +1 -1
  4. package/esm/3_types.d.ts.map +1 -1
  5. package/esm/3_types.js +1 -1
  6. package/esm/client/0_storage_operations.js +2 -2
  7. package/esm/client/0_utilities.d.ts +1 -1
  8. package/esm/client/0_utilities.d.ts.map +1 -1
  9. package/esm/client/2_account_manager.js +7 -7
  10. package/esm/client/2_update_manager.js +2 -2
  11. package/esm/client/3_message_manager.js +2 -2
  12. package/esm/client/3_video_chat_manager.js +8 -8
  13. package/esm/client/4_chat_list_manager.d.ts.map +1 -1
  14. package/esm/client/4_chat_list_manager.js +36 -12
  15. package/esm/client/4_chat_manager.js +1 -1
  16. package/esm/client/4_forum_manager.js +15 -15
  17. package/esm/client/4_poll_manager.js +3 -3
  18. package/esm/client/5_client.d.ts +3 -3
  19. package/esm/client/5_client.d.ts.map +1 -1
  20. package/esm/client/5_client.js +48 -40
  21. package/esm/tl/0_tl_error.d.ts +1 -0
  22. package/esm/tl/0_tl_error.d.ts.map +1 -1
  23. package/esm/tl/0_tl_error.js +1 -0
  24. package/esm/tl/1_telegram_api.d.ts +210 -86
  25. package/esm/tl/1_telegram_api.d.ts.map +1 -1
  26. package/esm/tl/1_telegram_api.js +284 -128
  27. package/esm/types/1_chat_p.js +3 -3
  28. package/esm/types/{3_chat_member.d.ts → 2_chat_member.d.ts} +4 -5
  29. package/esm/types/2_chat_member.d.ts.map +1 -0
  30. package/esm/types/{3_chat_member.js → 2_chat_member.js} +10 -12
  31. package/esm/types/2_user.js +1 -1
  32. package/esm/types/4_chat_member_updated.d.ts +1 -1
  33. package/esm/types/4_chat_member_updated.d.ts.map +1 -1
  34. package/esm/types/4_chat_member_updated.js +7 -7
  35. package/esm/types/4_gift.d.ts +1 -1
  36. package/esm/types/4_gift.d.ts.map +1 -1
  37. package/package.json +1 -1
  38. package/script/0_errors.d.ts +1 -1
  39. package/script/0_errors.d.ts.map +1 -1
  40. package/script/3_types.d.ts +1 -1
  41. package/script/3_types.d.ts.map +1 -1
  42. package/script/3_types.js +1 -1
  43. package/script/client/0_storage_operations.js +2 -2
  44. package/script/client/0_utilities.d.ts +1 -1
  45. package/script/client/0_utilities.d.ts.map +1 -1
  46. package/script/client/2_account_manager.js +7 -7
  47. package/script/client/2_update_manager.js +2 -2
  48. package/script/client/3_message_manager.js +2 -2
  49. package/script/client/3_video_chat_manager.js +8 -8
  50. package/script/client/4_chat_list_manager.d.ts.map +1 -1
  51. package/script/client/4_chat_list_manager.js +36 -12
  52. package/script/client/4_chat_manager.js +1 -1
  53. package/script/client/4_forum_manager.js +15 -15
  54. package/script/client/4_poll_manager.js +3 -3
  55. package/script/client/5_client.d.ts +3 -3
  56. package/script/client/5_client.d.ts.map +1 -1
  57. package/script/client/5_client.js +48 -40
  58. package/script/tl/0_tl_error.d.ts +1 -0
  59. package/script/tl/0_tl_error.d.ts.map +1 -1
  60. package/script/tl/0_tl_error.js +1 -0
  61. package/script/tl/1_telegram_api.d.ts +210 -86
  62. package/script/tl/1_telegram_api.d.ts.map +1 -1
  63. package/script/tl/1_telegram_api.js +284 -128
  64. package/script/types/1_chat_p.js +3 -3
  65. package/script/types/{3_chat_member.d.ts → 2_chat_member.d.ts} +4 -5
  66. package/script/types/2_chat_member.d.ts.map +1 -0
  67. package/script/types/{3_chat_member.js → 2_chat_member.js} +10 -12
  68. package/script/types/2_user.js +1 -1
  69. package/script/types/4_chat_member_updated.d.ts +1 -1
  70. package/script/types/4_chat_member_updated.d.ts.map +1 -1
  71. package/script/types/4_chat_member_updated.js +7 -7
  72. package/script/types/4_gift.d.ts +1 -1
  73. package/script/types/4_gift.d.ts.map +1 -1
  74. package/esm/types/3_chat_member.d.ts.map +0 -1
  75. package/script/types/3_chat_member.d.ts.map +0 -1
@@ -404,6 +404,7 @@ export interface user {
404
404
  contact_require_premium?: true;
405
405
  bot_business?: true;
406
406
  bot_has_main_app?: true;
407
+ bot_forum_view?: true;
407
408
  id: bigint;
408
409
  access_hash?: bigint;
409
410
  first_name?: string;
@@ -1041,6 +1042,7 @@ export interface messageActionGiftPremium {
1041
1042
  }
1042
1043
  export interface messageActionTopicCreate {
1043
1044
  _: "messageActionTopicCreate";
1045
+ title_missing?: true;
1044
1046
  title: string;
1045
1047
  icon_color: number;
1046
1048
  icon_emoji_id?: bigint;
@@ -1152,6 +1154,7 @@ export interface messageActionStarGiftUnique {
1152
1154
  saved?: true;
1153
1155
  refunded?: true;
1154
1156
  prepaid_upgrade?: true;
1157
+ assigned?: true;
1155
1158
  gift: StarGift;
1156
1159
  can_export_at?: number;
1157
1160
  transfer_stars?: bigint;
@@ -1161,6 +1164,7 @@ export interface messageActionStarGiftUnique {
1161
1164
  resale_amount?: StarsAmount;
1162
1165
  can_transfer_at?: number;
1163
1166
  can_resell_at?: number;
1167
+ drop_original_details_stars?: bigint;
1164
1168
  }
1165
1169
  export interface messageActionPaidMessagesRefunded {
1166
1170
  _: "messageActionPaidMessagesRefunded";
@@ -1214,6 +1218,10 @@ export interface messageActionGiftTon {
1214
1218
  crypto_amount: bigint;
1215
1219
  transaction_id?: string;
1216
1220
  }
1221
+ export interface messageActionSuggestBirthday {
1222
+ _: "messageActionSuggestBirthday";
1223
+ birthday: Birthday;
1224
+ }
1217
1225
  export interface dialog {
1218
1226
  _: "dialog";
1219
1227
  pinned?: true;
@@ -1320,6 +1328,8 @@ export interface auth_sentCodePaymentRequired {
1320
1328
  phone_code_hash: string;
1321
1329
  support_email_address: string;
1322
1330
  support_email_subject: string;
1331
+ currency: string;
1332
+ amount: bigint;
1323
1333
  }
1324
1334
  export interface auth_authorization {
1325
1335
  _: "auth.authorization";
@@ -1508,6 +1518,7 @@ export interface userFull {
1508
1518
  stars_my_pending_rating_date?: number;
1509
1519
  main_tab?: ProfileTab;
1510
1520
  saved_music?: Document;
1521
+ note?: TextWithEntities;
1511
1522
  }
1512
1523
  export interface contact {
1513
1524
  _: "contact";
@@ -1575,6 +1586,7 @@ export interface messages_dialogsNotModified {
1575
1586
  export interface messages_messages {
1576
1587
  _: "messages.messages";
1577
1588
  messages: Array<Message>;
1589
+ topics: Array<ForumTopic>;
1578
1590
  chats: Array<Chat>;
1579
1591
  users: Array<User>;
1580
1592
  }
@@ -1586,6 +1598,7 @@ export interface messages_messagesSlice {
1586
1598
  offset_id_offset?: number;
1587
1599
  search_flood?: SearchPostsFlood;
1588
1600
  messages: Array<Message>;
1601
+ topics: Array<ForumTopic>;
1589
1602
  chats: Array<Chat>;
1590
1603
  users: Array<User>;
1591
1604
  }
@@ -1697,6 +1710,7 @@ export interface updateDeleteMessages {
1697
1710
  export interface updateUserTyping {
1698
1711
  _: "updateUserTyping";
1699
1712
  user_id: bigint;
1713
+ top_msg_id?: number;
1700
1714
  action: SendMessageAction;
1701
1715
  }
1702
1716
  export interface updateChatUserTyping {
@@ -1796,6 +1810,7 @@ export interface updateReadHistoryInbox {
1796
1810
  _: "updateReadHistoryInbox";
1797
1811
  folder_id?: number;
1798
1812
  peer: Peer;
1813
+ top_msg_id?: number;
1799
1814
  max_id: number;
1800
1815
  still_unread_count: number;
1801
1816
  pts: number;
@@ -2290,17 +2305,6 @@ export interface updateMessageExtendedMedia {
2290
2305
  msg_id: number;
2291
2306
  extended_media: Array<MessageExtendedMedia>;
2292
2307
  }
2293
- export interface updateChannelPinnedTopic {
2294
- _: "updateChannelPinnedTopic";
2295
- pinned?: true;
2296
- channel_id: bigint;
2297
- topic_id: number;
2298
- }
2299
- export interface updateChannelPinnedTopics {
2300
- _: "updateChannelPinnedTopics";
2301
- channel_id: bigint;
2302
- order?: Array<number>;
2303
- }
2304
2308
  export interface updateUser {
2305
2309
  _: "updateUser";
2306
2310
  user_id: bigint;
@@ -2495,6 +2499,30 @@ export interface updateMonoForumNoPaidException {
2495
2499
  channel_id: bigint;
2496
2500
  saved_peer_id: Peer;
2497
2501
  }
2502
+ export interface updateGroupCallMessage {
2503
+ _: "updateGroupCallMessage";
2504
+ call: InputGroupCall;
2505
+ from_id: Peer;
2506
+ random_id: bigint;
2507
+ message: TextWithEntities;
2508
+ }
2509
+ export interface updateGroupCallEncryptedMessage {
2510
+ _: "updateGroupCallEncryptedMessage";
2511
+ call: InputGroupCall;
2512
+ from_id: Peer;
2513
+ encrypted_message: Uint8Array<ArrayBuffer>;
2514
+ }
2515
+ export interface updatePinnedForumTopic {
2516
+ _: "updatePinnedForumTopic";
2517
+ pinned?: true;
2518
+ peer: Peer;
2519
+ topic_id: number;
2520
+ }
2521
+ export interface updatePinnedForumTopics {
2522
+ _: "updatePinnedForumTopics";
2523
+ peer: Peer;
2524
+ order?: Array<number>;
2525
+ }
2498
2526
  export interface updates_state {
2499
2527
  _: "updates.state";
2500
2528
  pts: number;
@@ -2942,6 +2970,11 @@ export interface sendMessageEmojiInteractionSeen {
2942
2970
  _: "sendMessageEmojiInteractionSeen";
2943
2971
  emoticon: string;
2944
2972
  }
2973
+ export interface sendMessageTextDraftAction {
2974
+ _: "sendMessageTextDraftAction";
2975
+ random_id: bigint;
2976
+ text: TextWithEntities;
2977
+ }
2945
2978
  export interface contacts_found {
2946
2979
  _: "contacts.found";
2947
2980
  my_results: Array<Peer>;
@@ -6347,6 +6380,9 @@ export interface groupCall {
6347
6380
  listeners_hidden?: true;
6348
6381
  conference?: true;
6349
6382
  creator?: true;
6383
+ messages_enabled?: true;
6384
+ can_change_messages_enabled?: true;
6385
+ min?: true;
6350
6386
  id: bigint;
6351
6387
  access_hash: bigint;
6352
6388
  participants_count: number;
@@ -6573,7 +6609,7 @@ export interface account_chatThemes {
6573
6609
  themes: Array<ChatTheme>;
6574
6610
  chats: Array<Chat>;
6575
6611
  users: Array<User>;
6576
- next_offset?: number;
6612
+ next_offset?: string;
6577
6613
  }
6578
6614
  export interface sponsoredMessage {
6579
6615
  _: "sponsoredMessage";
@@ -6893,6 +6929,14 @@ export interface inputInvoiceStarGiftPrepaidUpgrade {
6893
6929
  peer: InputPeer;
6894
6930
  hash: string;
6895
6931
  }
6932
+ export interface inputInvoicePremiumAuthCode {
6933
+ _: "inputInvoicePremiumAuthCode";
6934
+ purpose: InputStorePaymentPurpose;
6935
+ }
6936
+ export interface inputInvoiceStarGiftDropOriginalDetails {
6937
+ _: "inputInvoiceStarGiftDropOriginalDetails";
6938
+ stargift: InputSavedStarGift;
6939
+ }
6896
6940
  export interface payments_exportedInvoice {
6897
6941
  _: "payments.exportedInvoice";
6898
6942
  url: string;
@@ -7136,8 +7180,10 @@ export interface forumTopic {
7136
7180
  pinned?: true;
7137
7181
  short?: true;
7138
7182
  hidden?: true;
7183
+ title_missing?: true;
7139
7184
  id: number;
7140
7185
  date: number;
7186
+ peer: Peer;
7141
7187
  title: string;
7142
7188
  icon_color: number;
7143
7189
  icon_emoji_id?: bigint;
@@ -7740,6 +7786,20 @@ export interface peerColor {
7740
7786
  color?: number;
7741
7787
  background_emoji_id?: bigint;
7742
7788
  }
7789
+ export interface peerColorCollectible {
7790
+ _: "peerColorCollectible";
7791
+ collectible_id: bigint;
7792
+ gift_emoji_id: bigint;
7793
+ background_emoji_id: bigint;
7794
+ accent_color: number;
7795
+ colors: Array<number>;
7796
+ dark_accent_color?: number;
7797
+ dark_colors?: Array<number>;
7798
+ }
7799
+ export interface inputPeerColorCollectible {
7800
+ _: "inputPeerColorCollectible";
7801
+ collectible_id: bigint;
7802
+ }
7743
7803
  export interface help_peerColorSet {
7744
7804
  _: "help.peerColorSet";
7745
7805
  colors: Array<number>;
@@ -8231,6 +8291,7 @@ export interface starsTransaction {
8231
8291
  stargift_resale?: true;
8232
8292
  posts_search?: true;
8233
8293
  stargift_prepaid_upgrade?: true;
8294
+ stargift_drop_original_details?: true;
8234
8295
  id: string;
8235
8296
  amount: StarsAmount;
8236
8297
  date: number;
@@ -8389,6 +8450,7 @@ export interface starGift {
8389
8450
  birthday?: true;
8390
8451
  require_premium?: true;
8391
8452
  limited_per_user?: true;
8453
+ peer_color_available?: true;
8392
8454
  id: bigint;
8393
8455
  sticker: Document;
8394
8456
  stars: bigint;
@@ -8428,6 +8490,8 @@ export interface starGiftUnique {
8428
8490
  value_amount?: bigint;
8429
8491
  value_currency?: string;
8430
8492
  theme_peer?: Peer;
8493
+ peer_color?: PeerColor;
8494
+ host_id?: Peer;
8431
8495
  }
8432
8496
  export interface payments_starGiftsNotModified {
8433
8497
  _: "payments.starGiftsNotModified";
@@ -8574,6 +8638,8 @@ export interface starGiftAttributeOriginalDetails {
8574
8638
  export interface payments_starGiftUpgradePreview {
8575
8639
  _: "payments.starGiftUpgradePreview";
8576
8640
  sample_attributes: Array<StarGiftAttribute>;
8641
+ prices: Array<StarGiftUpgradePrice>;
8642
+ next_prices: Array<StarGiftUpgradePrice>;
8577
8643
  }
8578
8644
  export interface users_users {
8579
8645
  _: "users.users";
@@ -8618,6 +8684,7 @@ export interface savedStarGift {
8618
8684
  can_resell_at?: number;
8619
8685
  collection_id?: Array<number>;
8620
8686
  prepaid_upgrade_hash?: string;
8687
+ drop_original_details_stars?: bigint;
8621
8688
  }
8622
8689
  export interface payments_savedStarGifts {
8623
8690
  _: "payments.savedStarGifts";
@@ -8893,6 +8960,11 @@ export interface inputChatThemeUniqueGift {
8893
8960
  _: "inputChatThemeUniqueGift";
8894
8961
  slug: string;
8895
8962
  }
8963
+ export interface starGiftUpgradePrice {
8964
+ _: "starGiftUpgradePrice";
8965
+ date: number;
8966
+ upgrade_stars: bigint;
8967
+ }
8896
8968
  export interface invokeAfterMsg<T> {
8897
8969
  _: "invokeAfterMsg";
8898
8970
  msg_id: bigint;
@@ -9112,6 +9184,13 @@ export interface auth_reportMissingCode {
9112
9184
  mnc: string;
9113
9185
  [R]?: boolean;
9114
9186
  }
9187
+ export interface auth_checkPaidAuth {
9188
+ _: "auth.checkPaidAuth";
9189
+ phone_number: string;
9190
+ phone_code_hash: string;
9191
+ form_id: bigint;
9192
+ [R]?: auth_SentCode;
9193
+ }
9115
9194
  export interface account_registerDevice {
9116
9195
  _: "account.registerDevice";
9117
9196
  no_muted?: true;
@@ -9616,8 +9695,7 @@ export interface account_invalidateSignInCodes {
9616
9695
  export interface account_updateColor {
9617
9696
  _: "account.updateColor";
9618
9697
  for_profile?: true;
9619
- color?: number;
9620
- background_emoji_id?: bigint;
9698
+ color?: PeerColor;
9621
9699
  [R]?: boolean;
9622
9700
  }
9623
9701
  export interface account_getDefaultBackgroundEmojis {
@@ -9776,7 +9854,7 @@ export interface account_getSavedMusicIds {
9776
9854
  }
9777
9855
  export interface account_getUniqueGiftChatThemes {
9778
9856
  _: "account.getUniqueGiftChatThemes";
9779
- offset: number;
9857
+ offset: string;
9780
9858
  limit: number;
9781
9859
  hash: bigint;
9782
9860
  [R]?: account_ChatThemes;
@@ -9816,6 +9894,12 @@ export interface users_getSavedMusicByID {
9816
9894
  documents: Array<InputDocument>;
9817
9895
  [R]?: users_SavedMusic;
9818
9896
  }
9897
+ export interface users_suggestBirthday {
9898
+ _: "users.suggestBirthday";
9899
+ id: InputUser;
9900
+ birthday: Birthday;
9901
+ [R]?: Updates;
9902
+ }
9819
9903
  export interface contacts_getContactIDs {
9820
9904
  _: "contacts.getContactIDs";
9821
9905
  hash: bigint;
@@ -9918,6 +10002,7 @@ export interface contacts_addContact {
9918
10002
  first_name: string;
9919
10003
  last_name: string;
9920
10004
  phone: string;
10005
+ note?: TextWithEntities;
9921
10006
  [R]?: Updates;
9922
10007
  }
9923
10008
  export interface contacts_acceptContact {
@@ -9975,6 +10060,12 @@ export interface contacts_getSponsoredPeers {
9975
10060
  q: string;
9976
10061
  [R]?: contacts_SponsoredPeers;
9977
10062
  }
10063
+ export interface contacts_updateContactNote {
10064
+ _: "contacts.updateContactNote";
10065
+ id: InputUser;
10066
+ note: TextWithEntities;
10067
+ [R]?: boolean;
10068
+ }
9978
10069
  export interface messages_getMessages {
9979
10070
  _: "messages.getMessages";
9980
10071
  id: Array<InputMessage>;
@@ -11635,6 +11726,63 @@ export interface messages_toggleSuggestedPostApproval {
11635
11726
  reject_comment?: string;
11636
11727
  [R]?: Updates;
11637
11728
  }
11729
+ export interface messages_getForumTopics {
11730
+ _: "messages.getForumTopics";
11731
+ peer: InputPeer;
11732
+ q?: string;
11733
+ offset_date: number;
11734
+ offset_id: number;
11735
+ offset_topic: number;
11736
+ limit: number;
11737
+ [R]?: messages_ForumTopics;
11738
+ }
11739
+ export interface messages_getForumTopicsByID {
11740
+ _: "messages.getForumTopicsByID";
11741
+ peer: InputPeer;
11742
+ topics: Array<number>;
11743
+ [R]?: messages_ForumTopics;
11744
+ }
11745
+ export interface messages_editForumTopic {
11746
+ _: "messages.editForumTopic";
11747
+ peer: InputPeer;
11748
+ topic_id: number;
11749
+ title?: string;
11750
+ icon_emoji_id?: bigint;
11751
+ closed?: boolean;
11752
+ hidden?: boolean;
11753
+ [R]?: Updates;
11754
+ }
11755
+ export interface messages_updatePinnedForumTopic {
11756
+ _: "messages.updatePinnedForumTopic";
11757
+ peer: InputPeer;
11758
+ topic_id: number;
11759
+ pinned: boolean;
11760
+ [R]?: Updates;
11761
+ }
11762
+ export interface messages_reorderPinnedForumTopics {
11763
+ _: "messages.reorderPinnedForumTopics";
11764
+ force?: true;
11765
+ peer: InputPeer;
11766
+ order: Array<number>;
11767
+ [R]?: Updates;
11768
+ }
11769
+ export interface messages_createForumTopic {
11770
+ _: "messages.createForumTopic";
11771
+ title_missing?: true;
11772
+ peer: InputPeer;
11773
+ title: string;
11774
+ icon_color?: number;
11775
+ icon_emoji_id?: bigint;
11776
+ random_id: bigint;
11777
+ send_as?: InputPeer;
11778
+ [R]?: Updates;
11779
+ }
11780
+ export interface messages_deleteTopicHistory {
11781
+ _: "messages.deleteTopicHistory";
11782
+ peer: InputPeer;
11783
+ top_msg_id: number;
11784
+ [R]?: messages_AffectedHistory;
11785
+ }
11638
11786
  export interface updates_getState {
11639
11787
  _: "updates.getState";
11640
11788
  [R]?: updates_State;
@@ -12150,62 +12298,6 @@ export interface channels_toggleForum {
12150
12298
  tabs: boolean;
12151
12299
  [R]?: Updates;
12152
12300
  }
12153
- export interface channels_createForumTopic {
12154
- _: "channels.createForumTopic";
12155
- channel: InputChannel;
12156
- title: string;
12157
- icon_color?: number;
12158
- icon_emoji_id?: bigint;
12159
- random_id: bigint;
12160
- send_as?: InputPeer;
12161
- [R]?: Updates;
12162
- }
12163
- export interface channels_getForumTopics {
12164
- _: "channels.getForumTopics";
12165
- channel: InputChannel;
12166
- q?: string;
12167
- offset_date: number;
12168
- offset_id: number;
12169
- offset_topic: number;
12170
- limit: number;
12171
- [R]?: messages_ForumTopics;
12172
- }
12173
- export interface channels_getForumTopicsByID {
12174
- _: "channels.getForumTopicsByID";
12175
- channel: InputChannel;
12176
- topics: Array<number>;
12177
- [R]?: messages_ForumTopics;
12178
- }
12179
- export interface channels_editForumTopic {
12180
- _: "channels.editForumTopic";
12181
- channel: InputChannel;
12182
- topic_id: number;
12183
- title?: string;
12184
- icon_emoji_id?: bigint;
12185
- closed?: boolean;
12186
- hidden?: boolean;
12187
- [R]?: Updates;
12188
- }
12189
- export interface channels_updatePinnedForumTopic {
12190
- _: "channels.updatePinnedForumTopic";
12191
- channel: InputChannel;
12192
- topic_id: number;
12193
- pinned: boolean;
12194
- [R]?: Updates;
12195
- }
12196
- export interface channels_deleteTopicHistory {
12197
- _: "channels.deleteTopicHistory";
12198
- channel: InputChannel;
12199
- top_msg_id: number;
12200
- [R]?: messages_AffectedHistory;
12201
- }
12202
- export interface channels_reorderPinnedForumTopics {
12203
- _: "channels.reorderPinnedForumTopics";
12204
- force?: true;
12205
- channel: InputChannel;
12206
- order: Array<number>;
12207
- [R]?: Updates;
12208
- }
12209
12301
  export interface channels_toggleAntiSpam {
12210
12302
  _: "channels.toggleAntiSpam";
12211
12303
  channel: InputChannel;
@@ -12763,6 +12855,8 @@ export interface payments_getSavedStarGifts {
12763
12855
  sort_by_value?: true;
12764
12856
  exclude_upgradable?: true;
12765
12857
  exclude_unupgradable?: true;
12858
+ peer_color_available?: true;
12859
+ exclude_hosted?: true;
12766
12860
  peer: InputPeer;
12767
12861
  collection_id?: number;
12768
12862
  offset: string;
@@ -13036,6 +13130,7 @@ export interface phone_toggleGroupCallSettings {
13036
13130
  reset_invite_hash?: true;
13037
13131
  call: InputGroupCall;
13038
13132
  join_muted?: boolean;
13133
+ messages_enabled?: boolean;
13039
13134
  [R]?: Updates;
13040
13135
  }
13041
13136
  export interface phone_getGroupCall {
@@ -13188,6 +13283,19 @@ export interface phone_getGroupCallChainBlocks {
13188
13283
  limit: number;
13189
13284
  [R]?: Updates;
13190
13285
  }
13286
+ export interface phone_sendGroupCallMessage {
13287
+ _: "phone.sendGroupCallMessage";
13288
+ call: InputGroupCall;
13289
+ random_id: bigint;
13290
+ message: TextWithEntities;
13291
+ [R]?: boolean;
13292
+ }
13293
+ export interface phone_sendGroupCallEncryptedMessage {
13294
+ _: "phone.sendGroupCallEncryptedMessage";
13295
+ call: InputGroupCall;
13296
+ encrypted_message: Uint8Array<ArrayBuffer>;
13297
+ [R]?: boolean;
13298
+ }
13191
13299
  export interface langpack_getLangPack {
13192
13300
  _: "langpack.getLangPack";
13193
13301
  lang_pack: string;
@@ -13801,6 +13909,7 @@ export interface Types {
13801
13909
  "messageActionSuggestedPostSuccess": messageActionSuggestedPostSuccess;
13802
13910
  "messageActionSuggestedPostRefund": messageActionSuggestedPostRefund;
13803
13911
  "messageActionGiftTon": messageActionGiftTon;
13912
+ "messageActionSuggestBirthday": messageActionSuggestBirthday;
13804
13913
  "dialog": dialog;
13805
13914
  "dialogFolder": dialogFolder;
13806
13915
  "photoEmpty": photoEmpty;
@@ -13983,8 +14092,6 @@ export interface Types {
13983
14092
  "updateRecentReactions": updateRecentReactions;
13984
14093
  "updateMoveStickerSetToTop": updateMoveStickerSetToTop;
13985
14094
  "updateMessageExtendedMedia": updateMessageExtendedMedia;
13986
- "updateChannelPinnedTopic": updateChannelPinnedTopic;
13987
- "updateChannelPinnedTopics": updateChannelPinnedTopics;
13988
14095
  "updateUser": updateUser;
13989
14096
  "updateAutoSaveSettings": updateAutoSaveSettings;
13990
14097
  "updateStory": updateStory;
@@ -14021,6 +14128,10 @@ export interface Types {
14021
14128
  "updateReadMonoForumInbox": updateReadMonoForumInbox;
14022
14129
  "updateReadMonoForumOutbox": updateReadMonoForumOutbox;
14023
14130
  "updateMonoForumNoPaidException": updateMonoForumNoPaidException;
14131
+ "updateGroupCallMessage": updateGroupCallMessage;
14132
+ "updateGroupCallEncryptedMessage": updateGroupCallEncryptedMessage;
14133
+ "updatePinnedForumTopic": updatePinnedForumTopic;
14134
+ "updatePinnedForumTopics": updatePinnedForumTopics;
14024
14135
  "updates.state": updates_state;
14025
14136
  "updates.differenceEmpty": updates_differenceEmpty;
14026
14137
  "updates.difference": updates_difference;
@@ -14090,6 +14201,7 @@ export interface Types {
14090
14201
  "sendMessageChooseStickerAction": sendMessageChooseStickerAction;
14091
14202
  "sendMessageEmojiInteraction": sendMessageEmojiInteraction;
14092
14203
  "sendMessageEmojiInteractionSeen": sendMessageEmojiInteractionSeen;
14204
+ "sendMessageTextDraftAction": sendMessageTextDraftAction;
14093
14205
  "contacts.found": contacts_found;
14094
14206
  "inputPrivacyKeyStatusTimestamp": inputPrivacyKeyStatusTimestamp;
14095
14207
  "inputPrivacyKeyChatInvite": inputPrivacyKeyChatInvite;
@@ -14789,6 +14901,8 @@ export interface Types {
14789
14901
  "inputInvoiceBusinessBotTransferStars": inputInvoiceBusinessBotTransferStars;
14790
14902
  "inputInvoiceStarGiftResale": inputInvoiceStarGiftResale;
14791
14903
  "inputInvoiceStarGiftPrepaidUpgrade": inputInvoiceStarGiftPrepaidUpgrade;
14904
+ "inputInvoicePremiumAuthCode": inputInvoicePremiumAuthCode;
14905
+ "inputInvoiceStarGiftDropOriginalDetails": inputInvoiceStarGiftDropOriginalDetails;
14792
14906
  "payments.exportedInvoice": payments_exportedInvoice;
14793
14907
  "messages.transcribedAudio": messages_transcribedAudio;
14794
14908
  "help.premiumPromo": help_premiumPromo;
@@ -14919,6 +15033,8 @@ export interface Types {
14919
15033
  "publicForwardStory": publicForwardStory;
14920
15034
  "stats.publicForwards": stats_publicForwards;
14921
15035
  "peerColor": peerColor;
15036
+ "peerColorCollectible": peerColorCollectible;
15037
+ "inputPeerColorCollectible": inputPeerColorCollectible;
14922
15038
  "help.peerColorSet": help_peerColorSet;
14923
15039
  "help.peerColorProfileSet": help_peerColorProfileSet;
14924
15040
  "help.peerColorOption": help_peerColorOption;
@@ -15108,6 +15224,7 @@ export interface Types {
15108
15224
  "inputChatThemeEmpty": inputChatThemeEmpty;
15109
15225
  "inputChatTheme": inputChatTheme;
15110
15226
  "inputChatThemeUniqueGift": inputChatThemeUniqueGift;
15227
+ "starGiftUpgradePrice": starGiftUpgradePrice;
15111
15228
  }
15112
15229
  export interface Functions<T = Function> {
15113
15230
  "invokeAfterMsg": invokeAfterMsg<T>;
@@ -15144,6 +15261,7 @@ export interface Functions<T = Function> {
15144
15261
  "auth.requestFirebaseSms": auth_requestFirebaseSms;
15145
15262
  "auth.resetLoginEmail": auth_resetLoginEmail;
15146
15263
  "auth.reportMissingCode": auth_reportMissingCode;
15264
+ "auth.checkPaidAuth": auth_checkPaidAuth;
15147
15265
  "account.registerDevice": account_registerDevice;
15148
15266
  "account.unregisterDevice": account_unregisterDevice;
15149
15267
  "account.updateNotifySettings": account_updateNotifySettings;
@@ -15269,6 +15387,7 @@ export interface Functions<T = Function> {
15269
15387
  "users.getRequirementsToContact": users_getRequirementsToContact;
15270
15388
  "users.getSavedMusic": users_getSavedMusic;
15271
15389
  "users.getSavedMusicByID": users_getSavedMusicByID;
15390
+ "users.suggestBirthday": users_suggestBirthday;
15272
15391
  "contacts.getContactIDs": contacts_getContactIDs;
15273
15392
  "contacts.getStatuses": contacts_getStatuses;
15274
15393
  "contacts.getContacts": contacts_getContacts;
@@ -15296,6 +15415,7 @@ export interface Functions<T = Function> {
15296
15415
  "contacts.setBlocked": contacts_setBlocked;
15297
15416
  "contacts.getBirthdays": contacts_getBirthdays;
15298
15417
  "contacts.getSponsoredPeers": contacts_getSponsoredPeers;
15418
+ "contacts.updateContactNote": contacts_updateContactNote;
15299
15419
  "messages.getMessages": messages_getMessages;
15300
15420
  "messages.getDialogs": messages_getDialogs;
15301
15421
  "messages.getHistory": messages_getHistory;
@@ -15526,6 +15646,13 @@ export interface Functions<T = Function> {
15526
15646
  "messages.toggleTodoCompleted": messages_toggleTodoCompleted;
15527
15647
  "messages.appendTodoList": messages_appendTodoList;
15528
15648
  "messages.toggleSuggestedPostApproval": messages_toggleSuggestedPostApproval;
15649
+ "messages.getForumTopics": messages_getForumTopics;
15650
+ "messages.getForumTopicsByID": messages_getForumTopicsByID;
15651
+ "messages.editForumTopic": messages_editForumTopic;
15652
+ "messages.updatePinnedForumTopic": messages_updatePinnedForumTopic;
15653
+ "messages.reorderPinnedForumTopics": messages_reorderPinnedForumTopics;
15654
+ "messages.createForumTopic": messages_createForumTopic;
15655
+ "messages.deleteTopicHistory": messages_deleteTopicHistory;
15529
15656
  "updates.getState": updates_getState;
15530
15657
  "updates.getDifference": updates_getDifference;
15531
15658
  "updates.getChannelDifference": updates_getChannelDifference;
@@ -15610,13 +15737,6 @@ export interface Functions<T = Function> {
15610
15737
  "channels.toggleUsername": channels_toggleUsername;
15611
15738
  "channels.deactivateAllUsernames": channels_deactivateAllUsernames;
15612
15739
  "channels.toggleForum": channels_toggleForum;
15613
- "channels.createForumTopic": channels_createForumTopic;
15614
- "channels.getForumTopics": channels_getForumTopics;
15615
- "channels.getForumTopicsByID": channels_getForumTopicsByID;
15616
- "channels.editForumTopic": channels_editForumTopic;
15617
- "channels.updatePinnedForumTopic": channels_updatePinnedForumTopic;
15618
- "channels.deleteTopicHistory": channels_deleteTopicHistory;
15619
- "channels.reorderPinnedForumTopics": channels_reorderPinnedForumTopics;
15620
15740
  "channels.toggleAntiSpam": channels_toggleAntiSpam;
15621
15741
  "channels.reportAntiSpamFalsePositive": channels_reportAntiSpamFalsePositive;
15622
15742
  "channels.toggleParticipantsHidden": channels_toggleParticipantsHidden;
@@ -15768,6 +15888,8 @@ export interface Functions<T = Function> {
15768
15888
  "phone.inviteConferenceCallParticipant": phone_inviteConferenceCallParticipant;
15769
15889
  "phone.declineConferenceCallInvite": phone_declineConferenceCallInvite;
15770
15890
  "phone.getGroupCallChainBlocks": phone_getGroupCallChainBlocks;
15891
+ "phone.sendGroupCallMessage": phone_sendGroupCallMessage;
15892
+ "phone.sendGroupCallEncryptedMessage": phone_sendGroupCallEncryptedMessage;
15771
15893
  "langpack.getLangPack": langpack_getLangPack;
15772
15894
  "langpack.getStrings": langpack_getStrings;
15773
15895
  "langpack.getDifference": langpack_getDifference;
@@ -16395,6 +16517,7 @@ export interface Enums {
16395
16517
  "account.SavedMusicIds": account_SavedMusicIds;
16396
16518
  "payments.CheckCanSendGiftResult": payments_CheckCanSendGiftResult;
16397
16519
  "InputChatTheme": InputChatTheme;
16520
+ "StarGiftUpgradePrice": StarGiftUpgradePrice;
16398
16521
  }
16399
16522
  export type AnyType = Types[keyof Types];
16400
16523
  export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
@@ -16424,7 +16547,7 @@ export type ChatParticipants = chatParticipantsForbidden | chatParticipants;
16424
16547
  export type ChatPhoto = chatPhotoEmpty | chatPhoto;
16425
16548
  export type Message = messageEmpty | message | messageService;
16426
16549
  export type MessageMedia = messageMediaEmpty | messageMediaPhoto | messageMediaGeo | messageMediaContact | messageMediaUnsupported | messageMediaDocument | messageMediaWebPage | messageMediaVenue | messageMediaGame | messageMediaInvoice | messageMediaGeoLive | messageMediaPoll | messageMediaDice | messageMediaStory | messageMediaGiveaway | messageMediaGiveawayResults | messageMediaPaidMedia | messageMediaToDo;
16427
- export type MessageAction = messageActionEmpty | messageActionChatCreate | messageActionChatEditTitle | messageActionChatEditPhoto | messageActionChatDeletePhoto | messageActionChatAddUser | messageActionChatDeleteUser | messageActionChatJoinedByLink | messageActionChannelCreate | messageActionChatMigrateTo | messageActionChannelMigrateFrom | messageActionPinMessage | messageActionHistoryClear | messageActionGameScore | messageActionPaymentSentMe | messageActionPaymentSent | messageActionPhoneCall | messageActionScreenshotTaken | messageActionCustomAction | messageActionBotAllowed | messageActionSecureValuesSentMe | messageActionSecureValuesSent | messageActionContactSignUp | messageActionGeoProximityReached | messageActionGroupCall | messageActionInviteToGroupCall | messageActionSetMessagesTTL | messageActionGroupCallScheduled | messageActionSetChatTheme | messageActionChatJoinedByRequest | messageActionWebViewDataSentMe | messageActionWebViewDataSent | messageActionGiftPremium | messageActionTopicCreate | messageActionTopicEdit | messageActionSuggestProfilePhoto | messageActionRequestedPeer | messageActionSetChatWallPaper | messageActionGiftCode | messageActionGiveawayLaunch | messageActionGiveawayResults | messageActionBoostApply | messageActionRequestedPeerSentMe | messageActionPaymentRefunded | messageActionGiftStars | messageActionPrizeStars | messageActionStarGift | messageActionStarGiftUnique | messageActionPaidMessagesRefunded | messageActionPaidMessagesPrice | messageActionConferenceCall | messageActionTodoCompletions | messageActionTodoAppendTasks | messageActionSuggestedPostApproval | messageActionSuggestedPostSuccess | messageActionSuggestedPostRefund | messageActionGiftTon;
16550
+ export type MessageAction = messageActionEmpty | messageActionChatCreate | messageActionChatEditTitle | messageActionChatEditPhoto | messageActionChatDeletePhoto | messageActionChatAddUser | messageActionChatDeleteUser | messageActionChatJoinedByLink | messageActionChannelCreate | messageActionChatMigrateTo | messageActionChannelMigrateFrom | messageActionPinMessage | messageActionHistoryClear | messageActionGameScore | messageActionPaymentSentMe | messageActionPaymentSent | messageActionPhoneCall | messageActionScreenshotTaken | messageActionCustomAction | messageActionBotAllowed | messageActionSecureValuesSentMe | messageActionSecureValuesSent | messageActionContactSignUp | messageActionGeoProximityReached | messageActionGroupCall | messageActionInviteToGroupCall | messageActionSetMessagesTTL | messageActionGroupCallScheduled | messageActionSetChatTheme | messageActionChatJoinedByRequest | messageActionWebViewDataSentMe | messageActionWebViewDataSent | messageActionGiftPremium | messageActionTopicCreate | messageActionTopicEdit | messageActionSuggestProfilePhoto | messageActionRequestedPeer | messageActionSetChatWallPaper | messageActionGiftCode | messageActionGiveawayLaunch | messageActionGiveawayResults | messageActionBoostApply | messageActionRequestedPeerSentMe | messageActionPaymentRefunded | messageActionGiftStars | messageActionPrizeStars | messageActionStarGift | messageActionStarGiftUnique | messageActionPaidMessagesRefunded | messageActionPaidMessagesPrice | messageActionConferenceCall | messageActionTodoCompletions | messageActionTodoAppendTasks | messageActionSuggestedPostApproval | messageActionSuggestedPostSuccess | messageActionSuggestedPostRefund | messageActionGiftTon | messageActionSuggestBirthday;
16428
16551
  export type Dialog = dialog | dialogFolder;
16429
16552
  export type Photo = photoEmpty | photo;
16430
16553
  export type PhotoSize = photoSizeEmpty | photoSize | photoCachedSize | photoStrippedSize | photoSizeProgressive | photoPathSize;
@@ -16451,7 +16574,7 @@ export type messages_Chats = messages_chats | messages_chatsSlice;
16451
16574
  export type messages_ChatFull = messages_chatFull;
16452
16575
  export type messages_AffectedHistory = messages_affectedHistory;
16453
16576
  export type MessagesFilter = inputMessagesFilterEmpty | inputMessagesFilterPhotos | inputMessagesFilterVideo | inputMessagesFilterPhotoVideo | inputMessagesFilterDocument | inputMessagesFilterUrl | inputMessagesFilterGif | inputMessagesFilterVoice | inputMessagesFilterMusic | inputMessagesFilterChatPhotos | inputMessagesFilterPhoneCalls | inputMessagesFilterRoundVoice | inputMessagesFilterRoundVideo | inputMessagesFilterMyMentions | inputMessagesFilterGeo | inputMessagesFilterContacts | inputMessagesFilterPinned;
16454
- export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateChannelPinnedTopic | updateChannelPinnedTopics | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException;
16577
+ export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException | updateGroupCallMessage | updateGroupCallEncryptedMessage | updatePinnedForumTopic | updatePinnedForumTopics;
16455
16578
  export type updates_State = updates_state;
16456
16579
  export type updates_Difference = updates_differenceEmpty | updates_difference | updates_differenceSlice | updates_differenceTooLong;
16457
16580
  export type Updates = updatesTooLong | updateShortMessage | updateShortChatMessage | updateShort | updatesCombined | updates | updateShortSentMessage;
@@ -16474,7 +16597,7 @@ export type InputDocument = inputDocumentEmpty | inputDocument;
16474
16597
  export type Document = documentEmpty | document;
16475
16598
  export type help_Support = help_support;
16476
16599
  export type NotifyPeer = notifyPeer | notifyUsers | notifyChats | notifyBroadcasts | notifyForumTopic;
16477
- export type SendMessageAction = sendMessageTypingAction | sendMessageCancelAction | sendMessageRecordVideoAction | sendMessageUploadVideoAction | sendMessageRecordAudioAction | sendMessageUploadAudioAction | sendMessageUploadPhotoAction | sendMessageUploadDocumentAction | sendMessageGeoLocationAction | sendMessageChooseContactAction | sendMessageGamePlayAction | sendMessageRecordRoundAction | sendMessageUploadRoundAction | speakingInGroupCallAction | sendMessageHistoryImportAction | sendMessageChooseStickerAction | sendMessageEmojiInteraction | sendMessageEmojiInteractionSeen;
16600
+ export type SendMessageAction = sendMessageTypingAction | sendMessageCancelAction | sendMessageRecordVideoAction | sendMessageUploadVideoAction | sendMessageRecordAudioAction | sendMessageUploadAudioAction | sendMessageUploadPhotoAction | sendMessageUploadDocumentAction | sendMessageGeoLocationAction | sendMessageChooseContactAction | sendMessageGamePlayAction | sendMessageRecordRoundAction | sendMessageUploadRoundAction | speakingInGroupCallAction | sendMessageHistoryImportAction | sendMessageChooseStickerAction | sendMessageEmojiInteraction | sendMessageEmojiInteractionSeen | sendMessageTextDraftAction;
16478
16601
  export type contacts_Found = contacts_found;
16479
16602
  export type InputPrivacyKey = inputPrivacyKeyStatusTimestamp | inputPrivacyKeyChatInvite | inputPrivacyKeyPhoneCall | inputPrivacyKeyPhoneP2P | inputPrivacyKeyForwards | inputPrivacyKeyProfilePhoto | inputPrivacyKeyPhoneNumber | inputPrivacyKeyAddedByPhone | inputPrivacyKeyVoiceMessages | inputPrivacyKeyAbout | inputPrivacyKeyBirthday | inputPrivacyKeyStarGiftsAutoSave | inputPrivacyKeyNoPaidMessages;
16480
16603
  export type PrivacyKey = privacyKeyStatusTimestamp | privacyKeyChatInvite | privacyKeyPhoneCall | privacyKeyPhoneP2P | privacyKeyForwards | privacyKeyProfilePhoto | privacyKeyPhoneNumber | privacyKeyAddedByPhone | privacyKeyVoiceMessages | privacyKeyAbout | privacyKeyBirthday | privacyKeyStarGiftsAutoSave | privacyKeyNoPaidMessages;
@@ -16751,7 +16874,7 @@ export type account_SavedRingtones = account_savedRingtonesNotModified | account
16751
16874
  export type NotificationSound = notificationSoundDefault | notificationSoundNone | notificationSoundLocal | notificationSoundRingtone;
16752
16875
  export type account_SavedRingtone = account_savedRingtone | account_savedRingtoneConverted;
16753
16876
  export type AttachMenuPeerType = attachMenuPeerTypeSameBotPM | attachMenuPeerTypeBotPM | attachMenuPeerTypePM | attachMenuPeerTypeChat | attachMenuPeerTypeBroadcast;
16754
- export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift | inputInvoiceStarGiftUpgrade | inputInvoiceStarGiftTransfer | inputInvoicePremiumGiftStars | inputInvoiceBusinessBotTransferStars | inputInvoiceStarGiftResale | inputInvoiceStarGiftPrepaidUpgrade;
16877
+ export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars | inputInvoiceChatInviteSubscription | inputInvoiceStarGift | inputInvoiceStarGiftUpgrade | inputInvoiceStarGiftTransfer | inputInvoicePremiumGiftStars | inputInvoiceBusinessBotTransferStars | inputInvoiceStarGiftResale | inputInvoiceStarGiftPrepaidUpgrade | inputInvoicePremiumAuthCode | inputInvoiceStarGiftDropOriginalDetails;
16755
16878
  export type payments_ExportedInvoice = payments_exportedInvoice;
16756
16879
  export type messages_TranscribedAudio = messages_transcribedAudio;
16757
16880
  export type help_PremiumPromo = help_premiumPromo;
@@ -16826,7 +16949,7 @@ export type PostInteractionCounters = postInteractionCountersMessage | postInter
16826
16949
  export type stats_StoryStats = stats_storyStats;
16827
16950
  export type PublicForward = publicForwardMessage | publicForwardStory;
16828
16951
  export type stats_PublicForwards = stats_publicForwards;
16829
- export type PeerColor = peerColor;
16952
+ export type PeerColor = peerColor | peerColorCollectible | inputPeerColorCollectible;
16830
16953
  export type help_PeerColorSet = help_peerColorSet | help_peerColorProfileSet;
16831
16954
  export type help_PeerColorOption = help_peerColorOption;
16832
16955
  export type help_PeerColors = help_peerColorsNotModified | help_peerColors;
@@ -16956,7 +17079,8 @@ export type users_SavedMusic = users_savedMusicNotModified | users_savedMusic;
16956
17079
  export type account_SavedMusicIds = account_savedMusicIdsNotModified | account_savedMusicIds;
16957
17080
  export type payments_CheckCanSendGiftResult = payments_checkCanSendGiftResultOk | payments_checkCanSendGiftResultFail;
16958
17081
  export type InputChatTheme = inputChatThemeEmpty | inputChatTheme | inputChatThemeUniqueGift;
17082
+ export type StarGiftUpgradePrice = starGiftUpgradePrice;
16959
17083
  export declare const schema: Schema;
16960
- export declare const LAYER = 214;
17084
+ export declare const LAYER = 216;
16961
17085
  export {};
16962
17086
  //# sourceMappingURL=1_telegram_api.d.ts.map