@mtkruto/node 0.2.6 → 0.2.10

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 (81) hide show
  1. package/esm/3_types.d.ts +4 -3
  2. package/esm/3_types.d.ts.map +1 -1
  3. package/esm/3_types.js +4 -3
  4. package/esm/4_constants.d.ts +1 -1
  5. package/esm/4_constants.js +1 -1
  6. package/esm/client/0_params.d.ts +24 -0
  7. package/esm/client/0_params.d.ts.map +1 -1
  8. package/esm/client/2_update_manager.d.ts.map +1 -1
  9. package/esm/client/2_update_manager.js +15 -3
  10. package/esm/client/3_message_manager.d.ts +4 -3
  11. package/esm/client/3_message_manager.d.ts.map +1 -1
  12. package/esm/client/3_message_manager.js +61 -3
  13. package/esm/client/5_client.d.ts +15 -2
  14. package/esm/client/5_client.d.ts.map +1 -1
  15. package/esm/client/5_client.js +21 -6
  16. package/esm/connection/1_connection_tcp.node.d.ts +12 -0
  17. package/esm/connection/1_connection_tcp.node.d.ts.map +1 -0
  18. package/esm/connection/1_connection_tcp.node.js +122 -0
  19. package/esm/connection/1_connection_web_socket.js +1 -1
  20. package/esm/tl/0_api.d.ts +386 -33
  21. package/esm/tl/0_api.d.ts.map +1 -1
  22. package/esm/tl/0_api.js +621 -66
  23. package/esm/transport/3_transport_provider_tcp.js +1 -1
  24. package/esm/types/0_invoice.d.ts +10 -0
  25. package/esm/types/0_invoice.d.ts.map +1 -0
  26. package/esm/types/0_invoice.js +9 -0
  27. package/{script/types/0_poll_option.d.ts → esm/types/1_poll_option.d.ts} +4 -1
  28. package/esm/types/1_poll_option.d.ts.map +1 -0
  29. package/esm/types/{0_poll_option.js → 1_poll_option.js} +3 -1
  30. package/esm/types/{1_poll.d.ts → 2_poll.d.ts} +4 -2
  31. package/esm/types/2_poll.d.ts.map +1 -0
  32. package/esm/types/{1_poll.js → 2_poll.js} +3 -2
  33. package/esm/types/4_message.d.ts +15 -2
  34. package/esm/types/4_message.d.ts.map +1 -1
  35. package/esm/types/4_message.js +7 -1
  36. package/package.json +1 -1
  37. package/script/3_types.d.ts +4 -3
  38. package/script/3_types.d.ts.map +1 -1
  39. package/script/3_types.js +4 -3
  40. package/script/4_constants.d.ts +1 -1
  41. package/script/4_constants.js +1 -1
  42. package/script/client/0_params.d.ts +24 -0
  43. package/script/client/0_params.d.ts.map +1 -1
  44. package/script/client/2_update_manager.d.ts.map +1 -1
  45. package/script/client/2_update_manager.js +14 -2
  46. package/script/client/3_message_manager.d.ts +4 -3
  47. package/script/client/3_message_manager.d.ts.map +1 -1
  48. package/script/client/3_message_manager.js +61 -3
  49. package/script/client/5_client.d.ts +15 -2
  50. package/script/client/5_client.d.ts.map +1 -1
  51. package/script/client/5_client.js +21 -6
  52. package/script/connection/1_connection_tcp.node.d.ts +12 -0
  53. package/script/connection/1_connection_tcp.node.d.ts.map +1 -0
  54. package/script/connection/1_connection_tcp.node.js +126 -0
  55. package/script/connection/1_connection_web_socket.js +1 -1
  56. package/script/tl/0_api.d.ts +386 -33
  57. package/script/tl/0_api.d.ts.map +1 -1
  58. package/script/tl/0_api.js +621 -66
  59. package/script/transport/3_transport_provider_tcp.js +2 -2
  60. package/script/types/0_invoice.d.ts +10 -0
  61. package/script/types/0_invoice.d.ts.map +1 -0
  62. package/script/types/0_invoice.js +13 -0
  63. package/{esm/types/0_poll_option.d.ts → script/types/1_poll_option.d.ts} +4 -1
  64. package/script/types/1_poll_option.d.ts.map +1 -0
  65. package/script/types/{0_poll_option.js → 1_poll_option.js} +3 -1
  66. package/script/types/{1_poll.d.ts → 2_poll.d.ts} +4 -2
  67. package/script/types/2_poll.d.ts.map +1 -0
  68. package/script/types/{1_poll.js → 2_poll.js} +4 -3
  69. package/script/types/4_message.d.ts +15 -2
  70. package/script/types/4_message.d.ts.map +1 -1
  71. package/script/types/4_message.js +8 -2
  72. package/esm/connection/1_connection_tcp.d.ts +0 -34
  73. package/esm/connection/1_connection_tcp.d.ts.map +0 -1
  74. package/esm/connection/1_connection_tcp.js +0 -169
  75. package/esm/types/0_poll_option.d.ts.map +0 -1
  76. package/esm/types/1_poll.d.ts.map +0 -1
  77. package/script/connection/1_connection_tcp.d.ts +0 -34
  78. package/script/connection/1_connection_tcp.d.ts.map +0 -1
  79. package/script/connection/1_connection_tcp.js +0 -196
  80. package/script/types/0_poll_option.d.ts.map +0 -1
  81. package/script/types/1_poll.d.ts.map +0 -1
