@mtkruto/node 0.2.7 → 0.2.11

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/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/3_message_manager.d.ts +4 -3
  9. package/esm/client/3_message_manager.d.ts.map +1 -1
  10. package/esm/client/3_message_manager.js +61 -3
  11. package/esm/client/5_client.d.ts +15 -2
  12. package/esm/client/5_client.d.ts.map +1 -1
  13. package/esm/client/5_client.js +20 -11
  14. package/esm/connection/1_connection_tcp.node.d.ts +12 -0
  15. package/esm/connection/1_connection_tcp.node.d.ts.map +1 -0
  16. package/esm/connection/1_connection_tcp.node.js +122 -0
  17. package/esm/tl/0_api.d.ts +386 -33
  18. package/esm/tl/0_api.d.ts.map +1 -1
  19. package/esm/tl/0_api.js +621 -66
  20. package/esm/transport/3_transport_provider_tcp.js +1 -1
  21. package/esm/types/0_invoice.d.ts +10 -0
  22. package/esm/types/0_invoice.d.ts.map +1 -0
  23. package/esm/types/0_invoice.js +9 -0
  24. package/{script/types/0_poll_option.d.ts → esm/types/1_poll_option.d.ts} +4 -1
  25. package/esm/types/1_poll_option.d.ts.map +1 -0
  26. package/esm/types/{0_poll_option.js → 1_poll_option.js} +3 -1
  27. package/esm/types/{1_poll.d.ts → 2_poll.d.ts} +4 -2
  28. package/esm/types/2_poll.d.ts.map +1 -0
  29. package/esm/types/{1_poll.js → 2_poll.js} +3 -2
  30. package/esm/types/4_message.d.ts +15 -2
  31. package/esm/types/4_message.d.ts.map +1 -1
  32. package/esm/types/4_message.js +7 -1
  33. package/package.json +1 -1
  34. package/script/3_types.d.ts +4 -3
  35. package/script/3_types.d.ts.map +1 -1
  36. package/script/3_types.js +4 -3
  37. package/script/4_constants.d.ts +1 -1
  38. package/script/4_constants.js +1 -1
  39. package/script/client/0_params.d.ts +24 -0
  40. package/script/client/0_params.d.ts.map +1 -1
  41. package/script/client/3_message_manager.d.ts +4 -3
  42. package/script/client/3_message_manager.d.ts.map +1 -1
  43. package/script/client/3_message_manager.js +61 -3
  44. package/script/client/5_client.d.ts +15 -2
  45. package/script/client/5_client.d.ts.map +1 -1
  46. package/script/client/5_client.js +20 -11
  47. package/script/connection/1_connection_tcp.node.d.ts +12 -0
  48. package/script/connection/1_connection_tcp.node.d.ts.map +1 -0
  49. package/script/connection/1_connection_tcp.node.js +126 -0
  50. package/script/tl/0_api.d.ts +386 -33
  51. package/script/tl/0_api.d.ts.map +1 -1
  52. package/script/tl/0_api.js +621 -66
  53. package/script/transport/3_transport_provider_tcp.js +2 -2
  54. package/script/types/0_invoice.d.ts +10 -0
  55. package/script/types/0_invoice.d.ts.map +1 -0
  56. package/script/types/0_invoice.js +13 -0
  57. package/{esm/types/0_poll_option.d.ts → script/types/1_poll_option.d.ts} +4 -1
  58. package/script/types/1_poll_option.d.ts.map +1 -0
  59. package/script/types/{0_poll_option.js → 1_poll_option.js} +3 -1
  60. package/script/types/{1_poll.d.ts → 2_poll.d.ts} +4 -2
  61. package/script/types/2_poll.d.ts.map +1 -0
  62. package/script/types/{1_poll.js → 2_poll.js} +4 -3
  63. package/script/types/4_message.d.ts +15 -2
  64. package/script/types/4_message.d.ts.map +1 -1
  65. package/script/types/4_message.js +8 -2
  66. package/esm/connection/1_connection_tcp.d.ts +0 -34
  67. package/esm/connection/1_connection_tcp.d.ts.map +0 -1
  68. package/esm/connection/1_connection_tcp.js +0 -173
  69. package/esm/types/0_poll_option.d.ts.map +0 -1
  70. package/esm/types/1_poll.d.ts.map +0 -1
  71. package/script/connection/1_connection_tcp.d.ts +0 -34
  72. package/script/connection/1_connection_tcp.d.ts.map +0 -1
  73. package/script/connection/1_connection_tcp.js +0 -200
  74. package/script/types/0_poll_option.d.ts.map +0 -1
  75. package/script/types/1_poll.d.ts.map +0 -1