package/esm/tl/0_api.js CHANGED
@@ -86,7 +86,7 @@ const map = new Map([
86
86
  [0xE5BBFE1A, "inputMediaPhotoExternal"],
87
87
  [0xFB52DC99, "inputMediaDocumentExternal"],
88
88
  [0xD33F43F3, "inputMediaGame"],
89
- [0x8EB5A6D5, "inputMediaInvoice"],
89
+ [0x405FEF0D, "inputMediaInvoice"],
90
90
  [0x971FA843, "inputMediaGeoLive"],
91
91
  [0x0F94E5F1, "inputMediaPoll"],
92
92
  [0xE66FBF7B, "inputMediaDice"],
@@ -137,8 +137,8 @@ const map = new Map([
137
137
  [0x6592A1A7, "chatForbidden"],
138
138
  [0x0AADFC8F, "channel"],
139
139
  [0x17D493D5, "channelForbidden"],
140
- [0xC9D31138, "chatFull"],
141
- [0x44C054A7, "channelFull"],
140
+ [0x2633421B, "chatFull"],
141
+ [0xBBAB348D, "channelFull"],
142
142
  [0xC02D4007, "chatParticipant"],
143
143
  [0xE46BCEE4, "chatParticipantCreator"],
144
144
  [0xA0933F5B, "chatParticipantAdmin"],
@@ -147,7 +147,7 @@ const map = new Map([
147
147
  [0x37C1011C, "chatPhotoEmpty"],
148
148
  [0x1C6E1C11, "chatPhoto"],
149
149
  [0x90A6CA84, "messageEmpty"],
150
- [0x2357BF25, "message"],
150
+ [0x94345242, "message"],
151
151
  [0x2B085862, "messageService"],
152
152
  [0x3DED6320, "messageMediaEmpty"],
153
153
  [0x695150D7, "messageMediaPhoto"],
@@ -416,6 +416,9 @@ const map = new Map([
416
416
  [0x9DDB347C, "updateBotNewBusinessMessage"],
417
417
  [0x07DF587C, "updateBotEditBusinessMessage"],
418
418
  [0xA02A982E, "updateBotDeleteBusinessMessage"],
419
+ [0x1824E40B, "updateNewStoryReaction"],
420
+ [0xDFD961F5, "updateBroadcastRevenueTransactions"],
421
+ [0x0FB85198, "updateStarsBalance"],
419
422
  [0xA56C2A3E, "updates.state"],
420
423
  [0x5D75A138, "updates.differenceEmpty"],
421
424
  [0x00F49CA0, "updates.difference"],
@@ -618,7 +621,7 @@ const map = new Map([
618
621
  [0x761E6AF4, "messageEntityBankCard"],
619
622
  [0x32CA960F, "messageEntitySpoiler"],
620
623
  [0xC8CF05F8, "messageEntityCustomEmoji"],
621
- [0x020DF5D0, "messageEntityBlockquote"],
624
+ [0xF1CCAAAC, "messageEntityBlockquote"],
622
625
  [0xEE8C1E86, "inputChannelEmpty"],
623
626
  [0xF35AEC28, "inputChannel"],
624
627
  [0x5B934F9D, "inputChannelFromMessage"],
@@ -686,7 +689,9 @@ const map = new Map([
686
689
  [0xF450F59B, "auth.sentCodeTypeEmailCode"],
687
690
  [0xA5491DEA, "auth.sentCodeTypeSetUpEmailRequired"],
688
691
  [0xD9565C39, "auth.sentCodeTypeFragmentSms"],
689
- [0xE57B1432, "auth.sentCodeTypeFirebaseSms"],
692
+ [0x13C90F17, "auth.sentCodeTypeFirebaseSms"],
693
+ [0xA416AC81, "auth.sentCodeTypeSmsWord"],
694
+ [0xB37794AF, "auth.sentCodeTypeSmsPhrase"],
690
695
  [0x36585EA4, "messages.botCallbackAnswer"],
691
696
  [0x26B5DDE6, "messages.messageEditData"],
692
697
  [0x890C3D89, "inputBotInlineMessageID"],
@@ -791,10 +796,12 @@ const map = new Map([
791
796
  [0xF46FE924, "inputWebFileAudioAlbumThumbLocation"],
792
797
  [0x21E753BC, "upload.webFile"],
793
798
  [0xA0058751, "payments.paymentForm"],
799
+ [0x7BF6B15C, "payments.paymentFormStars"],
794
800
  [0xD1451883, "payments.validatedRequestedInfo"],
795
801
  [0x4E5F810D, "payments.paymentResult"],
796
802
  [0xD8411139, "payments.paymentVerificationNeeded"],
797
803
  [0x70C4FE03, "payments.paymentReceipt"],
804
+ [0xDABBF83A, "payments.paymentReceiptStars"],
798
805
  [0xFB8FE43C, "payments.savedInfo"],
799
806
  [0xC10EB2CF, "inputPaymentCredentialsSaved"],
800
807
  [0x3417D728, "inputPaymentCredentials"],
@@ -971,8 +978,8 @@ const map = new Map([
971
978
  [0x8C05F1C9, "help.supportName"],
972
979
  [0xF3AE2EED, "help.userInfoEmpty"],
973
980
  [0x01EB3758, "help.userInfo"],
974
- [0x6CA9C2E9, "pollAnswer"],
975
- [0x86E18161, "poll"],
981
+ [0xFF16E2CA, "pollAnswer"],
982
+ [0x58747131, "poll"],
976
983
  [0x3B6DDAD2, "pollAnswerVoters"],
977
984
  [0x7ADF2420, "pollResults"],
978
985
  [0xF041E250, "chatOnlines"],
@@ -1024,6 +1031,7 @@ const map = new Map([
1024
1031
  [0xFA58B6D4, "themeSettings"],
1025
1032
  [0x54B56617, "webPageAttributeTheme"],
1026
1033
  [0x2E94C3E7, "webPageAttributeStory"],
1034
+ [0x50CC03D3, "webPageAttributeStickerSet"],
1027
1035
  [0x4899484E, "messages.votesList"],
1028
1036
  [0xF568028A, "bankCardOpenUrl"],
1029
1037
  [0x3E24E573, "payments.bankCardData"],
@@ -1098,7 +1106,7 @@ const map = new Map([
1098
1106
  [0xE3779861, "account.resetPasswordFailedWait"],
1099
1107
  [0xE9EFFC7D, "account.resetPasswordRequestedWait"],
1100
1108
  [0xE926D63E, "account.resetPasswordOk"],
1101
- [0xED5383F7, "sponsoredMessage"],
1109
+ [0xBDEDF566, "sponsoredMessage"],
1102
1110
  [0xC9EE1D87, "messages.sponsoredMessages"],
1103
1111
  [0x1839490F, "messages.sponsoredMessagesEmpty"],
1104
1112
  [0xC9B0539F, "searchResultsCalendarPeriod"],
@@ -1147,6 +1155,7 @@ const map = new Map([
1147
1155
  [0xC5B56859, "inputInvoiceMessage"],
1148
1156
  [0xC326CAEF, "inputInvoiceSlug"],
1149
1157
  [0x98986C0D, "inputInvoicePremiumGiftCode"],
1158
+ [0x1DA33AD8, "inputInvoiceStars"],
1150
1159
  [0xAED0CBD9, "payments.exportedInvoice"],
1151
1160
  [0xCFB9D957, "messages.transcribedAudio"],
1152
1161
  [0x5334759C, "help.premiumPromo"],
@@ -1154,6 +1163,7 @@ const map = new Map([
1154
1163
  [0x616F7FE8, "inputStorePaymentGiftPremium"],
1155
1164
  [0xA3805F3F, "inputStorePaymentPremiumGiftCode"],
1156
1165
  [0x160544CA, "inputStorePaymentPremiumGiveaway"],
1166
+ [0x4F0EE8DF, "inputStorePaymentStars"],
1157
1167
  [0x74C34319, "premiumGiftOption"],
1158
1168
  [0x88F8F21B, "paymentFormMethod"],
1159
1169
  [0x2DE11AAE, "emojiStatusEmpty"],
@@ -1194,6 +1204,8 @@ const map = new Map([
1194
1204
  [0x481EADFA, "emojiListNotModified"],
1195
1205
  [0x7A1E11D1, "emojiList"],
1196
1206
  [0x7A9ABDA9, "emojiGroup"],
1207
+ [0x80D26CC7, "emojiGroupGreeting"],
1208
+ [0x093BCF34, "emojiGroupPremium"],
1197
1209
  [0x6FB4AD87, "messages.emojiGroupsNotModified"],
1198
1210
  [0x881FB94B, "messages.emojiGroups"],
1199
1211
  [0x751F3146, "textWithEntities"],
@@ -1222,14 +1234,13 @@ const map = new Map([
1222
1234
  [0xB6CC2D5C, "messagePeerVote"],
1223
1235
  [0x74CDA504, "messagePeerVoteInputOption"],
1224
1236
  [0x4628F6E6, "messagePeerVoteMultiple"],
1225
- [0x3DB8EC63, "sponsoredWebPage"],
1226
1237
  [0x8D595CD6, "storyViews"],
1227
1238
  [0x51E6EE4F, "storyItemDeleted"],
1228
1239
  [0xFFADC913, "storyItemSkipped"],
1229
1240
  [0x79B26A24, "storyItem"],
1230
1241
  [0x1158FE3E, "stories.allStoriesNotModified"],
1231
1242
  [0x6EFC5E81, "stories.allStories"],
1232
- [0x5DD8C3C8, "stories.stories"],
1243
+ [0x63C3DD0A, "stories.stories"],
1233
1244
  [0xB0BDEAC5, "storyView"],
1234
1245
  [0x9083670B, "storyViewPublicForward"],
1235
1246
  [0xBD74CF49, "storyViewPublicRepost"],
@@ -1335,12 +1346,29 @@ const map = new Map([
1335
1346
  [0x846F9E42, "channels.sponsoredMessageReportResultChooseOption"],
1336
1347
  [0x3E3BCF2F, "channels.sponsoredMessageReportResultAdsHidden"],
1337
1348
  [0xAD798849, "channels.sponsoredMessageReportResultReported"],
1338
- [0xD07B4BAD, "stats.broadcastRevenueStats"],
1349
+ [0x5407E297, "stats.broadcastRevenueStats"],
1339
1350
  [0xEC659737, "stats.broadcastRevenueWithdrawalUrl"],
1340
1351
  [0x557E2CC4, "broadcastRevenueTransactionProceeds"],
1341
1352
  [0x5A590978, "broadcastRevenueTransactionWithdrawal"],
1342
1353
  [0x42D30D2E, "broadcastRevenueTransactionRefund"],
1343
1354
  [0x87158466, "stats.broadcastRevenueTransactions"],
1355
+ [0xBAC3A61A, "reactionNotificationsFromContacts"],
1356
+ [0x4B9E22A0, "reactionNotificationsFromAll"],
1357
+ [0x56E34970, "reactionsNotifySettings"],
1358
+ [0x8438F1C6, "broadcastRevenueBalances"],
1359
+ [0x93C3E27E, "availableEffect"],
1360
+ [0xD1ED9A5B, "messages.availableEffectsNotModified"],
1361
+ [0xBDDB616E, "messages.availableEffects"],
1362
+ [0xB89BFCCF, "factCheck"],
1363
+ [0x95F2BFE4, "starsTransactionPeerUnsupported"],
1364
+ [0xB457B375, "starsTransactionPeerAppStore"],
1365
+ [0x7B560A0B, "starsTransactionPeerPlayMarket"],
1366
+ [0x250DBAF8, "starsTransactionPeerPremiumBot"],
1367
+ [0xE92FD902, "starsTransactionPeerFragment"],
1368
+ [0xD80DA15D, "starsTransactionPeer"],
1369
+ [0x0BD915C0, "starsTopupOption"],
1370
+ [0xCC7079B2, "starsTransaction"],
1371
+ [0x8CF4EE60, "payments.starsStatus"],
1344
1372
  ]);
1345
1373
  export const getTypeName = map.get.bind(map);
1346
1374
  export const flags = Symbol();
@@ -1601,6 +1629,9 @@ const enums = new Map([
1601
1629
  "updateBotNewBusinessMessage",
1602
1630
  "updateBotEditBusinessMessage",
1603
1631
  "updateBotDeleteBusinessMessage",
1632
+ "updateNewStoryReaction",
1633
+ "updateBroadcastRevenueTransactions",
1634
+ "updateStarsBalance",
1604
1635
  ]],
1605
1636
  ["updates.State", ["updates.state"]],
1606
1637
  ["updates.Difference", ["updates.differenceEmpty", "updates.difference", "updates.differenceSlice", "updates.differenceTooLong"]],
@@ -1675,7 +1706,7 @@ const enums = new Map([
1675
1706
  ["ExportedMessageLink", ["exportedMessageLink"]],
1676
1707
  ["MessageFwdHeader", ["messageFwdHeader"]],
1677
1708
  ["auth.CodeType", ["auth.codeTypeSms", "auth.codeTypeCall", "auth.codeTypeFlashCall", "auth.codeTypeMissedCall", "auth.codeTypeFragmentSms"]],
1678
- ["auth.SentCodeType", ["auth.sentCodeTypeApp", "auth.sentCodeTypeSms", "auth.sentCodeTypeCall", "auth.sentCodeTypeFlashCall", "auth.sentCodeTypeMissedCall", "auth.sentCodeTypeEmailCode", "auth.sentCodeTypeSetUpEmailRequired", "auth.sentCodeTypeFragmentSms", "auth.sentCodeTypeFirebaseSms"]],
1709
+ ["auth.SentCodeType", ["auth.sentCodeTypeApp", "auth.sentCodeTypeSms", "auth.sentCodeTypeCall", "auth.sentCodeTypeFlashCall", "auth.sentCodeTypeMissedCall", "auth.sentCodeTypeEmailCode", "auth.sentCodeTypeSetUpEmailRequired", "auth.sentCodeTypeFragmentSms", "auth.sentCodeTypeFirebaseSms", "auth.sentCodeTypeSmsWord", "auth.sentCodeTypeSmsPhrase"]],
1679
1710
  ["messages.BotCallbackAnswer", ["messages.botCallbackAnswer"]],
1680
1711
  ["messages.MessageEditData", ["messages.messageEditData"]],
1681
1712
  ["InputBotInlineMessageID", ["inputBotInlineMessageID", "inputBotInlineMessageID64"]],
@@ -1711,10 +1742,10 @@ const enums = new Map([
1711
1742
  ["InputWebDocument", ["inputWebDocument"]],
1712
1743
  ["InputWebFileLocation", ["inputWebFileLocation", "inputWebFileGeoPointLocation", "inputWebFileAudioAlbumThumbLocation"]],
1713
1744
  ["upload.WebFile", ["upload.webFile"]],
1714
- ["payments.PaymentForm", ["payments.paymentForm"]],
1745
+ ["payments.PaymentForm", ["payments.paymentForm", "payments.paymentFormStars"]],
1715
1746
  ["payments.ValidatedRequestedInfo", ["payments.validatedRequestedInfo"]],
1716
1747
  ["payments.PaymentResult", ["payments.paymentResult", "payments.paymentVerificationNeeded"]],
1717
- ["payments.PaymentReceipt", ["payments.paymentReceipt"]],
1748
+ ["payments.PaymentReceipt", ["payments.paymentReceipt", "payments.paymentReceiptStars"]],
1718
1749
  ["payments.SavedInfo", ["payments.savedInfo"]],
1719
1750
  ["InputPaymentCredentials", ["inputPaymentCredentialsSaved", "inputPaymentCredentials", "inputPaymentCredentialsApplePay", "inputPaymentCredentialsGooglePay"]],
1720
1751
  ["account.TmpPassword", ["account.tmpPassword"]],
@@ -1866,7 +1897,7 @@ const enums = new Map([
1866
1897
  ["BaseTheme", ["baseThemeClassic", "baseThemeDay", "baseThemeNight", "baseThemeTinted", "baseThemeArctic"]],
1867
1898
  ["InputThemeSettings", ["inputThemeSettings"]],
1868
1899
  ["ThemeSettings", ["themeSettings"]],
1869
- ["WebPageAttribute", ["webPageAttributeTheme", "webPageAttributeStory"]],
1900
+ ["WebPageAttribute", ["webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet"]],
1870
1901
  ["messages.VotesList", ["messages.votesList"]],
1871
1902
  ["BankCardOpenUrl", ["bankCardOpenUrl"]],
1872
1903
  ["payments.BankCardData", ["payments.bankCardData"]],
@@ -1949,11 +1980,11 @@ const enums = new Map([
1949
1980
  ["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
1950
1981
  ["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
1951
1982
  ["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
1952
- ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode"]],
1983
+ ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars"]],
1953
1984
  ["payments.ExportedInvoice", ["payments.exportedInvoice"]],
1954
1985
  ["messages.TranscribedAudio", ["messages.transcribedAudio"]],
1955
1986
  ["help.PremiumPromo", ["help.premiumPromo"]],
1956
- ["InputStorePaymentPurpose", ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway"]],
1987
+ ["InputStorePaymentPurpose", ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway", "inputStorePaymentStars"]],
1957
1988
  ["PremiumGiftOption", ["premiumGiftOption"]],
1958
1989
  ["PaymentFormMethod", ["paymentFormMethod"]],
1959
1990
  ["EmojiStatus", ["emojiStatusEmpty", "emojiStatus", "emojiStatusUntil"]],
@@ -1975,7 +2006,7 @@ const enums = new Map([
1975
2006
  ["ExportedContactToken", ["exportedContactToken"]],
1976
2007
  ["RequestPeerType", ["requestPeerTypeUser", "requestPeerTypeChat", "requestPeerTypeBroadcast"]],
1977
2008
  ["EmojiList", ["emojiListNotModified", "emojiList"]],
1978
- ["EmojiGroup", ["emojiGroup"]],
2009
+ ["EmojiGroup", ["emojiGroup", "emojiGroupGreeting", "emojiGroupPremium"]],
1979
2010
  ["messages.EmojiGroups", ["messages.emojiGroupsNotModified", "messages.emojiGroups"]],
1980
2011
  ["TextWithEntities", ["textWithEntities"]],
1981
2012
  ["messages.TranslatedText", ["messages.translateResult"]],
@@ -1997,7 +2028,6 @@ const enums = new Map([
1997
2028
  ["chatlists.ChatlistUpdates", ["chatlists.chatlistUpdates"]],
1998
2029
  ["bots.BotInfo", ["bots.botInfo"]],
1999
2030
  ["MessagePeerVote", ["messagePeerVote", "messagePeerVoteInputOption", "messagePeerVoteMultiple"]],
2000
- ["SponsoredWebPage", ["sponsoredWebPage"]],
2001
2031
  ["StoryViews", ["storyViews"]],
2002
2032
  ["StoryItem", ["storyItemDeleted", "storyItemSkipped", "storyItem"]],
2003
2033
  ["stories.AllStories", ["stories.allStoriesNotModified", "stories.allStories"]],
@@ -2083,6 +2113,16 @@ const enums = new Map([
2083
2113
  ["stats.BroadcastRevenueWithdrawalUrl", ["stats.broadcastRevenueWithdrawalUrl"]],
2084
2114
  ["BroadcastRevenueTransaction", ["broadcastRevenueTransactionProceeds", "broadcastRevenueTransactionWithdrawal", "broadcastRevenueTransactionRefund"]],
2085
2115
  ["stats.BroadcastRevenueTransactions", ["stats.broadcastRevenueTransactions"]],
2116
+ ["ReactionNotificationsFrom", ["reactionNotificationsFromContacts", "reactionNotificationsFromAll"]],
2117
+ ["ReactionsNotifySettings", ["reactionsNotifySettings"]],
2118
+ ["BroadcastRevenueBalances", ["broadcastRevenueBalances"]],
2119
+ ["AvailableEffect", ["availableEffect"]],
2120
+ ["messages.AvailableEffects", ["messages.availableEffectsNotModified", "messages.availableEffects"]],
2121
+ ["FactCheck", ["factCheck"]],
2122
+ ["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer"]],
2123
+ ["StarsTopupOption", ["starsTopupOption"]],
2124
+ ["StarsTransaction", ["starsTransaction"]],
2125
+ ["payments.StarsStatus", ["payments.starsStatus"]],
2086
2126
  ]);
2087
2127
  const types = new Map([
2088
2128
  [
@@ -2794,7 +2834,7 @@ const types = new Map([
2794
2834
  [
2795
2835
  "inputMediaInvoice",
2796
2836
  [
2797
- 0x8EB5A6D5,
2837
+ 0x405FEF0D,
2798
2838
  [
2799
2839
  ["flags", flags, "#"],
2800
2840
  ["title", "string", "string"],
@@ -2802,7 +2842,7 @@ const types = new Map([
2802
2842
  ["photo", "InputWebDocument", "flags.0?InputWebDocument"],
2803
2843
  ["invoice", "Invoice", "Invoice"],
2804
2844
  ["payload", Uint8Array, "bytes"],
2805
- ["provider", "string", "string"],
2845
+ ["provider", "string", "flags.3?string"],
2806
2846
  ["provider_data", "DataJSON", "DataJSON"],
2807
2847
  ["start_param", "string", "flags.1?string"],
2808
2848
  ["extended_media", "InputMedia", "flags.2?InputMedia"],
@@ -3391,7 +3431,7 @@ const types = new Map([
3391
3431
  [
3392
3432
  "chatFull",
3393
3433
  [
3394
- 0xC9D31138,
3434
+ 0x2633421B,
3395
3435
  [
3396
3436
  ["flags", flags, "#"],
3397
3437
  ["can_set_username", "true", "flags.7?true"],
@@ -3413,13 +3453,14 @@ const types = new Map([
3413
3453
  ["requests_pending", "number", "flags.17?int"],
3414
3454
  ["recent_requesters", ["bigint"], "flags.17?Vector<long>"],
3415
3455
  ["available_reactions", "ChatReactions", "flags.18?ChatReactions"],
3456
+ ["reactions_limit", "number", "flags.20?int"],
3416
3457
  ],
3417
3458
  ],
3418
3459
  ],
3419
3460
  [
3420
3461
  "channelFull",
3421
3462
  [
3422
- 0x44C054A7,
3463
+ 0xBBAB348D,
3423
3464
  [
3424
3465
  ["flags", flags, "#"],
3425
3466
  ["can_view_participants", "true", "flags.3?true"],
@@ -3474,6 +3515,7 @@ const types = new Map([
3474
3515
  ["recent_requesters", ["bigint"], "flags.28?Vector<long>"],
3475
3516
  ["default_send_as", "Peer", "flags.29?Peer"],
3476
3517
  ["available_reactions", "ChatReactions", "flags.30?ChatReactions"],
3518
+ ["reactions_limit", "number", "flags2.13?int"],
3477
3519
  ["stories", "PeerStories", "flags2.4?PeerStories"],
3478
3520
  ["wallpaper", "WallPaper", "flags2.7?WallPaper"],
3479
3521
  ["boosts_applied", "number", "flags2.8?int"],
@@ -3569,7 +3611,7 @@ const types = new Map([
3569
3611
  [
3570
3612
  "message",
3571
3613
  [
3572
- 0x2357BF25,
3614
+ 0x94345242,
3573
3615
  [
3574
3616
  ["flags", flags, "#"],
3575
3617
  ["out", "true", "flags.1?true"],
@@ -3609,6 +3651,8 @@ const types = new Map([
3609
3651
  ["restriction_reason", ["RestrictionReason"], "flags.22?Vector<RestrictionReason>"],
3610
3652
  ["ttl_period", "number", "flags.25?int"],
3611
3653
  ["quick_reply_shortcut_id", "number", "flags.30?int"],
3654
+ ["effect", "bigint", "flags2.2?long"],
3655
+ ["factcheck", "FactCheck", "flags2.3?FactCheck"],
3612
3656
  ],
3613
3657
  ],
3614
3658
  ],
@@ -4700,6 +4744,7 @@ const types = new Map([
4700
4744
  ["contact_require_premium", "true", "flags.29?true"],
4701
4745
  ["read_dates_private", "true", "flags.30?true"],
4702
4746
  ["flags2", flags, "#"],
4747
+ ["sponsored_enabled", "true", "flags2.7?true"],
4703
4748
  ["id", "bigint", "long"],
4704
4749
  ["about", "string", "flags.1?string"],
4705
4750
  ["settings", "PeerSettings", "PeerSettings"],
@@ -6505,6 +6550,36 @@ const types = new Map([
6505
6550
  ],
6506
6551
  ],
6507
6552
  ],
6553
+ [
6554
+ "updateNewStoryReaction",
6555
+ [
6556
+ 0x1824E40B,
6557
+ [
6558
+ ["story_id", "number", "int"],
6559
+ ["peer", "Peer", "Peer"],
6560
+ ["reaction", "Reaction", "Reaction"],
6561
+ ],
6562
+ ],
6563
+ ],
6564
+ [
6565
+ "updateBroadcastRevenueTransactions",
6566
+ [
6567
+ 0xDFD961F5,
6568
+ [
6569
+ ["peer", "Peer", "Peer"],
6570
+ ["balances", "BroadcastRevenueBalances", "BroadcastRevenueBalances"],
6571
+ ],
6572
+ ],
6573
+ ],
6574
+ [
6575
+ "updateStarsBalance",
6576
+ [
6577
+ 0x0FB85198,
6578
+ [
6579
+ ["balance", "bigint", "long"],
6580
+ ],
6581
+ ],
6582
+ ],
6508
6583
  [
6509
6584
  "updates.state",
6510
6585
  [
@@ -8611,8 +8686,10 @@ const types = new Map([
8611
8686
  [
8612
8687
  "messageEntityBlockquote",
8613
8688
  [
8614
- 0x020DF5D0,
8689
+ 0xF1CCAAAC,
8615
8690
  [
8691
+ ["flags", flags, "#"],
8692
+ ["collapsed", "true", "flags.0?true"],
8616
8693
  ["offset", "number", "int"],
8617
8694
  ["length", "number", "int"],
8618
8695
  ],
@@ -9410,16 +9487,37 @@ const types = new Map([
9410
9487
  [
9411
9488
  "auth.sentCodeTypeFirebaseSms",
9412
9489
  [
9413
- 0xE57B1432,
9490
+ 0x13C90F17,
9414
9491
  [
9415
9492
  ["flags", flags, "#"],
9416
9493
  ["nonce", Uint8Array, "flags.0?bytes"],
9494
+ ["play_integrity_nonce", Uint8Array, "flags.2?bytes"],
9417
9495
  ["receipt", "string", "flags.1?string"],
9418
9496
  ["push_timeout", "number", "flags.1?int"],
9419
9497
  ["length", "number", "int"],
9420
9498
  ],
9421
9499
  ],
9422
9500
  ],
9501
+ [
9502
+ "auth.sentCodeTypeSmsWord",
9503
+ [
9504
+ 0xA416AC81,
9505
+ [
9506
+ ["flags", flags, "#"],
9507
+ ["beginning", "string", "flags.0?string"],
9508
+ ],
9509
+ ],
9510
+ ],
9511
+ [
9512
+ "auth.sentCodeTypeSmsPhrase",
9513
+ [
9514
+ 0xB37794AF,
9515
+ [
9516
+ ["flags", flags, "#"],
9517
+ ["beginning", "string", "flags.0?string"],
9518
+ ],
9519
+ ],
9520
+ ],
9423
9521
  [
9424
9522
  "messages.botCallbackAnswer",
9425
9523
  [
@@ -10491,6 +10589,22 @@ const types = new Map([
10491
10589
  ],
10492
10590
  ],
10493
10591
  ],
10592
+ [
10593
+ "payments.paymentFormStars",
10594
+ [
10595
+ 0x7BF6B15C,
10596
+ [
10597
+ ["flags", flags, "#"],
10598
+ ["form_id", "bigint", "long"],
10599
+ ["bot_id", "bigint", "long"],
10600
+ ["title", "string", "string"],
10601
+ ["description", "string", "string"],
10602
+ ["photo", "WebDocument", "flags.5?WebDocument"],
10603
+ ["invoice", "Invoice", "Invoice"],
10604
+ ["users", ["User"], "Vector<User>"],
10605
+ ],
10606
+ ],
10607
+ ],
10494
10608
  [
10495
10609
  "payments.validatedRequestedInfo",
10496
10610
  [
@@ -10543,6 +10657,25 @@ const types = new Map([
10543
10657
  ],
10544
10658
  ],
10545
10659
  ],
10660
+ [
10661
+ "payments.paymentReceiptStars",
10662
+ [
10663
+ 0xDABBF83A,
10664
+ [
10665
+ ["flags", flags, "#"],
10666
+ ["date", "number", "int"],
10667
+ ["bot_id", "bigint", "long"],
10668
+ ["title", "string", "string"],
10669
+ ["description", "string", "string"],
10670
+ ["photo", "WebDocument", "flags.2?WebDocument"],
10671
+ ["invoice", "Invoice", "Invoice"],
10672
+ ["currency", "string", "string"],
10673
+ ["total_amount", "bigint", "long"],
10674
+ ["transaction_id", "string", "string"],
10675
+ ["users", ["User"], "Vector<User>"],
10676
+ ],
10677
+ ],
10678
+ ],
10546
10679
  [
10547
10680
  "payments.savedInfo",
10548
10681
  [
@@ -12364,9 +12497,9 @@ const types = new Map([
12364
12497
  [
12365
12498
  "pollAnswer",
12366
12499
  [
12367
- 0x6CA9C2E9,
12500
+ 0xFF16E2CA,
12368
12501
  [
12369
- ["text", "string", "string"],
12502
+ ["text", "TextWithEntities", "TextWithEntities"],
12370
12503
  ["option", Uint8Array, "bytes"],
12371
12504
  ],
12372
12505
  ],
@@ -12374,7 +12507,7 @@ const types = new Map([
12374
12507
  [
12375
12508
  "poll",
12376
12509
  [
12377
- 0x86E18161,
12510
+ 0x58747131,
12378
12511
  [
12379
12512
  ["id", "bigint", "long"],
12380
12513
  ["flags", flags, "#"],
@@ -12382,7 +12515,7 @@ const types = new Map([
12382
12515
  ["public_voters", "true", "flags.1?true"],
12383
12516
  ["multiple_choice", "true", "flags.2?true"],
12384
12517
  ["quiz", "true", "flags.3?true"],
12385
- ["question", "string", "string"],
12518
+ ["question", "TextWithEntities", "TextWithEntities"],
12386
12519
  ["answers", ["PollAnswer"], "Vector<PollAnswer>"],
12387
12520
  ["close_period", "number", "flags.4?int"],
12388
12521
  ["close_date", "number", "flags.5?int"],
@@ -12545,6 +12678,7 @@ const types = new Map([
12545
12678
  ["allow_app_hash", "true", "flags.4?true"],
12546
12679
  ["allow_missed_call", "true", "flags.5?true"],
12547
12680
  ["allow_firebase", "true", "flags.7?true"],
12681
+ ["unknown_number", "true", "flags.9?true"],
12548
12682
  ["logout_tokens", [Uint8Array], "flags.6?Vector<bytes>"],
12549
12683
  ["token", "string", "flags.8?string"],
12550
12684
  ["app_sandbox", "boolean", "flags.8?Bool"],
@@ -12969,6 +13103,18 @@ const types = new Map([
12969
13103
  ],
12970
13104
  ],
12971
13105
  ],
13106
+ [
13107
+ "webPageAttributeStickerSet",
13108
+ [
13109
+ 0x50CC03D3,
13110
+ [
13111
+ ["flags", flags, "#"],
13112
+ ["emojis", "true", "flags.0?true"],
13113
+ ["text_color", "true", "flags.1?true"],
13114
+ ["stickers", ["Document"], "Vector<Document>"],
13115
+ ],
13116
+ ],
13117
+ ],
12972
13118
  [
12973
13119
  "messages.votesList",
12974
13120
  [
@@ -13831,23 +13977,19 @@ const types = new Map([
13831
13977
  [
13832
13978
  "sponsoredMessage",
13833
13979
  [
13834
- 0xED5383F7,
13980
+ 0xBDEDF566,
13835
13981
  [
13836
13982
  ["flags", flags, "#"],
13837
13983
  ["recommended", "true", "flags.5?true"],
13838
- ["show_peer_photo", "true", "flags.6?true"],
13839
13984
  ["can_report", "true", "flags.12?true"],
13840
13985
  ["random_id", Uint8Array, "bytes"],
13841
- ["from_id", "Peer", "flags.3?Peer"],
13842
- ["chat_invite", "ChatInvite", "flags.4?ChatInvite"],
13843
- ["chat_invite_hash", "string", "flags.4?string"],
13844
- ["channel_post", "number", "flags.2?int"],
13845
- ["start_param", "string", "flags.0?string"],
13846
- ["webpage", "SponsoredWebPage", "flags.9?SponsoredWebPage"],
13847
- ["app", "BotApp", "flags.10?BotApp"],
13986
+ ["url", "string", "string"],
13987
+ ["title", "string", "string"],
13848
13988
  ["message", "string", "string"],
13849
13989
  ["entities", ["MessageEntity"], "flags.1?Vector<MessageEntity>"],
13850
- ["button_text", "string", "flags.11?string"],
13990
+ ["photo", "Photo", "flags.6?Photo"],
13991
+ ["color", "PeerColor", "flags.13?PeerColor"],
13992
+ ["button_text", "string", "string"],
13851
13993
  ["sponsor_info", "string", "flags.7?string"],
13852
13994
  ["additional_info", "string", "flags.8?string"],
13853
13995
  ],
@@ -14341,6 +14483,15 @@ const types = new Map([
14341
14483
  ],
14342
14484
  ],
14343
14485
  ],
14486
+ [
14487
+ "inputInvoiceStars",
14488
+ [
14489
+ 0x1DA33AD8,
14490
+ [
14491
+ ["option", "StarsTopupOption", "StarsTopupOption"],
14492
+ ],
14493
+ ],
14494
+ ],
14344
14495
  [
14345
14496
  "payments.exportedInvoice",
14346
14497
  [
@@ -14432,6 +14583,18 @@ const types = new Map([
14432
14583
  ],
14433
14584
  ],
14434
14585
  ],
14586
+ [
14587
+ "inputStorePaymentStars",
14588
+ [
14589
+ 0x4F0EE8DF,
14590
+ [
14591
+ ["flags", flags, "#"],
14592
+ ["stars", "bigint", "long"],
14593
+ ["currency", "string", "string"],
14594
+ ["amount", "bigint", "long"],
14595
+ ],
14596
+ ],
14597
+ ],
14435
14598
  [
14436
14599
  "premiumGiftOption",
14437
14600
  [
@@ -14848,6 +15011,27 @@ const types = new Map([
14848
15011
  ],
14849
15012
  ],
14850
15013
  ],
15014
+ [
15015
+ "emojiGroupGreeting",
15016
+ [
15017
+ 0x80D26CC7,
15018
+ [
15019
+ ["title", "string", "string"],
15020
+ ["icon_emoji_id", "bigint", "long"],
15021
+ ["emoticons", ["string"], "Vector<string>"],
15022
+ ],
15023
+ ],
15024
+ ],
15025
+ [
15026
+ "emojiGroupPremium",
15027
+ [
15028
+ 0x093BCF34,
15029
+ [
15030
+ ["title", "string", "string"],
15031
+ ["icon_emoji_id", "bigint", "long"],
15032
+ ],
15033
+ ],
15034
+ ],
14851
15035
  [
14852
15036
  "messages.emojiGroupsNotModified",
14853
15037
  [
@@ -15146,18 +15330,6 @@ const types = new Map([
15146
15330
  ],
15147
15331
  ],
15148
15332
  ],
15149
- [
15150
- "sponsoredWebPage",
15151
- [
15152
- 0x3DB8EC63,
15153
- [
15154
- ["flags", flags, "#"],
15155
- ["url", "string", "string"],
15156
- ["site_name", "string", "string"],
15157
- ["photo", "Photo", "flags.0?Photo"],
15158
- ],
15159
- ],
15160
- ],
15161
15333
  [
15162
15334
  "storyViews",
15163
15335
  [
@@ -15255,10 +15427,12 @@ const types = new Map([
15255
15427
  [
15256
15428
  "stories.stories",
15257
15429
  [
15258
- 0x5DD8C3C8,
15430
+ 0x63C3DD0A,
15259
15431
  [
15432
+ ["flags", flags, "#"],
15260
15433
  ["count", "number", "int"],
15261
15434
  ["stories", ["StoryItem"], "Vector<StoryItem>"],
15435
+ ["pinned_to_top", ["number"], "flags.0?Vector<int>"],
15262
15436
  ["chats", ["Chat"], "Vector<Chat>"],
15263
15437
  ["users", ["User"], "Vector<User>"],
15264
15438
  ],
@@ -16493,13 +16667,11 @@ const types = new Map([
16493
16667
  [
16494
16668
  "stats.broadcastRevenueStats",
16495
16669
  [
16496
- 0xD07B4BAD,
16670
+ 0x5407E297,
16497
16671
  [
16498
16672
  ["top_hours_graph", "StatsGraph", "StatsGraph"],
16499
16673
  ["revenue_graph", "StatsGraph", "StatsGraph"],
16500
- ["current_balance", "bigint", "long"],
16501
- ["available_balance", "bigint", "long"],
16502
- ["overall_revenue", "bigint", "long"],
16674
+ ["balances", "BroadcastRevenueBalances", "BroadcastRevenueBalances"],
16503
16675
  ["usd_rate", "number", "double"],
16504
16676
  ],
16505
16677
  ],
@@ -16561,6 +16733,179 @@ const types = new Map([
16561
16733
  ],
16562
16734
  ],
16563
16735
  ],
16736
+ [
16737
+ "reactionNotificationsFromContacts",
16738
+ [
16739
+ 0xBAC3A61A,
16740
+ [],
16741
+ ],
16742
+ ],
16743
+ [
16744
+ "reactionNotificationsFromAll",
16745
+ [
16746
+ 0x4B9E22A0,
16747
+ [],
16748
+ ],
16749
+ ],
16750
+ [
16751
+ "reactionsNotifySettings",
16752
+ [
16753
+ 0x56E34970,
16754
+ [
16755
+ ["flags", flags, "#"],
16756
+ ["messages_notify_from", "ReactionNotificationsFrom", "flags.0?ReactionNotificationsFrom"],
16757
+ ["stories_notify_from", "ReactionNotificationsFrom", "flags.1?ReactionNotificationsFrom"],
16758
+ ["sound", "NotificationSound", "NotificationSound"],
16759
+ ["show_previews", "boolean", "Bool"],
16760
+ ],
16761
+ ],
16762
+ ],
16763
+ [
16764
+ "broadcastRevenueBalances",
16765
+ [
16766
+ 0x8438F1C6,
16767
+ [
16768
+ ["current_balance", "bigint", "long"],
16769
+ ["available_balance", "bigint", "long"],
16770
+ ["overall_revenue", "bigint", "long"],
16771
+ ],
16772
+ ],
16773
+ ],
16774
+ [
16775
+ "availableEffect",
16776
+ [
16777
+ 0x93C3E27E,
16778
+ [
16779
+ ["flags", flags, "#"],
16780
+ ["premium_required", "true", "flags.2?true"],
16781
+ ["id", "bigint", "long"],
16782
+ ["emoticon", "string", "string"],
16783
+ ["static_icon_id", "bigint", "flags.0?long"],
16784
+ ["effect_sticker_id", "bigint", "long"],
16785
+ ["effect_animation_id", "bigint", "flags.1?long"],
16786
+ ],
16787
+ ],
16788
+ ],
16789
+ [
16790
+ "messages.availableEffectsNotModified",
16791
+ [
16792
+ 0xD1ED9A5B,
16793
+ [],
16794
+ ],
16795
+ ],
16796
+ [
16797
+ "messages.availableEffects",
16798
+ [
16799
+ 0xBDDB616E,
16800
+ [
16801
+ ["hash", "number", "int"],
16802
+ ["effects", ["AvailableEffect"], "Vector<AvailableEffect>"],
16803
+ ["documents", ["Document"], "Vector<Document>"],
16804
+ ],
16805
+ ],
16806
+ ],
16807
+ [
16808
+ "factCheck",
16809
+ [
16810
+ 0xB89BFCCF,
16811
+ [
16812
+ ["flags", flags, "#"],
16813
+ ["need_check", "true", "flags.0?true"],
16814
+ ["country", "string", "flags.1?string"],
16815
+ ["text", "TextWithEntities", "flags.1?TextWithEntities"],
16816
+ ["hash", "bigint", "long"],
16817
+ ],
16818
+ ],
16819
+ ],
16820
+ [
16821
+ "starsTransactionPeerUnsupported",
16822
+ [
16823
+ 0x95F2BFE4,
16824
+ [],
16825
+ ],
16826
+ ],
16827
+ [
16828
+ "starsTransactionPeerAppStore",
16829
+ [
16830
+ 0xB457B375,
16831
+ [],
16832
+ ],
16833
+ ],
16834
+ [
16835
+ "starsTransactionPeerPlayMarket",
16836
+ [
16837
+ 0x7B560A0B,
16838
+ [],
16839
+ ],
16840
+ ],
16841
+ [
16842
+ "starsTransactionPeerPremiumBot",
16843
+ [
16844
+ 0x250DBAF8,
16845
+ [],
16846
+ ],
16847
+ ],
16848
+ [
16849
+ "starsTransactionPeerFragment",
16850
+ [
16851
+ 0xE92FD902,
16852
+ [],
16853
+ ],
16854
+ ],
16855
+ [
16856
+ "starsTransactionPeer",
16857
+ [
16858
+ 0xD80DA15D,
16859
+ [
16860
+ ["peer", "Peer", "Peer"],
16861
+ ],
16862
+ ],
16863
+ ],
16864
+ [
16865
+ "starsTopupOption",
16866
+ [
16867
+ 0x0BD915C0,
16868
+ [
16869
+ ["flags", flags, "#"],
16870
+ ["extended", "true", "flags.1?true"],
16871
+ ["stars", "bigint", "long"],
16872
+ ["store_product", "string", "flags.0?string"],
16873
+ ["currency", "string", "string"],
16874
+ ["amount", "bigint", "long"],
16875
+ ],
16876
+ ],
16877
+ ],
16878
+ [
16879
+ "starsTransaction",
16880
+ [
16881
+ 0xCC7079B2,
16882
+ [
16883
+ ["flags", flags, "#"],
16884
+ ["refund", "true", "flags.3?true"],
16885
+ ["id", "string", "string"],
16886
+ ["stars", "bigint", "long"],
16887
+ ["date", "number", "int"],
16888
+ ["peer", "StarsTransactionPeer", "StarsTransactionPeer"],
16889
+ ["title", "string", "flags.0?string"],
16890
+ ["description", "string", "flags.1?string"],
16891
+ ["photo", "WebDocument", "flags.2?WebDocument"],
16892
+ ],
16893
+ ],
16894
+ ],
16895
+ [
16896
+ "payments.starsStatus",
16897
+ [
16898
+ 0x8CF4EE60,
16899
+ [
16900
+ ["flags", flags, "#"],
16901
+ ["balance", "bigint", "long"],
16902
+ ["history", ["StarsTransaction"], "Vector<StarsTransaction>"],
16903
+ ["next_offset", "string", "flags.0?string"],
16904
+ ["chats", ["Chat"], "Vector<Chat>"],
16905
+ ["users", ["User"], "Vector<User>"],
16906
+ ],
16907
+ ],
16908
+ ],
16564
16909
  [
16565
16910
  "req_pq_multi",
16566
16911
  [
@@ -16657,6 +17002,26 @@ const types = new Map([
16657
17002
  ],
16658
17003
  ],
16659
17004
  ],
17005
+ [
17006
+ "invokeWithGooglePlayIntegrityPrefix",
17007
+ [
17008
+ 0x1DF92984,
17009
+ [
17010
+ ["nonce", "string", "string"],
17011
+ ["token", "string", "string"],
17012
+ ],
17013
+ ],
17014
+ ],
17015
+ [
17016
+ "invokeWithApnsSecretPrefix",
17017
+ [
17018
+ 0x0DAE54F8,
17019
+ [
17020
+ ["nonce", "string", "string"],
17021
+ ["secret", "string", "string"],
17022
+ ],
17023
+ ],
17024
+ ],
16660
17025
  [
16661
17026
  "invokeAfterMsg",
16662
17027
  [
@@ -16745,6 +17110,28 @@ const types = new Map([
16745
17110
  ],
16746
17111
  ],
16747
17112
  ],
17113
+ [
17114
+ "invokeWithGooglePlayIntegrity",
17115
+ [
17116
+ 0x1DF92984,
17117
+ [
17118
+ ["nonce", "string", "string"],
17119
+ ["token", "string", "string"],
17120
+ ["query", null, "!X"],
17121
+ ],
17122
+ ],
17123
+ ],
17124
+ [
17125
+ "invokeWithApnsSecret",
17126
+ [
17127
+ 0x0DAE54F8,
17128
+ [
17129
+ ["nonce", "string", "string"],
17130
+ ["secret", "string", "string"],
17131
+ ["query", null, "!X"],
17132
+ ],
17133
+ ],
17134
+ ],
16748
17135
  [
16749
17136
  "auth.sendCode",
16750
17137
  [
@@ -16871,10 +17258,12 @@ const types = new Map([
16871
17258
  [
16872
17259
  "auth.resendCode",
16873
17260
  [
16874
- 0x3EF1A9BF,
17261
+ 0xCAE47523,
16875
17262
  [
17263
+ ["flags", flags, "#"],
16876
17264
  ["phone_number", "string", "string"],
16877
17265
  ["phone_code_hash", "string", "string"],
17266
+ ["reason", "string", "flags.0?string"],
16878
17267
  ],
16879
17268
  ],
16880
17269
  ],
@@ -16949,12 +17338,13 @@ const types = new Map([
16949
17338
  [
16950
17339
  "auth.requestFirebaseSms",
16951
17340
  [
16952
- 0x89464B50,
17341
+ 0x8E39261E,
16953
17342
  [
16954
17343
  ["flags", flags, "#"],
16955
17344
  ["phone_number", "string", "string"],
16956
17345
  ["phone_code_hash", "string", "string"],
16957
17346
  ["safety_net_token", "string", "flags.0?string"],
17347
+ ["play_integrity_token", "string", "flags.2?string"],
16958
17348
  ["ios_push_secret", "string", "flags.1?string"],
16959
17349
  ],
16960
17350
  ],
@@ -16969,6 +17359,17 @@ const types = new Map([
16969
17359
  ],
16970
17360
  ],
16971
17361
  ],
17362
+ [
17363
+ "auth.reportMissingCode",
17364
+ [
17365
+ 0xCB9DEFF6,
17366
+ [
17367
+ ["phone_number", "string", "string"],
17368
+ ["phone_code_hash", "string", "string"],
17369
+ ["mnc", "string", "string"],
17370
+ ],
17371
+ ],
17372
+ ],
16972
17373
  [
16973
17374
  "account.registerDevice",
16974
17375
  [
@@ -18019,6 +18420,31 @@ const types = new Map([
18019
18420
  ],
18020
18421
  ],
18021
18422
  ],
18423
+ [
18424
+ "account.toggleSponsoredMessages",
18425
+ [
18426
+ 0xB9D9A38D,
18427
+ [
18428
+ ["enabled", "boolean", "Bool"],
18429
+ ],
18430
+ ],
18431
+ ],
18432
+ [
18433
+ "account.getReactionsNotifySettings",
18434
+ [
18435
+ 0x06DD654C,
18436
+ [],
18437
+ ],
18438
+ ],
18439
+ [
18440
+ "account.setReactionsNotifySettings",
18441
+ [
18442
+ 0x316CE548,
18443
+ [
18444
+ ["settings", "ReactionsNotifySettings", "ReactionsNotifySettings"],
18445
+ ],
18446
+ ],
18447
+ ],
18022
18448
  [
18023
18449
  "users.getUsers",
18024
18450
  [
@@ -18440,7 +18866,7 @@ const types = new Map([
18440
18866
  [
18441
18867
  "messages.sendMessage",
18442
18868
  [
18443
- 0xDFF8042C,
18869
+ 0x983F9745,
18444
18870
  [
18445
18871
  ["flags", flags, "#"],
18446
18872
  ["no_webpage", "true", "flags.1?true"],
@@ -18459,13 +18885,14 @@ const types = new Map([
18459
18885
  ["schedule_date", "number", "flags.10?int"],
18460
18886
  ["send_as", "InputPeer", "flags.13?InputPeer"],
18461
18887
  ["quick_reply_shortcut", "InputQuickReplyShortcut", "flags.17?InputQuickReplyShortcut"],
18888
+ ["effect", "bigint", "flags.18?long"],
18462
18889
  ],
18463
18890
  ],
18464
18891
  ],
18465
18892
  [
18466
18893
  "messages.sendMedia",
18467
18894
  [
18468
- 0x7BD66041,
18895
+ 0x7852834E,
18469
18896
  [
18470
18897
  ["flags", flags, "#"],
18471
18898
  ["silent", "true", "flags.5?true"],
@@ -18484,6 +18911,7 @@ const types = new Map([
18484
18911
  ["schedule_date", "number", "flags.10?int"],
18485
18912
  ["send_as", "InputPeer", "flags.13?InputPeer"],
18486
18913
  ["quick_reply_shortcut", "InputQuickReplyShortcut", "flags.17?InputQuickReplyShortcut"],
18914
+ ["effect", "bigint", "flags.18?long"],
18487
18915
  ],
18488
18916
  ],
18489
18917
  ],
@@ -18882,6 +19310,7 @@ const types = new Map([
18882
19310
  0x4BC6589A,
18883
19311
  [
18884
19312
  ["flags", flags, "#"],
19313
+ ["broadcasts_only", "true", "flags.1?true"],
18885
19314
  ["folder_id", "number", "flags.0?int"],
18886
19315
  ["q", "string", "string"],
18887
19316
  ["filter", "MessagesFilter", "MessagesFilter"],
@@ -19385,7 +19814,7 @@ const types = new Map([
19385
19814
  [
19386
19815
  "messages.sendMultiMedia",
19387
19816
  [
19388
- 0x0C964709,
19817
+ 0x37B74355,
19389
19818
  [
19390
19819
  ["flags", flags, "#"],
19391
19820
  ["silent", "true", "flags.5?true"],
@@ -19400,6 +19829,7 @@ const types = new Map([
19400
19829
  ["schedule_date", "number", "flags.10?int"],
19401
19830
  ["send_as", "InputPeer", "flags.13?InputPeer"],
19402
19831
  ["quick_reply_shortcut", "InputQuickReplyShortcut", "flags.17?InputQuickReplyShortcut"],
19832
+ ["effect", "bigint", "flags.18?long"],
19403
19833
  ],
19404
19834
  ],
19405
19835
  ],
@@ -20067,10 +20497,12 @@ const types = new Map([
20067
20497
  [
20068
20498
  "messages.setChatAvailableReactions",
20069
20499
  [
20070
- 0xFEB16771,
20500
+ 0x5A150BD4,
20071
20501
  [
20502
+ ["flags", flags, "#"],
20072
20503
  ["peer", "InputPeer", "InputPeer"],
20073
20504
  ["available_reactions", "ChatReactions", "ChatReactions"],
20505
+ ["reactions_limit", "number", "flags.0?int"],
20074
20506
  ],
20075
20507
  ],
20076
20508
  ],
@@ -20683,6 +21115,55 @@ const types = new Map([
20683
21115
  ],
20684
21116
  ],
20685
21117
  ],
21118
+ [
21119
+ "messages.getEmojiStickerGroups",
21120
+ [
21121
+ 0x1DD840F5,
21122
+ [
21123
+ ["hash", "number", "int"],
21124
+ ],
21125
+ ],
21126
+ ],
21127
+ [
21128
+ "messages.getAvailableEffects",
21129
+ [
21130
+ 0xDEA20A39,
21131
+ [
21132
+ ["hash", "number", "int"],
21133
+ ],
21134
+ ],
21135
+ ],
21136
+ [
21137
+ "messages.editFactCheck",
21138
+ [
21139
+ 0x0589EE75,
21140
+ [
21141
+ ["peer", "InputPeer", "InputPeer"],
21142
+ ["msg_id", "number", "int"],
21143
+ ["text", "TextWithEntities", "TextWithEntities"],
21144
+ ],
21145
+ ],
21146
+ ],
21147
+ [
21148
+ "messages.deleteFactCheck",
21149
+ [
21150
+ 0xD1DA940C,
21151
+ [
21152
+ ["peer", "InputPeer", "InputPeer"],
21153
+ ["msg_id", "number", "int"],
21154
+ ],
21155
+ ],
21156
+ ],
21157
+ [
21158
+ "messages.getFactCheck",
21159
+ [
21160
+ 0xB9CDC5EE,
21161
+ [
21162
+ ["peer", "InputPeer", "InputPeer"],
21163
+ ["msg_id", ["number"], "Vector<int>"],
21164
+ ],
21165
+ ],
21166
+ ],
20686
21167
  [
20687
21168
  "updates.getState",
20688
21169
  [
@@ -21703,9 +22184,10 @@ const types = new Map([
21703
22184
  [
21704
22185
  "channels.getChannelRecommendations",
21705
22186
  [
21706
- 0x83B70D97,
22187
+ 0x25A71742,
21707
22188
  [
21708
- ["channel", "InputChannel", "InputChannel"],
22189
+ ["flags", flags, "#"],
22190
+ ["channel", "InputChannel", "flags.0?InputChannel"],
21709
22191
  ],
21710
22192
  ],
21711
22193
  ],
@@ -21760,6 +22242,19 @@ const types = new Map([
21760
22242
  ],
21761
22243
  ],
21762
22244
  ],
22245
+ [
22246
+ "channels.searchPosts",
22247
+ [
22248
+ 0xD19F987B,
22249
+ [
22250
+ ["hashtag", "string", "string"],
22251
+ ["offset_rate", "number", "int"],
22252
+ ["offset_peer", "InputPeer", "InputPeer"],
22253
+ ["offset_id", "number", "int"],
22254
+ ["limit", "number", "int"],
22255
+ ],
22256
+ ],
22257
+ ],
21763
22258
  [
21764
22259
  "bots.sendCustomRequest",
21765
22260
  [
@@ -22085,6 +22580,56 @@ const types = new Map([
22085
22580
  ],
22086
22581
  ],
22087
22582
  ],
22583
+ [
22584
+ "payments.getStarsTopupOptions",
22585
+ [
22586
+ 0xC00EC7D3,
22587
+ [],
22588
+ ],
22589
+ ],
22590
+ [
22591
+ "payments.getStarsStatus",
22592
+ [
22593
+ 0x104FCFA7,
22594
+ [
22595
+ ["peer", "InputPeer", "InputPeer"],
22596
+ ],
22597
+ ],
22598
+ ],
22599
+ [
22600
+ "payments.getStarsTransactions",
22601
+ [
22602
+ 0x673AC2F9,
22603
+ [
22604
+ ["flags", flags, "#"],
22605
+ ["inbound", "true", "flags.0?true"],
22606
+ ["outbound", "true", "flags.1?true"],
22607
+ ["peer", "InputPeer", "InputPeer"],
22608
+ ["offset", "string", "string"],
22609
+ ],
22610
+ ],
22611
+ ],
22612
+ [
22613
+ "payments.sendStarsForm",
22614
+ [
22615
+ 0x02BB731D,
22616
+ [
22617
+ ["flags", flags, "#"],
22618
+ ["form_id", "bigint", "long"],
22619
+ ["invoice", "InputInvoice", "InputInvoice"],
22620
+ ],
22621
+ ],
22622
+ ],
22623
+ [
22624
+ "payments.refundStarsCharge",
22625
+ [
22626
+ 0x25AE8F4A,
22627
+ [
22628
+ ["user_id", "InputUser", "InputUser"],
22629
+ ["charge_id", "string", "string"],
22630
+ ],
22631
+ ],
22632
+ ],
22088
22633
  [
22089
22634
  "stickers.createStickerSet",
22090
22635
  [
@@ -23098,6 +23643,16 @@ const types = new Map([
23098
23643
  ],
23099
23644
  ],
23100
23645
  ],
23646
+ [
23647
+ "stories.togglePinnedToTop",
23648
+ [
23649
+ 0x0B297E9B,
23650
+ [
23651
+ ["peer", "InputPeer", "InputPeer"],
23652
+ ["id", ["number"], "Vector<int>"],
23653
+ ],
23654
+ ],
23655
+ ],
23101
23656
  [
23102
23657
  "premium.getBoostsList",
23103
23658
  [