@@ -112,7 +112,7 @@ const map = new Map([
112
112
  [0xE5BBFE1A, "inputMediaPhotoExternal"],
113
113
  [0xFB52DC99, "inputMediaDocumentExternal"],
114
114
  [0xD33F43F3, "inputMediaGame"],
115
- [0x8EB5A6D5, "inputMediaInvoice"],
115
+ [0x405FEF0D, "inputMediaInvoice"],
116
116
  [0x971FA843, "inputMediaGeoLive"],
117
117
  [0x0F94E5F1, "inputMediaPoll"],
118
118
  [0xE66FBF7B, "inputMediaDice"],
@@ -163,8 +163,8 @@ const map = new Map([
163
163
  [0x6592A1A7, "chatForbidden"],
164
164
  [0x0AADFC8F, "channel"],
165
165
  [0x17D493D5, "channelForbidden"],
166
- [0xC9D31138, "chatFull"],
167
- [0x44C054A7, "channelFull"],
166
+ [0x2633421B, "chatFull"],
167
+ [0xBBAB348D, "channelFull"],
168
168
  [0xC02D4007, "chatParticipant"],
169
169
  [0xE46BCEE4, "chatParticipantCreator"],
170
170
  [0xA0933F5B, "chatParticipantAdmin"],
@@ -173,7 +173,7 @@ const map = new Map([
173
173
  [0x37C1011C, "chatPhotoEmpty"],
174
174
  [0x1C6E1C11, "chatPhoto"],
175
175
  [0x90A6CA84, "messageEmpty"],
176
- [0x2357BF25, "message"],
176
+ [0x94345242, "message"],
177
177
  [0x2B085862, "messageService"],
178
178
  [0x3DED6320, "messageMediaEmpty"],
179
179
  [0x695150D7, "messageMediaPhoto"],
@@ -442,6 +442,9 @@ const map = new Map([
442
442
  [0x9DDB347C, "updateBotNewBusinessMessage"],
443
443
  [0x07DF587C, "updateBotEditBusinessMessage"],
444
444
  [0xA02A982E, "updateBotDeleteBusinessMessage"],
445
+ [0x1824E40B, "updateNewStoryReaction"],
446
+ [0xDFD961F5, "updateBroadcastRevenueTransactions"],
447
+ [0x0FB85198, "updateStarsBalance"],
445
448
  [0xA56C2A3E, "updates.state"],
446
449
  [0x5D75A138, "updates.differenceEmpty"],
447
450
  [0x00F49CA0, "updates.difference"],
@@ -644,7 +647,7 @@ const map = new Map([
644
647
  [0x761E6AF4, "messageEntityBankCard"],
645
648
  [0x32CA960F, "messageEntitySpoiler"],
646
649
  [0xC8CF05F8, "messageEntityCustomEmoji"],
647
- [0x020DF5D0, "messageEntityBlockquote"],
650
+ [0xF1CCAAAC, "messageEntityBlockquote"],
648
651
  [0xEE8C1E86, "inputChannelEmpty"],
649
652
  [0xF35AEC28, "inputChannel"],
650
653
  [0x5B934F9D, "inputChannelFromMessage"],
@@ -712,7 +715,9 @@ const map = new Map([
712
715
  [0xF450F59B, "auth.sentCodeTypeEmailCode"],
713
716
  [0xA5491DEA, "auth.sentCodeTypeSetUpEmailRequired"],
714
717
  [0xD9565C39, "auth.sentCodeTypeFragmentSms"],
715
- [0xE57B1432, "auth.sentCodeTypeFirebaseSms"],
718
+ [0x13C90F17, "auth.sentCodeTypeFirebaseSms"],
719
+ [0xA416AC81, "auth.sentCodeTypeSmsWord"],
720
+ [0xB37794AF, "auth.sentCodeTypeSmsPhrase"],
716
721
  [0x36585EA4, "messages.botCallbackAnswer"],
717
722
  [0x26B5DDE6, "messages.messageEditData"],
718
723
  [0x890C3D89, "inputBotInlineMessageID"],
@@ -817,10 +822,12 @@ const map = new Map([
817
822
  [0xF46FE924, "inputWebFileAudioAlbumThumbLocation"],
818
823
  [0x21E753BC, "upload.webFile"],
819
824
  [0xA0058751, "payments.paymentForm"],
825
+ [0x7BF6B15C, "payments.paymentFormStars"],
820
826
  [0xD1451883, "payments.validatedRequestedInfo"],
821
827
  [0x4E5F810D, "payments.paymentResult"],
822
828
  [0xD8411139, "payments.paymentVerificationNeeded"],
823
829
  [0x70C4FE03, "payments.paymentReceipt"],
830
+ [0xDABBF83A, "payments.paymentReceiptStars"],
824
831
  [0xFB8FE43C, "payments.savedInfo"],
825
832
  [0xC10EB2CF, "inputPaymentCredentialsSaved"],
826
833
  [0x3417D728, "inputPaymentCredentials"],
@@ -997,8 +1004,8 @@ const map = new Map([
997
1004
  [0x8C05F1C9, "help.supportName"],
998
1005
  [0xF3AE2EED, "help.userInfoEmpty"],
999
1006
  [0x01EB3758, "help.userInfo"],
1000
- [0x6CA9C2E9, "pollAnswer"],
1001
- [0x86E18161, "poll"],
1007
+ [0xFF16E2CA, "pollAnswer"],
1008
+ [0x58747131, "poll"],
1002
1009
  [0x3B6DDAD2, "pollAnswerVoters"],
1003
1010
  [0x7ADF2420, "pollResults"],
1004
1011
  [0xF041E250, "chatOnlines"],
@@ -1050,6 +1057,7 @@ const map = new Map([
1050
1057
  [0xFA58B6D4, "themeSettings"],
1051
1058
  [0x54B56617, "webPageAttributeTheme"],
1052
1059
  [0x2E94C3E7, "webPageAttributeStory"],
1060
+ [0x50CC03D3, "webPageAttributeStickerSet"],
1053
1061
  [0x4899484E, "messages.votesList"],
1054
1062
  [0xF568028A, "bankCardOpenUrl"],
1055
1063
  [0x3E24E573, "payments.bankCardData"],
@@ -1124,7 +1132,7 @@ const map = new Map([
1124
1132
  [0xE3779861, "account.resetPasswordFailedWait"],
1125
1133
  [0xE9EFFC7D, "account.resetPasswordRequestedWait"],
1126
1134
  [0xE926D63E, "account.resetPasswordOk"],
1127
- [0xED5383F7, "sponsoredMessage"],
1135
+ [0xBDEDF566, "sponsoredMessage"],
1128
1136
  [0xC9EE1D87, "messages.sponsoredMessages"],
1129
1137
  [0x1839490F, "messages.sponsoredMessagesEmpty"],
1130
1138
  [0xC9B0539F, "searchResultsCalendarPeriod"],
@@ -1173,6 +1181,7 @@ const map = new Map([
1173
1181
  [0xC5B56859, "inputInvoiceMessage"],
1174
1182
  [0xC326CAEF, "inputInvoiceSlug"],
1175
1183
  [0x98986C0D, "inputInvoicePremiumGiftCode"],
1184
+ [0x1DA33AD8, "inputInvoiceStars"],
1176
1185
  [0xAED0CBD9, "payments.exportedInvoice"],
1177
1186
  [0xCFB9D957, "messages.transcribedAudio"],
1178
1187
  [0x5334759C, "help.premiumPromo"],
@@ -1180,6 +1189,7 @@ const map = new Map([
1180
1189
  [0x616F7FE8, "inputStorePaymentGiftPremium"],
1181
1190
  [0xA3805F3F, "inputStorePaymentPremiumGiftCode"],
1182
1191
  [0x160544CA, "inputStorePaymentPremiumGiveaway"],
1192
+ [0x4F0EE8DF, "inputStorePaymentStars"],
1183
1193
  [0x74C34319, "premiumGiftOption"],
1184
1194
  [0x88F8F21B, "paymentFormMethod"],
1185
1195
  [0x2DE11AAE, "emojiStatusEmpty"],
@@ -1220,6 +1230,8 @@ const map = new Map([
1220
1230
  [0x481EADFA, "emojiListNotModified"],
1221
1231
  [0x7A1E11D1, "emojiList"],
1222
1232
  [0x7A9ABDA9, "emojiGroup"],
1233
+ [0x80D26CC7, "emojiGroupGreeting"],
1234
+ [0x093BCF34, "emojiGroupPremium"],
1223
1235
  [0x6FB4AD87, "messages.emojiGroupsNotModified"],
1224
1236
  [0x881FB94B, "messages.emojiGroups"],
1225
1237
  [0x751F3146, "textWithEntities"],
@@ -1248,14 +1260,13 @@ const map = new Map([
1248
1260
  [0xB6CC2D5C, "messagePeerVote"],
1249
1261
  [0x74CDA504, "messagePeerVoteInputOption"],
1250
1262
  [0x4628F6E6, "messagePeerVoteMultiple"],
1251
- [0x3DB8EC63, "sponsoredWebPage"],
1252
1263
  [0x8D595CD6, "storyViews"],
1253
1264
  [0x51E6EE4F, "storyItemDeleted"],
1254
1265
  [0xFFADC913, "storyItemSkipped"],
1255
1266
  [0x79B26A24, "storyItem"],
1256
1267
  [0x1158FE3E, "stories.allStoriesNotModified"],
1257
1268
  [0x6EFC5E81, "stories.allStories"],
1258
- [0x5DD8C3C8, "stories.stories"],
1269
+ [0x63C3DD0A, "stories.stories"],
1259
1270
  [0xB0BDEAC5, "storyView"],
1260
1271
  [0x9083670B, "storyViewPublicForward"],
1261
1272
  [0xBD74CF49, "storyViewPublicRepost"],
@@ -1361,12 +1372,29 @@ const map = new Map([
1361
1372
  [0x846F9E42, "channels.sponsoredMessageReportResultChooseOption"],
1362
1373
  [0x3E3BCF2F, "channels.sponsoredMessageReportResultAdsHidden"],
1363
1374
  [0xAD798849, "channels.sponsoredMessageReportResultReported"],
1364
- [0xD07B4BAD, "stats.broadcastRevenueStats"],
1375
+ [0x5407E297, "stats.broadcastRevenueStats"],
1365
1376
  [0xEC659737, "stats.broadcastRevenueWithdrawalUrl"],
1366
1377
  [0x557E2CC4, "broadcastRevenueTransactionProceeds"],
1367
1378
  [0x5A590978, "broadcastRevenueTransactionWithdrawal"],
1368
1379
  [0x42D30D2E, "broadcastRevenueTransactionRefund"],
1369
1380
  [0x87158466, "stats.broadcastRevenueTransactions"],
1381
+ [0xBAC3A61A, "reactionNotificationsFromContacts"],
1382
+ [0x4B9E22A0, "reactionNotificationsFromAll"],
1383
+ [0x56E34970, "reactionsNotifySettings"],
1384
+ [0x8438F1C6, "broadcastRevenueBalances"],
1385
+ [0x93C3E27E, "availableEffect"],
1386
+ [0xD1ED9A5B, "messages.availableEffectsNotModified"],
1387
+ [0xBDDB616E, "messages.availableEffects"],
1388
+ [0xB89BFCCF, "factCheck"],
1389
+ [0x95F2BFE4, "starsTransactionPeerUnsupported"],
1390
+ [0xB457B375, "starsTransactionPeerAppStore"],
1391
+ [0x7B560A0B, "starsTransactionPeerPlayMarket"],
1392
+ [0x250DBAF8, "starsTransactionPeerPremiumBot"],
1393
+ [0xE92FD902, "starsTransactionPeerFragment"],
1394
+ [0xD80DA15D, "starsTransactionPeer"],
1395
+ [0x0BD915C0, "starsTopupOption"],
1396
+ [0xCC7079B2, "starsTransaction"],
1397
+ [0x8CF4EE60, "payments.starsStatus"],
1370
1398
  ]);
1371
1399
  exports.getTypeName = map.get.bind(map);
1372
1400
  exports.flags = Symbol();
@@ -1627,6 +1655,9 @@ const enums = new Map([
1627
1655
  "updateBotNewBusinessMessage",
1628
1656
  "updateBotEditBusinessMessage",
1629
1657
  "updateBotDeleteBusinessMessage",
1658
+ "updateNewStoryReaction",
1659
+ "updateBroadcastRevenueTransactions",
1660
+ "updateStarsBalance",
1630
1661
  ]],
1631
1662
  ["updates.State", ["updates.state"]],
1632
1663
  ["updates.Difference", ["updates.differenceEmpty", "updates.difference", "updates.differenceSlice", "updates.differenceTooLong"]],
@@ -1701,7 +1732,7 @@ const enums = new Map([
1701
1732
  ["ExportedMessageLink", ["exportedMessageLink"]],
1702
1733
  ["MessageFwdHeader", ["messageFwdHeader"]],
1703
1734
  ["auth.CodeType", ["auth.codeTypeSms", "auth.codeTypeCall", "auth.codeTypeFlashCall", "auth.codeTypeMissedCall", "auth.codeTypeFragmentSms"]],
1704
- ["auth.SentCodeType", ["auth.sentCodeTypeApp", "auth.sentCodeTypeSms", "auth.sentCodeTypeCall", "auth.sentCodeTypeFlashCall", "auth.sentCodeTypeMissedCall", "auth.sentCodeTypeEmailCode", "auth.sentCodeTypeSetUpEmailRequired", "auth.sentCodeTypeFragmentSms", "auth.sentCodeTypeFirebaseSms"]],
1735
+ ["auth.SentCodeType", ["auth.sentCodeTypeApp", "auth.sentCodeTypeSms", "auth.sentCodeTypeCall", "auth.sentCodeTypeFlashCall", "auth.sentCodeTypeMissedCall", "auth.sentCodeTypeEmailCode", "auth.sentCodeTypeSetUpEmailRequired", "auth.sentCodeTypeFragmentSms", "auth.sentCodeTypeFirebaseSms", "auth.sentCodeTypeSmsWord", "auth.sentCodeTypeSmsPhrase"]],
1705
1736
  ["messages.BotCallbackAnswer", ["messages.botCallbackAnswer"]],
1706
1737
  ["messages.MessageEditData", ["messages.messageEditData"]],
1707
1738
  ["InputBotInlineMessageID", ["inputBotInlineMessageID", "inputBotInlineMessageID64"]],
@@ -1737,10 +1768,10 @@ const enums = new Map([
1737
1768
  ["InputWebDocument", ["inputWebDocument"]],
1738
1769
  ["InputWebFileLocation", ["inputWebFileLocation", "inputWebFileGeoPointLocation", "inputWebFileAudioAlbumThumbLocation"]],
1739
1770
  ["upload.WebFile", ["upload.webFile"]],
1740
- ["payments.PaymentForm", ["payments.paymentForm"]],
1771
+ ["payments.PaymentForm", ["payments.paymentForm", "payments.paymentFormStars"]],
1741
1772
  ["payments.ValidatedRequestedInfo", ["payments.validatedRequestedInfo"]],
1742
1773
  ["payments.PaymentResult", ["payments.paymentResult", "payments.paymentVerificationNeeded"]],
1743
- ["payments.PaymentReceipt", ["payments.paymentReceipt"]],
1774
+ ["payments.PaymentReceipt", ["payments.paymentReceipt", "payments.paymentReceiptStars"]],
1744
1775
  ["payments.SavedInfo", ["payments.savedInfo"]],
1745
1776
  ["InputPaymentCredentials", ["inputPaymentCredentialsSaved", "inputPaymentCredentials", "inputPaymentCredentialsApplePay", "inputPaymentCredentialsGooglePay"]],
1746
1777
  ["account.TmpPassword", ["account.tmpPassword"]],
@@ -1892,7 +1923,7 @@ const enums = new Map([
1892
1923
  ["BaseTheme", ["baseThemeClassic", "baseThemeDay", "baseThemeNight", "baseThemeTinted", "baseThemeArctic"]],
1893
1924
  ["InputThemeSettings", ["inputThemeSettings"]],
1894
1925
  ["ThemeSettings", ["themeSettings"]],
1895
- ["WebPageAttribute", ["webPageAttributeTheme", "webPageAttributeStory"]],
1926
+ ["WebPageAttribute", ["webPageAttributeTheme", "webPageAttributeStory", "webPageAttributeStickerSet"]],
1896
1927
  ["messages.VotesList", ["messages.votesList"]],
1897
1928
  ["BankCardOpenUrl", ["bankCardOpenUrl"]],
1898
1929
  ["payments.BankCardData", ["payments.bankCardData"]],
@@ -1975,11 +2006,11 @@ const enums = new Map([
1975
2006
  ["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
1976
2007
  ["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
1977
2008
  ["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
1978
- ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode"]],
2009
+ ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars"]],
1979
2010
  ["payments.ExportedInvoice", ["payments.exportedInvoice"]],
1980
2011
  ["messages.TranscribedAudio", ["messages.transcribedAudio"]],
1981
2012
  ["help.PremiumPromo", ["help.premiumPromo"]],
1982
- ["InputStorePaymentPurpose", ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway"]],
2013
+ ["InputStorePaymentPurpose", ["inputStorePaymentPremiumSubscription", "inputStorePaymentGiftPremium", "inputStorePaymentPremiumGiftCode", "inputStorePaymentPremiumGiveaway", "inputStorePaymentStars"]],
1983
2014
  ["PremiumGiftOption", ["premiumGiftOption"]],
1984
2015
  ["PaymentFormMethod", ["paymentFormMethod"]],
1985
2016
  ["EmojiStatus", ["emojiStatusEmpty", "emojiStatus", "emojiStatusUntil"]],
@@ -2001,7 +2032,7 @@ const enums = new Map([
2001
2032
  ["ExportedContactToken", ["exportedContactToken"]],
2002
2033
  ["RequestPeerType", ["requestPeerTypeUser", "requestPeerTypeChat", "requestPeerTypeBroadcast"]],
2003
2034
  ["EmojiList", ["emojiListNotModified", "emojiList"]],
2004
- ["EmojiGroup", ["emojiGroup"]],
2035
+ ["EmojiGroup", ["emojiGroup", "emojiGroupGreeting", "emojiGroupPremium"]],
2005
2036
  ["messages.EmojiGroups", ["messages.emojiGroupsNotModified", "messages.emojiGroups"]],
2006
2037
  ["TextWithEntities", ["textWithEntities"]],
2007
2038
  ["messages.TranslatedText", ["messages.translateResult"]],
@@ -2023,7 +2054,6 @@ const enums = new Map([
2023
2054
  ["chatlists.ChatlistUpdates", ["chatlists.chatlistUpdates"]],
2024
2055
  ["bots.BotInfo", ["bots.botInfo"]],
2025
2056
  ["MessagePeerVote", ["messagePeerVote", "messagePeerVoteInputOption", "messagePeerVoteMultiple"]],
2026
- ["SponsoredWebPage", ["sponsoredWebPage"]],
2027
2057
  ["StoryViews", ["storyViews"]],
2028
2058
  ["StoryItem", ["storyItemDeleted", "storyItemSkipped", "storyItem"]],
2029
2059
  ["stories.AllStories", ["stories.allStoriesNotModified", "stories.allStories"]],
@@ -2109,6 +2139,16 @@ const enums = new Map([
2109
2139
  ["stats.BroadcastRevenueWithdrawalUrl", ["stats.broadcastRevenueWithdrawalUrl"]],
2110
2140
  ["BroadcastRevenueTransaction", ["broadcastRevenueTransactionProceeds", "broadcastRevenueTransactionWithdrawal", "broadcastRevenueTransactionRefund"]],
2111
2141
  ["stats.BroadcastRevenueTransactions", ["stats.broadcastRevenueTransactions"]],
2142
+ ["ReactionNotificationsFrom", ["reactionNotificationsFromContacts", "reactionNotificationsFromAll"]],
2143
+ ["ReactionsNotifySettings", ["reactionsNotifySettings"]],
2144
+ ["BroadcastRevenueBalances", ["broadcastRevenueBalances"]],
2145
+ ["AvailableEffect", ["availableEffect"]],
2146
+ ["messages.AvailableEffects", ["messages.availableEffectsNotModified", "messages.availableEffects"]],
2147
+ ["FactCheck", ["factCheck"]],
2148
+ ["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer"]],
2149
+ ["StarsTopupOption", ["starsTopupOption"]],
2150
+ ["StarsTransaction", ["starsTransaction"]],
2151
+ ["payments.StarsStatus", ["payments.starsStatus"]],
2112
2152
  ]);
2113
2153
  const types = new Map([
2114
2154
  [
@@ -2820,7 +2860,7 @@ const types = new Map([
2820
2860
  [
2821
2861
  "inputMediaInvoice",
2822
2862
  [
2823
- 0x8EB5A6D5,
2863
+ 0x405FEF0D,
2824
2864
  [
2825
2865
  ["flags", exports.flags, "#"],
2826
2866
  ["title", "string", "string"],
@@ -2828,7 +2868,7 @@ const types = new Map([
2828
2868
  ["photo", "InputWebDocument", "flags.0?InputWebDocument"],
2829
2869
  ["invoice", "Invoice", "Invoice"],
2830
2870
  ["payload", Uint8Array, "bytes"],
2831
- ["provider", "string", "string"],
2871
+ ["provider", "string", "flags.3?string"],
2832
2872
  ["provider_data", "DataJSON", "DataJSON"],
2833
2873
  ["start_param", "string", "flags.1?string"],
2834
2874
  ["extended_media", "InputMedia", "flags.2?InputMedia"],
@@ -3417,7 +3457,7 @@ const types = new Map([
3417
3457
  [
3418
3458
  "chatFull",
3419
3459
  [
3420
- 0xC9D31138,
3460
+ 0x2633421B,
3421
3461
  [
3422
3462
  ["flags", exports.flags, "#"],
3423
3463
  ["can_set_username", "true", "flags.7?true"],
@@ -3439,13 +3479,14 @@ const types = new Map([
3439
3479
  ["requests_pending", "number", "flags.17?int"],
3440
3480
  ["recent_requesters", ["bigint"], "flags.17?Vector<long>"],
3441
3481
  ["available_reactions", "ChatReactions", "flags.18?ChatReactions"],
3482
+ ["reactions_limit", "number", "flags.20?int"],
3442
3483
  ],
3443
3484
  ],
3444
3485
  ],
3445
3486
  [
3446
3487
  "channelFull",
3447
3488
  [
3448
- 0x44C054A7,
3489
+ 0xBBAB348D,
3449
3490
  [
3450
3491
  ["flags", exports.flags, "#"],
3451
3492
  ["can_view_participants", "true", "flags.3?true"],
@@ -3500,6 +3541,7 @@ const types = new Map([
3500
3541
  ["recent_requesters", ["bigint"], "flags.28?Vector<long>"],
3501
3542
  ["default_send_as", "Peer", "flags.29?Peer"],
3502
3543
  ["available_reactions", "ChatReactions", "flags.30?ChatReactions"],
3544
+ ["reactions_limit", "number", "flags2.13?int"],
3503
3545
  ["stories", "PeerStories", "flags2.4?PeerStories"],
3504
3546
  ["wallpaper", "WallPaper", "flags2.7?WallPaper"],
3505
3547
  ["boosts_applied", "number", "flags2.8?int"],
@@ -3595,7 +3637,7 @@ const types = new Map([
3595
3637
  [
3596
3638
  "message",
3597
3639
  [
3598
- 0x2357BF25,
3640
+ 0x94345242,
3599
3641
  [
3600
3642
  ["flags", exports.flags, "#"],
3601
3643
  ["out", "true", "flags.1?true"],
@@ -3635,6 +3677,8 @@ const types = new Map([
3635
3677
  ["restriction_reason", ["RestrictionReason"], "flags.22?Vector<RestrictionReason>"],
3636
3678
  ["ttl_period", "number", "flags.25?int"],
3637
3679
  ["quick_reply_shortcut_id", "number", "flags.30?int"],
3680
+ ["effect", "bigint", "flags2.2?long"],
3681
+ ["factcheck", "FactCheck", "flags2.3?FactCheck"],
3638
3682
  ],
3639
3683
  ],
3640
3684
  ],
@@ -4726,6 +4770,7 @@ const types = new Map([
4726
4770
  ["contact_require_premium", "true", "flags.29?true"],
4727
4771
  ["read_dates_private", "true", "flags.30?true"],
4728
4772
  ["flags2", exports.flags, "#"],
4773
+ ["sponsored_enabled", "true", "flags2.7?true"],
4729
4774
  ["id", "bigint", "long"],
4730
4775
  ["about", "string", "flags.1?string"],
4731
4776
  ["settings", "PeerSettings", "PeerSettings"],
@@ -6531,6 +6576,36 @@ const types = new Map([
6531
6576
  ],
6532
6577
  ],
6533
6578
  ],
6579
+ [
6580
+ "updateNewStoryReaction",
6581
+ [
6582
+ 0x1824E40B,
6583
+ [
6584
+ ["story_id", "number", "int"],
6585
+ ["peer", "Peer", "Peer"],
6586
+ ["reaction", "Reaction", "Reaction"],
6587
+ ],
6588
+ ],
6589
+ ],
6590
+ [
6591
+ "updateBroadcastRevenueTransactions",
6592
+ [
6593
+ 0xDFD961F5,
6594
+ [
6595
+ ["peer", "Peer", "Peer"],
6596
+ ["balances", "BroadcastRevenueBalances", "BroadcastRevenueBalances"],
6597
+ ],
6598
+ ],
6599
+ ],
6600
+ [
6601
+ "updateStarsBalance",
6602
+ [
6603
+ 0x0FB85198,
6604
+ [
6605
+ ["balance", "bigint", "long"],
6606
+ ],
6607
+ ],
6608
+ ],
6534
6609
  [
6535
6610
  "updates.state",
6536
6611
  [
@@ -8637,8 +8712,10 @@ const types = new Map([
8637
8712
  [
8638
8713
  "messageEntityBlockquote",
8639
8714
  [
8640
- 0x020DF5D0,
8715
+ 0xF1CCAAAC,
8641
8716
  [
8717
+ ["flags", exports.flags, "#"],
8718
+ ["collapsed", "true", "flags.0?true"],
8642
8719
  ["offset", "number", "int"],
8643
8720
  ["length", "number", "int"],
8644
8721
  ],
@@ -9436,16 +9513,37 @@ const types = new Map([
9436
9513
  [
9437
9514
  "auth.sentCodeTypeFirebaseSms",
9438
9515
  [
9439
- 0xE57B1432,
9516
+ 0x13C90F17,
9440
9517
  [
9441
9518
  ["flags", exports.flags, "#"],
9442
9519
  ["nonce", Uint8Array, "flags.0?bytes"],
9520
+ ["play_integrity_nonce", Uint8Array, "flags.2?bytes"],
9443
9521
  ["receipt", "string", "flags.1?string"],
9444
9522
  ["push_timeout", "number", "flags.1?int"],
9445
9523
  ["length", "number", "int"],
9446
9524
  ],
9447
9525
  ],
9448
9526
  ],
9527
+ [
9528
+ "auth.sentCodeTypeSmsWord",
9529
+ [
9530
+ 0xA416AC81,
9531
+ [
9532
+ ["flags", exports.flags, "#"],
9533
+ ["beginning", "string", "flags.0?string"],
9534
+ ],
9535
+ ],
9536
+ ],
9537
+ [
9538
+ "auth.sentCodeTypeSmsPhrase",
9539
+ [
9540
+ 0xB37794AF,
9541
+ [
9542
+ ["flags", exports.flags, "#"],
9543
+ ["beginning", "string", "flags.0?string"],
9544
+ ],
9545
+ ],
9546
+ ],
9449
9547
  [
9450
9548
  "messages.botCallbackAnswer",
9451
9549
  [
@@ -10517,6 +10615,22 @@ const types = new Map([
10517
10615
  ],
10518
10616
  ],
10519
10617
  ],
10618
+ [
10619
+ "payments.paymentFormStars",
10620
+ [
10621
+ 0x7BF6B15C,
10622
+ [
10623
+ ["flags", exports.flags, "#"],
10624
+ ["form_id", "bigint", "long"],
10625
+ ["bot_id", "bigint", "long"],
10626
+ ["title", "string", "string"],
10627
+ ["description", "string", "string"],
10628
+ ["photo", "WebDocument", "flags.5?WebDocument"],
10629
+ ["invoice", "Invoice", "Invoice"],
10630
+ ["users", ["User"], "Vector<User>"],
10631
+ ],
10632
+ ],
10633
+ ],
10520
10634
  [
10521
10635
  "payments.validatedRequestedInfo",
10522
10636
  [
@@ -10569,6 +10683,25 @@ const types = new Map([
10569
10683
  ],
10570
10684
  ],
10571
10685
  ],
10686
+ [
10687
+ "payments.paymentReceiptStars",
10688
+ [
10689
+ 0xDABBF83A,
10690
+ [
10691
+ ["flags", exports.flags, "#"],
10692
+ ["date", "number", "int"],
10693
+ ["bot_id", "bigint", "long"],
10694
+ ["title", "string", "string"],
10695
+ ["description", "string", "string"],
10696
+ ["photo", "WebDocument", "flags.2?WebDocument"],
10697
+ ["invoice", "Invoice", "Invoice"],
10698
+ ["currency", "string", "string"],
10699
+ ["total_amount", "bigint", "long"],
10700
+ ["transaction_id", "string", "string"],
10701
+ ["users", ["User"], "Vector<User>"],
10702
+ ],
10703
+ ],
10704
+ ],
10572
10705
  [
10573
10706
  "payments.savedInfo",
10574
10707
  [
@@ -12390,9 +12523,9 @@ const types = new Map([
12390
12523
  [
12391
12524
  "pollAnswer",
12392
12525
  [
12393
- 0x6CA9C2E9,
12526
+ 0xFF16E2CA,
12394
12527
  [
12395
- ["text", "string", "string"],
12528
+ ["text", "TextWithEntities", "TextWithEntities"],
12396
12529
  ["option", Uint8Array, "bytes"],
12397
12530
  ],
12398
12531
  ],
@@ -12400,7 +12533,7 @@ const types = new Map([
12400
12533
  [
12401
12534
  "poll",
12402
12535
  [
12403
- 0x86E18161,
12536
+ 0x58747131,
12404
12537
  [
12405
12538
  ["id", "bigint", "long"],
12406
12539
  ["flags", exports.flags, "#"],
@@ -12408,7 +12541,7 @@ const types = new Map([
12408
12541
  ["public_voters", "true", "flags.1?true"],
12409
12542
  ["multiple_choice", "true", "flags.2?true"],
12410
12543
  ["quiz", "true", "flags.3?true"],
12411
- ["question", "string", "string"],
12544
+ ["question", "TextWithEntities", "TextWithEntities"],
12412
12545
  ["answers", ["PollAnswer"], "Vector<PollAnswer>"],
12413
12546
  ["close_period", "number", "flags.4?int"],
12414
12547
  ["close_date", "number", "flags.5?int"],
@@ -12571,6 +12704,7 @@ const types = new Map([
12571
12704
  ["allow_app_hash", "true", "flags.4?true"],
12572
12705
  ["allow_missed_call", "true", "flags.5?true"],
12573
12706
  ["allow_firebase", "true", "flags.7?true"],
12707
+ ["unknown_number", "true", "flags.9?true"],
12574
12708
  ["logout_tokens", [Uint8Array], "flags.6?Vector<bytes>"],
12575
12709
  ["token", "string", "flags.8?string"],
12576
12710
  ["app_sandbox", "boolean", "flags.8?Bool"],
@@ -12995,6 +13129,18 @@ const types = new Map([
12995
13129
  ],
12996
13130
  ],
12997
13131
  ],
13132
+ [
13133
+ "webPageAttributeStickerSet",
13134
+ [
13135
+ 0x50CC03D3,
13136
+ [
13137
+ ["flags", exports.flags, "#"],
13138
+ ["emojis", "true", "flags.0?true"],
13139
+ ["text_color", "true", "flags.1?true"],
13140
+ ["stickers", ["Document"], "Vector<Document>"],
13141
+ ],
13142
+ ],
13143
+ ],
12998
13144
  [
12999
13145
  "messages.votesList",
13000
13146
  [
@@ -13857,23 +14003,19 @@ const types = new Map([
13857
14003
  [
13858
14004
  "sponsoredMessage",
13859
14005
  [
13860
- 0xED5383F7,
14006
+ 0xBDEDF566,
13861
14007
  [
13862
14008
  ["flags", exports.flags, "#"],
13863
14009
  ["recommended", "true", "flags.5?true"],
13864
- ["show_peer_photo", "true", "flags.6?true"],
13865
14010
  ["can_report", "true", "flags.12?true"],
13866
14011
  ["random_id", Uint8Array, "bytes"],
13867
- ["from_id", "Peer", "flags.3?Peer"],
13868
- ["chat_invite", "ChatInvite", "flags.4?ChatInvite"],
13869
- ["chat_invite_hash", "string", "flags.4?string"],
13870
- ["channel_post", "number", "flags.2?int"],
13871
- ["start_param", "string", "flags.0?string"],
13872
- ["webpage", "SponsoredWebPage", "flags.9?SponsoredWebPage"],
13873
- ["app", "BotApp", "flags.10?BotApp"],
14012
+ ["url", "string", "string"],
14013
+ ["title", "string", "string"],
13874
14014
  ["message", "string", "string"],
13875
14015
  ["entities", ["MessageEntity"], "flags.1?Vector<MessageEntity>"],
13876
- ["button_text", "string", "flags.11?string"],
14016
+ ["photo", "Photo", "flags.6?Photo"],
14017
+ ["color", "PeerColor", "flags.13?PeerColor"],
14018
+ ["button_text", "string", "string"],
13877
14019
  ["sponsor_info", "string", "flags.7?string"],
13878
14020
  ["additional_info", "string", "flags.8?string"],
13879
14021
  ],
@@ -14367,6 +14509,15 @@ const types = new Map([
14367
14509
  ],
14368
14510
  ],
14369
14511
  ],
14512
+ [
14513
+ "inputInvoiceStars",
14514
+ [
14515
+ 0x1DA33AD8,
14516
+ [
14517
+ ["option", "StarsTopupOption", "StarsTopupOption"],
14518
+ ],
14519
+ ],
14520
+ ],
14370
14521
  [
14371
14522
  "payments.exportedInvoice",
14372
14523
  [
@@ -14458,6 +14609,18 @@ const types = new Map([
14458
14609
  ],
14459
14610
  ],
14460
14611
  ],
14612
+ [
14613
+ "inputStorePaymentStars",
14614
+ [
14615
+ 0x4F0EE8DF,
14616
+ [
14617
+ ["flags", exports.flags, "#"],
14618
+ ["stars", "bigint", "long"],
14619
+ ["currency", "string", "string"],
14620
+ ["amount", "bigint", "long"],
14621
+ ],
14622
+ ],
14623
+ ],
14461
14624
  [
14462
14625
  "premiumGiftOption",
14463
14626
  [
@@ -14874,6 +15037,27 @@ const types = new Map([
14874
15037
  ],
14875
15038
  ],
14876
15039
  ],
15040
+ [
15041
+ "emojiGroupGreeting",
15042
+ [
15043
+ 0x80D26CC7,
15044
+ [
15045
+ ["title", "string", "string"],
15046
+ ["icon_emoji_id", "bigint", "long"],
15047
+ ["emoticons", ["string"], "Vector<string>"],
15048
+ ],
15049
+ ],
15050
+ ],
15051
+ [
15052
+ "emojiGroupPremium",
15053
+ [
15054
+ 0x093BCF34,
15055
+ [
15056
+ ["title", "string", "string"],
15057
+ ["icon_emoji_id", "bigint", "long"],
15058
+ ],
15059
+ ],
15060
+ ],
14877
15061
  [
14878
15062
  "messages.emojiGroupsNotModified",
14879
15063
  [
@@ -15172,18 +15356,6 @@ const types = new Map([
15172
15356
  ],
15173
15357
  ],
15174
15358
  ],
15175
- [
15176
- "sponsoredWebPage",
15177
- [
15178
- 0x3DB8EC63,
15179
- [
15180
- ["flags", exports.flags, "#"],
15181
- ["url", "string", "string"],
15182
- ["site_name", "string", "string"],
15183
- ["photo", "Photo", "flags.0?Photo"],
15184
- ],
15185
- ],
15186
- ],
15187
15359
  [
15188
15360
  "storyViews",
15189
15361
  [
@@ -15281,10 +15453,12 @@ const types = new Map([
15281
15453
  [
15282
15454
  "stories.stories",
15283
15455
  [
15284
- 0x5DD8C3C8,
15456
+ 0x63C3DD0A,
15285
15457
  [
15458
+ ["flags", exports.flags, "#"],
15286
15459
  ["count", "number", "int"],
15287
15460
  ["stories", ["StoryItem"], "Vector<StoryItem>"],
15461
+ ["pinned_to_top", ["number"], "flags.0?Vector<int>"],
15288
15462
  ["chats", ["Chat"], "Vector<Chat>"],
15289
15463
  ["users", ["User"], "Vector<User>"],
15290
15464
  ],
@@ -16519,13 +16693,11 @@ const types = new Map([
16519
16693
  [
16520
16694
  "stats.broadcastRevenueStats",
16521
16695
  [
16522
- 0xD07B4BAD,
16696
+ 0x5407E297,
16523
16697
  [
16524
16698
  ["top_hours_graph", "StatsGraph", "StatsGraph"],
16525
16699
  ["revenue_graph", "StatsGraph", "StatsGraph"],
16526
- ["current_balance", "bigint", "long"],
16527
- ["available_balance", "bigint", "long"],
16528
- ["overall_revenue", "bigint", "long"],
16700
+ ["balances", "BroadcastRevenueBalances", "BroadcastRevenueBalances"],
16529
16701
  ["usd_rate", "number", "double"],
16530
16702
  ],
16531
16703
  ],
@@ -16587,6 +16759,179 @@ const types = new Map([
16587
16759
  ],
16588
16760
  ],
16589
16761
  ],
16762
+ [
16763
+ "reactionNotificationsFromContacts",
16764
+ [
16765
+ 0xBAC3A61A,
16766
+ [],
16767
+ ],
16768
+ ],
16769
+ [
16770
+ "reactionNotificationsFromAll",
16771
+ [
16772
+ 0x4B9E22A0,
16773
+ [],
16774
+ ],
16775
+ ],
16776
+ [
16777
+ "reactionsNotifySettings",
16778
+ [
16779
+ 0x56E34970,
16780
+ [
16781
+ ["flags", exports.flags, "#"],
16782
+ ["messages_notify_from", "ReactionNotificationsFrom", "flags.0?ReactionNotificationsFrom"],
16783
+ ["stories_notify_from", "ReactionNotificationsFrom", "flags.1?ReactionNotificationsFrom"],
16784
+ ["sound", "NotificationSound", "NotificationSound"],
16785
+ ["show_previews", "boolean", "Bool"],
16786
+ ],
16787
+ ],
16788
+ ],
16789
+ [
16790
+ "broadcastRevenueBalances",
16791
+ [
16792
+ 0x8438F1C6,
16793
+ [
16794
+ ["current_balance", "bigint", "long"],
16795
+ ["available_balance", "bigint", "long"],
16796
+ ["overall_revenue", "bigint", "long"],
16797
+ ],
16798
+ ],
16799
+ ],
16800
+ [
16801
+ "availableEffect",
16802
+ [
16803
+ 0x93C3E27E,
16804
+ [
16805
+ ["flags", exports.flags, "#"],
16806
+ ["premium_required", "true", "flags.2?true"],
16807
+ ["id", "bigint", "long"],
16808
+ ["emoticon", "string", "string"],
16809
+ ["static_icon_id", "bigint", "flags.0?long"],
16810
+ ["effect_sticker_id", "bigint", "long"],
16811
+ ["effect_animation_id", "bigint", "flags.1?long"],
16812
+ ],
16813
+ ],
16814
+ ],
16815
+ [
16816
+ "messages.availableEffectsNotModified",
16817
+ [
16818
+ 0xD1ED9A5B,
16819
+ [],
16820
+ ],
16821
+ ],
16822
+ [
16823
+ "messages.availableEffects",
16824
+ [
16825
+ 0xBDDB616E,
16826
+ [
16827
+ ["hash", "number", "int"],
16828
+ ["effects", ["AvailableEffect"], "Vector<AvailableEffect>"],
16829
+ ["documents", ["Document"], "Vector<Document>"],
16830
+ ],
16831
+ ],
16832
+ ],
16833
+ [
16834
+ "factCheck",
16835
+ [
16836
+ 0xB89BFCCF,
16837
+ [
16838
+ ["flags", exports.flags, "#"],
16839
+ ["need_check", "true", "flags.0?true"],
16840
+ ["country", "string", "flags.1?string"],
16841
+ ["text", "TextWithEntities", "flags.1?TextWithEntities"],
16842
+ ["hash", "bigint", "long"],
16843
+ ],
16844
+ ],
16845
+ ],
16846
+ [
16847
+ "starsTransactionPeerUnsupported",
16848
+ [
16849
+ 0x95F2BFE4,
16850
+ [],
16851
+ ],
16852
+ ],
16853
+ [
16854
+ "starsTransactionPeerAppStore",
16855
+ [
16856
+ 0xB457B375,
16857
+ [],
16858
+ ],
16859
+ ],
16860
+ [
16861
+ "starsTransactionPeerPlayMarket",
16862
+ [
16863
+ 0x7B560A0B,
16864
+ [],
16865
+ ],
16866
+ ],
16867
+ [
16868
+ "starsTransactionPeerPremiumBot",
16869
+ [
16870
+ 0x250DBAF8,
16871
+ [],
16872
+ ],
16873
+ ],
16874
+ [
16875
+ "starsTransactionPeerFragment",
16876
+ [
16877
+ 0xE92FD902,
16878
+ [],
16879
+ ],
16880
+ ],
16881
+ [
16882
+ "starsTransactionPeer",
16883
+ [
16884
+ 0xD80DA15D,
16885
+ [
16886
+ ["peer", "Peer", "Peer"],
16887
+ ],
16888
+ ],
16889
+ ],
16890
+ [
16891
+ "starsTopupOption",
16892
+ [
16893
+ 0x0BD915C0,
16894
+ [
16895
+ ["flags", exports.flags, "#"],
16896
+ ["extended", "true", "flags.1?true"],
16897
+ ["stars", "bigint", "long"],
16898
+ ["store_product", "string", "flags.0?string"],
16899
+ ["currency", "string", "string"],
16900
+ ["amount", "bigint", "long"],
16901
+ ],
16902
+ ],
16903
+ ],
16904
+ [
16905
+ "starsTransaction",
16906
+ [
16907
+ 0xCC7079B2,
16908
+ [
16909
+ ["flags", exports.flags, "#"],
16910
+ ["refund", "true", "flags.3?true"],
16911
+ ["id", "string", "string"],
16912
+ ["stars", "bigint", "long"],
16913
+ ["date", "number", "int"],
16914
+ ["peer", "StarsTransactionPeer", "StarsTransactionPeer"],
16915
+ ["title", "string", "flags.0?string"],
16916
+ ["description", "string", "flags.1?string"],
16917
+ ["photo", "WebDocument", "flags.2?WebDocument"],
16918
+ ],
16919
+ ],
16920
+ ],
16921
+ [
16922
+ "payments.starsStatus",
16923
+ [
16924
+ 0x8CF4EE60,
16925
+ [
16926
+ ["flags", exports.flags, "#"],
16927
+ ["balance", "bigint", "long"],
16928
+ ["history", ["StarsTransaction"], "Vector<StarsTransaction>"],
16929
+ ["next_offset", "string", "flags.0?string"],
16930
+ ["chats", ["Chat"], "Vector<Chat>"],
16931
+ ["users", ["User"], "Vector<User>"],
16932
+ ],
16933
+ ],
16934
+ ],
16590
16935
  [
16591
16936
  "req_pq_multi",
16592
16937
  [
@@ -16683,6 +17028,26 @@ const types = new Map([
16683
17028
  ],
16684
17029
  ],
16685
17030
  ],
17031
+ [
17032
+ "invokeWithGooglePlayIntegrityPrefix",
17033
+ [
17034
+ 0x1DF92984,
17035
+ [
17036
+ ["nonce", "string", "string"],
17037
+ ["token", "string", "string"],
17038
+ ],
17039
+ ],
17040
+ ],
17041
+ [
17042
+ "invokeWithApnsSecretPrefix",
17043
+ [
17044
+ 0x0DAE54F8,
17045
+ [
17046
+ ["nonce", "string", "string"],
17047
+ ["secret", "string", "string"],
17048
+ ],
17049
+ ],
17050
+ ],
16686
17051
  [
16687
17052
  "invokeAfterMsg",
16688
17053
  [
@@ -16771,6 +17136,28 @@ const types = new Map([
16771
17136
  ],
16772
17137
  ],
16773
17138
  ],
17139
+ [
17140
+ "invokeWithGooglePlayIntegrity",
17141
+ [
17142
+ 0x1DF92984,
17143
+ [
17144
+ ["nonce", "string", "string"],
17145
+ ["token", "string", "string"],
17146
+ ["query", null, "!X"],
17147
+ ],
17148
+ ],
17149
+ ],
17150
+ [
17151
+ "invokeWithApnsSecret",
17152
+ [
17153
+ 0x0DAE54F8,
17154
+ [
17155
+ ["nonce", "string", "string"],
17156
+ ["secret", "string", "string"],
17157
+ ["query", null, "!X"],
17158
+ ],
17159
+ ],
17160
+ ],
16774
17161
  [
16775
17162
  "auth.sendCode",
16776
17163
  [
@@ -16897,10 +17284,12 @@ const types = new Map([
16897
17284
  [
16898
17285
  "auth.resendCode",
16899
17286
  [
16900
- 0x3EF1A9BF,
17287
+ 0xCAE47523,
16901
17288
  [
17289
+ ["flags", exports.flags, "#"],
16902
17290
  ["phone_number", "string", "string"],
16903
17291
  ["phone_code_hash", "string", "string"],
17292
+ ["reason", "string", "flags.0?string"],
16904
17293
  ],
16905
17294
  ],
16906
17295
  ],
@@ -16975,12 +17364,13 @@ const types = new Map([
16975
17364
  [
16976
17365
  "auth.requestFirebaseSms",
16977
17366
  [
16978
- 0x89464B50,
17367
+ 0x8E39261E,
16979
17368
  [
16980
17369
  ["flags", exports.flags, "#"],
16981
17370
  ["phone_number", "string", "string"],
16982
17371
  ["phone_code_hash", "string", "string"],
16983
17372
  ["safety_net_token", "string", "flags.0?string"],
17373
+ ["play_integrity_token", "string", "flags.2?string"],
16984
17374
  ["ios_push_secret", "string", "flags.1?string"],
16985
17375
  ],
16986
17376
  ],
@@ -16995,6 +17385,17 @@ const types = new Map([
16995
17385
  ],
16996
17386
  ],
16997
17387
  ],
17388
+ [
17389
+ "auth.reportMissingCode",
17390
+ [
17391
+ 0xCB9DEFF6,
17392
+ [
17393
+ ["phone_number", "string", "string"],
17394
+ ["phone_code_hash", "string", "string"],
17395
+ ["mnc", "string", "string"],
17396
+ ],
17397
+ ],
17398
+ ],
16998
17399
  [
16999
17400
  "account.registerDevice",
17000
17401
  [
@@ -18045,6 +18446,31 @@ const types = new Map([
18045
18446
  ],
18046
18447
  ],
18047
18448
  ],
18449
+ [
18450
+ "account.toggleSponsoredMessages",
18451
+ [
18452
+ 0xB9D9A38D,
18453
+ [
18454
+ ["enabled", "boolean", "Bool"],
18455
+ ],
18456
+ ],
18457
+ ],
18458
+ [
18459
+ "account.getReactionsNotifySettings",
18460
+ [
18461
+ 0x06DD654C,
18462
+ [],
18463
+ ],
18464
+ ],
18465
+ [
18466
+ "account.setReactionsNotifySettings",
18467
+ [
18468
+ 0x316CE548,
18469
+ [
18470
+ ["settings", "ReactionsNotifySettings", "ReactionsNotifySettings"],
18471
+ ],
18472
+ ],
18473
+ ],
18048
18474
  [
18049
18475
  "users.getUsers",
18050
18476
  [
@@ -18466,7 +18892,7 @@ const types = new Map([
18466
18892
  [
18467
18893
  "messages.sendMessage",
18468
18894
  [
18469
- 0xDFF8042C,
18895
+ 0x983F9745,
18470
18896
  [
18471
18897
  ["flags", exports.flags, "#"],
18472
18898
  ["no_webpage", "true", "flags.1?true"],
@@ -18485,13 +18911,14 @@ const types = new Map([
18485
18911
  ["schedule_date", "number", "flags.10?int"],
18486
18912
  ["send_as", "InputPeer", "flags.13?InputPeer"],
18487
18913
  ["quick_reply_shortcut", "InputQuickReplyShortcut", "flags.17?InputQuickReplyShortcut"],
18914
+ ["effect", "bigint", "flags.18?long"],
18488
18915
  ],
18489
18916
  ],
18490
18917
  ],
18491
18918
  [
18492
18919
  "messages.sendMedia",
18493
18920
  [
18494
- 0x7BD66041,
18921
+ 0x7852834E,
18495
18922
  [
18496
18923
  ["flags", exports.flags, "#"],
18497
18924
  ["silent", "true", "flags.5?true"],
@@ -18510,6 +18937,7 @@ const types = new Map([
18510
18937
  ["schedule_date", "number", "flags.10?int"],
18511
18938
  ["send_as", "InputPeer", "flags.13?InputPeer"],
18512
18939
  ["quick_reply_shortcut", "InputQuickReplyShortcut", "flags.17?InputQuickReplyShortcut"],
18940
+ ["effect", "bigint", "flags.18?long"],
18513
18941
  ],
18514
18942
  ],
18515
18943
  ],
@@ -18908,6 +19336,7 @@ const types = new Map([
18908
19336
  0x4BC6589A,
18909
19337
  [
18910
19338
  ["flags", exports.flags, "#"],
19339
+ ["broadcasts_only", "true", "flags.1?true"],
18911
19340
  ["folder_id", "number", "flags.0?int"],
18912
19341
  ["q", "string", "string"],
18913
19342
  ["filter", "MessagesFilter", "MessagesFilter"],
@@ -19411,7 +19840,7 @@ const types = new Map([
19411
19840
  [
19412
19841
  "messages.sendMultiMedia",
19413
19842
  [
19414
- 0x0C964709,
19843
+ 0x37B74355,
19415
19844
  [
19416
19845
  ["flags", exports.flags, "#"],
19417
19846
  ["silent", "true", "flags.5?true"],
@@ -19426,6 +19855,7 @@ const types = new Map([
19426
19855
  ["schedule_date", "number", "flags.10?int"],
19427
19856
  ["send_as", "InputPeer", "flags.13?InputPeer"],
19428
19857
  ["quick_reply_shortcut", "InputQuickReplyShortcut", "flags.17?InputQuickReplyShortcut"],
19858
+ ["effect", "bigint", "flags.18?long"],
19429
19859
  ],
19430
19860
  ],
19431
19861
  ],
@@ -20093,10 +20523,12 @@ const types = new Map([
20093
20523
  [
20094
20524
  "messages.setChatAvailableReactions",
20095
20525
  [
20096
- 0xFEB16771,
20526
+ 0x5A150BD4,
20097
20527
  [
20528
+ ["flags", exports.flags, "#"],
20098
20529
  ["peer", "InputPeer", "InputPeer"],
20099
20530
  ["available_reactions", "ChatReactions", "ChatReactions"],
20531
+ ["reactions_limit", "number", "flags.0?int"],
20100
20532
  ],
20101
20533
  ],
20102
20534
  ],
@@ -20709,6 +21141,55 @@ const types = new Map([
20709
21141
  ],
20710
21142
  ],
20711
21143
  ],
21144
+ [
21145
+ "messages.getEmojiStickerGroups",
21146
+ [
21147
+ 0x1DD840F5,
21148
+ [
21149
+ ["hash", "number", "int"],
21150
+ ],
21151
+ ],
21152
+ ],
21153
+ [
21154
+ "messages.getAvailableEffects",
21155
+ [
21156
+ 0xDEA20A39,
21157
+ [
21158
+ ["hash", "number", "int"],
21159
+ ],
21160
+ ],
21161
+ ],
21162
+ [
21163
+ "messages.editFactCheck",
21164
+ [
21165
+ 0x0589EE75,
21166
+ [
21167
+ ["peer", "InputPeer", "InputPeer"],
21168
+ ["msg_id", "number", "int"],
21169
+ ["text", "TextWithEntities", "TextWithEntities"],
21170
+ ],
21171
+ ],
21172
+ ],
21173
+ [
21174
+ "messages.deleteFactCheck",
21175
+ [
21176
+ 0xD1DA940C,
21177
+ [
21178
+ ["peer", "InputPeer", "InputPeer"],
21179
+ ["msg_id", "number", "int"],
21180
+ ],
21181
+ ],
21182
+ ],
21183
+ [
21184
+ "messages.getFactCheck",
21185
+ [
21186
+ 0xB9CDC5EE,
21187
+ [
21188
+ ["peer", "InputPeer", "InputPeer"],
21189
+ ["msg_id", ["number"], "Vector<int>"],
21190
+ ],
21191
+ ],
21192
+ ],
20712
21193
  [
20713
21194
  "updates.getState",
20714
21195
  [
@@ -21729,9 +22210,10 @@ const types = new Map([
21729
22210
  [
21730
22211
  "channels.getChannelRecommendations",
21731
22212
  [
21732
- 0x83B70D97,
22213
+ 0x25A71742,
21733
22214
  [
21734
- ["channel", "InputChannel", "InputChannel"],
22215
+ ["flags", exports.flags, "#"],
22216
+ ["channel", "InputChannel", "flags.0?InputChannel"],
21735
22217
  ],
21736
22218
  ],
21737
22219
  ],
@@ -21786,6 +22268,19 @@ const types = new Map([
21786
22268
  ],
21787
22269
  ],
21788
22270
  ],
22271
+ [
22272
+ "channels.searchPosts",
22273
+ [
22274
+ 0xD19F987B,
22275
+ [
22276
+ ["hashtag", "string", "string"],
22277
+ ["offset_rate", "number", "int"],
22278
+ ["offset_peer", "InputPeer", "InputPeer"],
22279
+ ["offset_id", "number", "int"],
22280
+ ["limit", "number", "int"],
22281
+ ],
22282
+ ],
22283
+ ],
21789
22284
  [
21790
22285
  "bots.sendCustomRequest",
21791
22286
  [
@@ -22111,6 +22606,56 @@ const types = new Map([
22111
22606
  ],
22112
22607
  ],
22113
22608
  ],
22609
+ [
22610
+ "payments.getStarsTopupOptions",
22611
+ [
22612
+ 0xC00EC7D3,
22613
+ [],
22614
+ ],
22615
+ ],
22616
+ [
22617
+ "payments.getStarsStatus",
22618
+ [
22619
+ 0x104FCFA7,
22620
+ [
22621
+ ["peer", "InputPeer", "InputPeer"],
22622
+ ],
22623
+ ],
22624
+ ],
22625
+ [
22626
+ "payments.getStarsTransactions",
22627
+ [
22628
+ 0x673AC2F9,
22629
+ [
22630
+ ["flags", exports.flags, "#"],
22631
+ ["inbound", "true", "flags.0?true"],
22632
+ ["outbound", "true", "flags.1?true"],
22633
+ ["peer", "InputPeer", "InputPeer"],
22634
+ ["offset", "string", "string"],
22635
+ ],
22636
+ ],
22637
+ ],
22638
+ [
22639
+ "payments.sendStarsForm",
22640
+ [
22641
+ 0x02BB731D,
22642
+ [
22643
+ ["flags", exports.flags, "#"],
22644
+ ["form_id", "bigint", "long"],
22645
+ ["invoice", "InputInvoice", "InputInvoice"],
22646
+ ],
22647
+ ],
22648
+ ],
22649
+ [
22650
+ "payments.refundStarsCharge",
22651
+ [
22652
+ 0x25AE8F4A,
22653
+ [
22654
+ ["user_id", "InputUser", "InputUser"],
22655
+ ["charge_id", "string", "string"],
22656
+ ],
22657
+ ],
22658
+ ],
22114
22659
  [
22115
22660
  "stickers.createStickerSet",
22116
22661
  [
@@ -23124,6 +23669,16 @@ const types = new Map([
23124
23669
  ],
23125
23670
  ],
23126
23671
  ],
23672
+ [
23673
+ "stories.togglePinnedToTop",
23674
+ [
23675
+ 0x0B297E9B,
23676
+ [
23677
+ ["peer", "InputPeer", "InputPeer"],
23678
+ ["id", ["number"], "Vector<int>"],
23679
+ ],
23680
+ ],
23681
+ ],
23127
23682
  [
23128
23683
  "premium.getBoostsList",
23129
23684
  [