@mtkruto/node 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/esm/4_constants.d.ts +1 -1
  2. package/esm/4_constants.js +1 -1
  3. package/esm/client/0_params.d.ts +4 -1
  4. package/esm/client/0_params.d.ts.map +1 -1
  5. package/esm/client/0_utilities.d.ts +2 -2
  6. package/esm/client/0_utilities.d.ts.map +1 -1
  7. package/esm/client/1_client_encrypted.d.ts.map +1 -1
  8. package/esm/client/3_message_manager.d.ts.map +1 -1
  9. package/esm/client/3_message_manager.js +10 -0
  10. package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.js +1 -1
  11. package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js +4 -4
  12. package/esm/deps/jsr.io/@std/assert/1.0.6/greater.js +1 -1
  13. package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +1 -1
  14. package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.js +1 -1
  15. package/esm/deps/jsr.io/@std/assert/1.0.6/less.js +1 -1
  16. package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +1 -1
  17. package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +1 -1
  18. package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +5 -5
  19. package/{script/deps/jsr.io/@std/internal/1.0.4 → esm/deps/jsr.io/@std/internal/1.0.5}/build_message.d.ts.map +1 -1
  20. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
  21. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
  22. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
  23. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
  24. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
  25. package/esm/tl/0_api.d.ts +199 -41
  26. package/esm/tl/0_api.d.ts.map +1 -1
  27. package/esm/tl/0_api.js +314 -75
  28. package/esm/transport/1_transport_abridged.d.ts.map +1 -1
  29. package/esm/transport/1_transport_intermediate.d.ts.map +1 -1
  30. package/esm/types/2_inline_keyboard_button.d.ts +9 -1
  31. package/esm/types/2_inline_keyboard_button.d.ts.map +1 -1
  32. package/esm/types/2_inline_keyboard_button.js +6 -0
  33. package/esm/types/2_invite_link.d.ts +5 -1
  34. package/esm/types/2_invite_link.d.ts.map +1 -1
  35. package/esm/types/2_invite_link.js +2 -0
  36. package/esm/utilities/0_cache_map.d.ts.map +1 -1
  37. package/package.json +1 -1
  38. package/script/4_constants.d.ts +1 -1
  39. package/script/4_constants.js +1 -1
  40. package/script/client/0_params.d.ts +4 -1
  41. package/script/client/0_params.d.ts.map +1 -1
  42. package/script/client/0_utilities.d.ts +2 -2
  43. package/script/client/0_utilities.d.ts.map +1 -1
  44. package/script/client/1_client_encrypted.d.ts.map +1 -1
  45. package/script/client/3_message_manager.d.ts.map +1 -1
  46. package/script/client/3_message_manager.js +10 -0
  47. package/script/deps/jsr.io/@std/assert/1.0.6/array_includes.js +1 -1
  48. package/script/deps/jsr.io/@std/assert/1.0.6/equals.js +4 -4
  49. package/script/deps/jsr.io/@std/assert/1.0.6/greater.js +1 -1
  50. package/script/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.js +1 -1
  51. package/script/deps/jsr.io/@std/assert/1.0.6/is_error.js +1 -1
  52. package/script/deps/jsr.io/@std/assert/1.0.6/less.js +1 -1
  53. package/script/deps/jsr.io/@std/assert/1.0.6/less_or_equal.js +1 -1
  54. package/script/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.js +1 -1
  55. package/script/deps/jsr.io/@std/assert/1.0.6/strict_equals.js +5 -5
  56. package/{esm/deps/jsr.io/@std/internal/1.0.4 → script/deps/jsr.io/@std/internal/1.0.5}/build_message.d.ts.map +1 -1
  57. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
  58. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
  59. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
  60. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
  61. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
  62. package/script/tl/0_api.d.ts +199 -41
  63. package/script/tl/0_api.d.ts.map +1 -1
  64. package/script/tl/0_api.js +314 -75
  65. package/script/transport/1_transport_abridged.d.ts.map +1 -1
  66. package/script/transport/1_transport_intermediate.d.ts.map +1 -1
  67. package/script/types/2_inline_keyboard_button.d.ts +9 -1
  68. package/script/types/2_inline_keyboard_button.d.ts.map +1 -1
  69. package/script/types/2_inline_keyboard_button.js +6 -0
  70. package/script/types/2_invite_link.d.ts +5 -1
  71. package/script/types/2_invite_link.d.ts.map +1 -1
  72. package/script/types/2_invite_link.js +2 -0
  73. package/script/utilities/0_cache_map.d.ts.map +1 -1
  74. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
  75. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
  76. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
  77. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
  78. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
  79. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
  80. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
  81. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
  82. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
  83. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
  84. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
  85. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
  86. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
  87. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
  88. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
  89. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
  90. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
  91. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
  92. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
  93. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
  94. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
  95. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
  96. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
  97. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
@@ -182,7 +182,7 @@ const map = new Map([
182
182
  [0x56E0D474, "messageMediaGeo"],
183
183
  [0x70322949, "messageMediaContact"],
184
184
  [0x9F84F49E, "messageMediaUnsupported"],
185
- [0x4CF4D72D, "messageMediaDocument"],
185
+ [0xDD570BD5, "messageMediaDocument"],
186
186
  [0xDDF10C3B, "messageMediaWebPage"],
187
187
  [0x2EC0533F, "messageMediaVenue"],
188
188
  [0xFDB19008, "messageMediaGame"],
@@ -226,13 +226,13 @@ const map = new Map([
226
226
  [0xEBBCA3CB, "messageActionChatJoinedByRequest"],
227
227
  [0x47DD8079, "messageActionWebViewDataSentMe"],
228
228
  [0xB4C38CB5, "messageActionWebViewDataSent"],
229
- [0xC83D6AEC, "messageActionGiftPremium"],
229
+ [0x6C6274FA, "messageActionGiftPremium"],
230
230
  [0x0D999256, "messageActionTopicCreate"],
231
231
  [0xC0944820, "messageActionTopicEdit"],
232
232
  [0x57DE635E, "messageActionSuggestProfilePhoto"],
233
233
  [0x31518E9B, "messageActionRequestedPeer"],
234
234
  [0x5060A3F4, "messageActionSetChatWallPaper"],
235
- [0x678C2E09, "messageActionGiftCode"],
235
+ [0x56D03994, "messageActionGiftCode"],
236
236
  [0xA80F51E4, "messageActionGiveawayLaunch"],
237
237
  [0x87E2F155, "messageActionGiveawayResults"],
238
238
  [0xCC02AA6D, "messageActionBoostApply"],
@@ -240,6 +240,7 @@ const map = new Map([
240
240
  [0x41B3E202, "messageActionPaymentRefunded"],
241
241
  [0x45D5B021, "messageActionGiftStars"],
242
242
  [0xB00C47A2, "messageActionPrizeStars"],
243
+ [0x9BB3EF44, "messageActionStarGift"],
243
244
  [0xD58A08C6, "dialog"],
244
245
  [0x71BD134C, "dialogFolder"],
245
246
  [0x2331B22D, "photoEmpty"],
@@ -277,7 +278,7 @@ const map = new Map([
277
278
  [0xF5DDD6E7, "inputReportReasonFake"],
278
279
  [0x0A8EB2BE, "inputReportReasonIllegalDrugs"],
279
280
  [0x9EC7863D, "inputReportReasonPersonalDetails"],
280
- [0xCC997720, "userFull"],
281
+ [0x1F58E369, "userFull"],
281
282
  [0x145ADE0B, "contact"],
282
283
  [0xC13E3C50, "importedContact"],
283
284
  [0x16D9703B, "contactStatus"],
@@ -382,7 +383,7 @@ const map = new Map([
382
383
  [0x6A7E7366, "updatePeerSettings"],
383
384
  [0xB4AFCFB0, "updatePeerLocated"],
384
385
  [0x39A51DFB, "updateNewScheduledMessage"],
385
- [0x90866CEE, "updateDeleteScheduledMessages"],
386
+ [0xF2A71983, "updateDeleteScheduledMessages"],
386
387
  [0x8216FBA3, "updateTheme"],
387
388
  [0x871FB939, "updateGeoLiveViewed"],
388
389
  [0x564FE691, "updateLoginToken"],
@@ -572,7 +573,7 @@ const map = new Map([
572
573
  [0x6C37C15C, "documentAttributeImageSize"],
573
574
  [0x11B58939, "documentAttributeAnimated"],
574
575
  [0x6319D612, "documentAttributeSticker"],
575
- [0x17399FAD, "documentAttributeVideo"],
576
+ [0x43C57C48, "documentAttributeVideo"],
576
577
  [0x9852F9C6, "documentAttributeAudio"],
577
578
  [0x15590068, "documentAttributeFilename"],
578
579
  [0x9801D2F7, "documentAttributeHasStickers"],
@@ -632,6 +633,7 @@ const map = new Map([
632
633
  [0xA0C0505C, "keyboardButtonSimpleWebView"],
633
634
  [0x53D7BFD8, "keyboardButtonRequestPeer"],
634
635
  [0xC9662D05, "inputKeyboardButtonRequestPeer"],
636
+ [0x75D2698E, "keyboardButtonCopy"],
635
637
  [0x77608B83, "keyboardButtonRow"],
636
638
  [0xA03E5B85, "replyKeyboardHide"],
637
639
  [0x86B40B08, "replyKeyboardForceReply"],
@@ -834,6 +836,7 @@ const map = new Map([
834
836
  [0x21E753BC, "upload.webFile"],
835
837
  [0xA0058751, "payments.paymentForm"],
836
838
  [0x7BF6B15C, "payments.paymentFormStars"],
839
+ [0xB425CFE1, "payments.paymentFormStarGift"],
837
840
  [0xD1451883, "payments.validatedRequestedInfo"],
838
841
  [0x4E5F810D, "payments.paymentResult"],
839
842
  [0xD8411139, "payments.paymentVerificationNeeded"],
@@ -1195,12 +1198,13 @@ const map = new Map([
1195
1198
  [0x98986C0D, "inputInvoicePremiumGiftCode"],
1196
1199
  [0x65F00CE3, "inputInvoiceStars"],
1197
1200
  [0x34E793F1, "inputInvoiceChatInviteSubscription"],
1201
+ [0x25D8C1D8, "inputInvoiceStarGift"],
1198
1202
  [0xAED0CBD9, "payments.exportedInvoice"],
1199
1203
  [0xCFB9D957, "messages.transcribedAudio"],
1200
1204
  [0x5334759C, "help.premiumPromo"],
1201
1205
  [0xA6751E66, "inputStorePaymentPremiumSubscription"],
1202
1206
  [0x616F7FE8, "inputStorePaymentGiftPremium"],
1203
- [0xA3805F3F, "inputStorePaymentPremiumGiftCode"],
1207
+ [0xFB790393, "inputStorePaymentPremiumGiftCode"],
1204
1208
  [0x160544CA, "inputStorePaymentPremiumGiveaway"],
1205
1209
  [0xDDDD0F56, "inputStorePaymentStarsTopup"],
1206
1210
  [0x1D741EF7, "inputStorePaymentStarsGift"],
@@ -1411,8 +1415,9 @@ const map = new Map([
1411
1415
  [0xE92FD902, "starsTransactionPeerFragment"],
1412
1416
  [0xD80DA15D, "starsTransactionPeer"],
1413
1417
  [0x60682812, "starsTransactionPeerAds"],
1418
+ [0xF9677AAD, "starsTransactionPeerAPI"],
1414
1419
  [0x0BD915C0, "starsTopupOption"],
1415
- [0xEE7522D5, "starsTransaction"],
1420
+ [0x35D4F276, "starsTransaction"],
1416
1421
  [0xBBFA316C, "payments.starsStatus"],
1417
1422
  [0xE87ACBC0, "foundStory"],
1418
1423
  [0xE2DE7737, "stories.foundStories"],
@@ -1431,6 +1436,15 @@ const map = new Map([
1431
1436
  [0x4BA3A95A, "messageReactor"],
1432
1437
  [0x94CE852A, "starsGiveawayOption"],
1433
1438
  [0x54236209, "starsGiveawayWinnersOption"],
1439
+ [0x49C577CD, "starGift"],
1440
+ [0xA388A368, "payments.starGiftsNotModified"],
1441
+ [0x901689EA, "payments.starGifts"],
1442
+ [0xEEA49A6E, "userStarGift"],
1443
+ [0x6B65B517, "payments.userStarGifts"],
1444
+ [0x7903E3D9, "messageReportOption"],
1445
+ [0xF0E4E0B6, "reportResultChooseOption"],
1446
+ [0x6F09AC31, "reportResultAddComment"],
1447
+ [0x8DB33C4B, "reportResultReported"],
1434
1448
  ]);
1435
1449
  exports.getTypeName = map.get.bind(map);
1436
1450
  exports.flags = Symbol();
@@ -1485,7 +1499,7 @@ const enums = new Map([
1485
1499
  ["ChatPhoto", ["chatPhotoEmpty", "chatPhoto"]],
1486
1500
  ["Message", ["messageEmpty", "message", "messageService"]],
1487
1501
  ["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia"]],
1488
- ["MessageAction", ["messageActionEmpty", "messageActionChatCreate", "messageActionChatEditTitle", "messageActionChatEditPhoto", "messageActionChatDeletePhoto", "messageActionChatAddUser", "messageActionChatDeleteUser", "messageActionChatJoinedByLink", "messageActionChannelCreate", "messageActionChatMigrateTo", "messageActionChannelMigrateFrom", "messageActionPinMessage", "messageActionHistoryClear", "messageActionGameScore", "messageActionPaymentSentMe", "messageActionPaymentSent", "messageActionPhoneCall", "messageActionScreenshotTaken", "messageActionCustomAction", "messageActionBotAllowed", "messageActionSecureValuesSentMe", "messageActionSecureValuesSent", "messageActionContactSignUp", "messageActionGeoProximityReached", "messageActionGroupCall", "messageActionInviteToGroupCall", "messageActionSetMessagesTTL", "messageActionGroupCallScheduled", "messageActionSetChatTheme", "messageActionChatJoinedByRequest", "messageActionWebViewDataSentMe", "messageActionWebViewDataSent", "messageActionGiftPremium", "messageActionTopicCreate", "messageActionTopicEdit", "messageActionSuggestProfilePhoto", "messageActionRequestedPeer", "messageActionSetChatWallPaper", "messageActionGiftCode", "messageActionGiveawayLaunch", "messageActionGiveawayResults", "messageActionBoostApply", "messageActionRequestedPeerSentMe", "messageActionPaymentRefunded", "messageActionGiftStars", "messageActionPrizeStars"]],
1502
+ ["MessageAction", ["messageActionEmpty", "messageActionChatCreate", "messageActionChatEditTitle", "messageActionChatEditPhoto", "messageActionChatDeletePhoto", "messageActionChatAddUser", "messageActionChatDeleteUser", "messageActionChatJoinedByLink", "messageActionChannelCreate", "messageActionChatMigrateTo", "messageActionChannelMigrateFrom", "messageActionPinMessage", "messageActionHistoryClear", "messageActionGameScore", "messageActionPaymentSentMe", "messageActionPaymentSent", "messageActionPhoneCall", "messageActionScreenshotTaken", "messageActionCustomAction", "messageActionBotAllowed", "messageActionSecureValuesSentMe", "messageActionSecureValuesSent", "messageActionContactSignUp", "messageActionGeoProximityReached", "messageActionGroupCall", "messageActionInviteToGroupCall", "messageActionSetMessagesTTL", "messageActionGroupCallScheduled", "messageActionSetChatTheme", "messageActionChatJoinedByRequest", "messageActionWebViewDataSentMe", "messageActionWebViewDataSent", "messageActionGiftPremium", "messageActionTopicCreate", "messageActionTopicEdit", "messageActionSuggestProfilePhoto", "messageActionRequestedPeer", "messageActionSetChatWallPaper", "messageActionGiftCode", "messageActionGiveawayLaunch", "messageActionGiveawayResults", "messageActionBoostApply", "messageActionRequestedPeerSentMe", "messageActionPaymentRefunded", "messageActionGiftStars", "messageActionPrizeStars", "messageActionStarGift"]],
1489
1503
  ["Dialog", ["dialog", "dialogFolder"]],
1490
1504
  ["Photo", ["photoEmpty", "photo"]],
1491
1505
  ["PhotoSize", ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]],
@@ -1705,7 +1719,7 @@ const enums = new Map([
1705
1719
  ["messages.StickerSet", ["messages.stickerSet", "messages.stickerSetNotModified"]],
1706
1720
  ["BotCommand", ["botCommand"]],
1707
1721
  ["BotInfo", ["botInfo"]],
1708
- ["KeyboardButton", ["keyboardButton", "keyboardButtonUrl", "keyboardButtonCallback", "keyboardButtonRequestPhone", "keyboardButtonRequestGeoLocation", "keyboardButtonSwitchInline", "keyboardButtonGame", "keyboardButtonBuy", "keyboardButtonUrlAuth", "inputKeyboardButtonUrlAuth", "keyboardButtonRequestPoll", "inputKeyboardButtonUserProfile", "keyboardButtonUserProfile", "keyboardButtonWebView", "keyboardButtonSimpleWebView", "keyboardButtonRequestPeer", "inputKeyboardButtonRequestPeer"]],
1722
+ ["KeyboardButton", ["keyboardButton", "keyboardButtonUrl", "keyboardButtonCallback", "keyboardButtonRequestPhone", "keyboardButtonRequestGeoLocation", "keyboardButtonSwitchInline", "keyboardButtonGame", "keyboardButtonBuy", "keyboardButtonUrlAuth", "inputKeyboardButtonUrlAuth", "keyboardButtonRequestPoll", "inputKeyboardButtonUserProfile", "keyboardButtonUserProfile", "keyboardButtonWebView", "keyboardButtonSimpleWebView", "keyboardButtonRequestPeer", "inputKeyboardButtonRequestPeer", "keyboardButtonCopy"]],
1709
1723
  ["KeyboardButtonRow", ["keyboardButtonRow"]],
1710
1724
  ["ReplyMarkup", ["replyKeyboardHide", "replyKeyboardForceReply", "replyKeyboardMarkup", "replyInlineMarkup"]],
1711
1725
  ["MessageEntity", ["messageEntityUnknown", "messageEntityMention", "messageEntityHashtag", "messageEntityBotCommand", "messageEntityUrl", "messageEntityEmail", "messageEntityBold", "messageEntityItalic", "messageEntityCode", "messageEntityPre", "messageEntityTextUrl", "messageEntityMentionName", "inputMessageEntityMentionName", "messageEntityPhone", "messageEntityCashtag", "messageEntityUnderline", "messageEntityStrike", "messageEntityBankCard", "messageEntitySpoiler", "messageEntityCustomEmoji", "messageEntityBlockquote"]],
@@ -1764,7 +1778,7 @@ const enums = new Map([
1764
1778
  ["InputWebDocument", ["inputWebDocument"]],
1765
1779
  ["InputWebFileLocation", ["inputWebFileLocation", "inputWebFileGeoPointLocation", "inputWebFileAudioAlbumThumbLocation"]],
1766
1780
  ["upload.WebFile", ["upload.webFile"]],
1767
- ["payments.PaymentForm", ["payments.paymentForm", "payments.paymentFormStars"]],
1781
+ ["payments.PaymentForm", ["payments.paymentForm", "payments.paymentFormStars", "payments.paymentFormStarGift"]],
1768
1782
  ["payments.ValidatedRequestedInfo", ["payments.validatedRequestedInfo"]],
1769
1783
  ["payments.PaymentResult", ["payments.paymentResult", "payments.paymentVerificationNeeded"]],
1770
1784
  ["payments.PaymentReceipt", ["payments.paymentReceipt", "payments.paymentReceiptStars"]],
@@ -2003,7 +2017,7 @@ const enums = new Map([
2003
2017
  ["NotificationSound", ["notificationSoundDefault", "notificationSoundNone", "notificationSoundLocal", "notificationSoundRingtone"]],
2004
2018
  ["account.SavedRingtone", ["account.savedRingtone", "account.savedRingtoneConverted"]],
2005
2019
  ["AttachMenuPeerType", ["attachMenuPeerTypeSameBotPM", "attachMenuPeerTypeBotPM", "attachMenuPeerTypePM", "attachMenuPeerTypeChat", "attachMenuPeerTypeBroadcast"]],
2006
- ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription"]],
2020
+ ["InputInvoice", ["inputInvoiceMessage", "inputInvoiceSlug", "inputInvoicePremiumGiftCode", "inputInvoiceStars", "inputInvoiceChatInviteSubscription", "inputInvoiceStarGift"]],
2007
2021
  ["payments.ExportedInvoice", ["payments.exportedInvoice"]],
2008
2022
  ["messages.TranscribedAudio", ["messages.transcribedAudio"]],
2009
2023
  ["help.PremiumPromo", ["help.premiumPromo"]],
@@ -2141,7 +2155,7 @@ const enums = new Map([
2141
2155
  ["AvailableEffect", ["availableEffect"]],
2142
2156
  ["messages.AvailableEffects", ["messages.availableEffectsNotModified", "messages.availableEffects"]],
2143
2157
  ["FactCheck", ["factCheck"]],
2144
- ["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds"]],
2158
+ ["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds", "starsTransactionPeerAPI"]],
2145
2159
  ["StarsTopupOption", ["starsTopupOption"]],
2146
2160
  ["StarsTransaction", ["starsTransaction"]],
2147
2161
  ["payments.StarsStatus", ["payments.starsStatus"]],
@@ -2162,6 +2176,12 @@ const enums = new Map([
2162
2176
  ["MessageReactor", ["messageReactor"]],
2163
2177
  ["StarsGiveawayOption", ["starsGiveawayOption"]],
2164
2178
  ["StarsGiveawayWinnersOption", ["starsGiveawayWinnersOption"]],
2179
+ ["StarGift", ["starGift"]],
2180
+ ["payments.StarGifts", ["payments.starGiftsNotModified", "payments.starGifts"]],
2181
+ ["UserStarGift", ["userStarGift"]],
2182
+ ["payments.UserStarGifts", ["payments.userStarGifts"]],
2183
+ ["MessageReportOption", ["messageReportOption"]],
2184
+ ["ReportResult", ["reportResultChooseOption", "reportResultAddComment", "reportResultReported"]],
2165
2185
  ]);
2166
2186
  const types = new Map([
2167
2187
  [
@@ -3694,6 +3714,7 @@ const types = new Map([
3694
3714
  ["invert_media", "true", "flags.27?true"],
3695
3715
  ["flags2", exports.flags, "#"],
3696
3716
  ["offline", "true", "flags2.1?true"],
3717
+ ["video_processing_pending", "true", "flags2.4?true"],
3697
3718
  ["id", "number", "int"],
3698
3719
  ["from_id", "Peer", "flags.8?Peer"],
3699
3720
  ["from_boosts_applied", "number", "flags.29?int"],
@@ -3796,7 +3817,7 @@ const types = new Map([
3796
3817
  [
3797
3818
  "messageMediaDocument",
3798
3819
  [
3799
- 0x4CF4D72D,
3820
+ 0xDD570BD5,
3800
3821
  [
3801
3822
  ["flags", exports.flags, "#"],
3802
3823
  ["nopremium", "true", "flags.3?true"],
@@ -3805,7 +3826,7 @@ const types = new Map([
3805
3826
  ["round", "true", "flags.7?true"],
3806
3827
  ["voice", "true", "flags.8?true"],
3807
3828
  ["document", "Document", "flags.0?Document"],
3808
- ["alt_document", "Document", "flags.5?Document"],
3829
+ ["alt_documents", ["Document"], "flags.5?Vector<Document>"],
3809
3830
  ["ttl_seconds", "number", "flags.2?int"],
3810
3831
  ],
3811
3832
  ],
@@ -4272,7 +4293,7 @@ const types = new Map([
4272
4293
  [
4273
4294
  "messageActionGiftPremium",
4274
4295
  [
4275
- 0xC83D6AEC,
4296
+ 0x6C6274FA,
4276
4297
  [
4277
4298
  ["flags", exports.flags, "#"],
4278
4299
  ["currency", "string", "string"],
@@ -4280,6 +4301,7 @@ const types = new Map([
4280
4301
  ["months", "number", "int"],
4281
4302
  ["crypto_currency", "string", "flags.0?string"],
4282
4303
  ["crypto_amount", "bigint", "flags.0?long"],
4304
+ ["message", "TextWithEntities", "flags.1?TextWithEntities"],
4283
4305
  ],
4284
4306
  ],
4285
4307
  ],
@@ -4342,7 +4364,7 @@ const types = new Map([
4342
4364
  [
4343
4365
  "messageActionGiftCode",
4344
4366
  [
4345
- 0x678C2E09,
4367
+ 0x56D03994,
4346
4368
  [
4347
4369
  ["flags", exports.flags, "#"],
4348
4370
  ["via_giveaway", "true", "flags.0?true"],
@@ -4354,6 +4376,7 @@ const types = new Map([
4354
4376
  ["amount", "bigint", "flags.2?long"],
4355
4377
  ["crypto_currency", "string", "flags.3?string"],
4356
4378
  ["crypto_amount", "bigint", "flags.3?long"],
4379
+ ["message", "TextWithEntities", "flags.4?TextWithEntities"],
4357
4380
  ],
4358
4381
  ],
4359
4382
  ],
@@ -4441,6 +4464,21 @@ const types = new Map([
4441
4464
  ],
4442
4465
  ],
4443
4466
  ],
4467
+ [
4468
+ "messageActionStarGift",
4469
+ [
4470
+ 0x9BB3EF44,
4471
+ [
4472
+ ["flags", exports.flags, "#"],
4473
+ ["name_hidden", "true", "flags.0?true"],
4474
+ ["saved", "true", "flags.2?true"],
4475
+ ["converted", "true", "flags.3?true"],
4476
+ ["gift", "StarGift", "StarGift"],
4477
+ ["message", "TextWithEntities", "flags.1?TextWithEntities"],
4478
+ ["convert_stars", "bigint", "long"],
4479
+ ],
4480
+ ],
4481
+ ],
4444
4482
  [
4445
4483
  "dialog",
4446
4484
  [
@@ -4854,7 +4892,7 @@ const types = new Map([
4854
4892
  [
4855
4893
  "userFull",
4856
4894
  [
4857
- 0xCC997720,
4895
+ 0x1F58E369,
4858
4896
  [
4859
4897
  ["flags", exports.flags, "#"],
4860
4898
  ["blocked", "true", "flags.0?true"],
@@ -4872,6 +4910,7 @@ const types = new Map([
4872
4910
  ["read_dates_private", "true", "flags.30?true"],
4873
4911
  ["flags2", exports.flags, "#"],
4874
4912
  ["sponsored_enabled", "true", "flags2.7?true"],
4913
+ ["can_view_revenue", "true", "flags2.9?true"],
4875
4914
  ["id", "bigint", "long"],
4876
4915
  ["about", "string", "flags.1?string"],
4877
4916
  ["settings", "PeerSettings", "PeerSettings"],
@@ -4899,6 +4938,7 @@ const types = new Map([
4899
4938
  ["birthday", "Birthday", "flags2.5?Birthday"],
4900
4939
  ["personal_channel_id", "bigint", "flags2.6?long"],
4901
4940
  ["personal_channel_message", "number", "flags2.6?int"],
4941
+ ["stargifts_count", "number", "flags2.8?int"],
4902
4942
  ],
4903
4943
  ],
4904
4944
  ],
@@ -5976,10 +6016,12 @@ const types = new Map([
5976
6016
  [
5977
6017
  "updateDeleteScheduledMessages",
5978
6018
  [
5979
- 0x90866CEE,
6019
+ 0xF2A71983,
5980
6020
  [
6021
+ ["flags", exports.flags, "#"],
5981
6022
  ["peer", "Peer", "Peer"],
5982
6023
  ["messages", ["number"], "Vector<int>"],
6024
+ ["sent_messages", ["number"], "flags.0?Vector<int>"],
5983
6025
  ],
5984
6026
  ],
5985
6027
  ],
@@ -7911,7 +7953,7 @@ const types = new Map([
7911
7953
  [
7912
7954
  "documentAttributeVideo",
7913
7955
  [
7914
- 0x17399FAD,
7956
+ 0x43C57C48,
7915
7957
  [
7916
7958
  ["flags", exports.flags, "#"],
7917
7959
  ["round_message", "true", "flags.0?true"],
@@ -7922,6 +7964,7 @@ const types = new Map([
7922
7964
  ["h", "number", "int"],
7923
7965
  ["preload_prefix_size", "number", "flags.2?int"],
7924
7966
  ["video_start_ts", "number", "flags.4?double"],
7967
+ ["video_codec", "string", "flags.5?string"],
7925
7968
  ],
7926
7969
  ],
7927
7970
  ],
@@ -8604,6 +8647,16 @@ const types = new Map([
8604
8647
  ],
8605
8648
  ],
8606
8649
  ],
8650
+ [
8651
+ "keyboardButtonCopy",
8652
+ [
8653
+ 0x75D2698E,
8654
+ [
8655
+ ["text", "string", "string"],
8656
+ ["copy_text", "string", "string"],
8657
+ ],
8658
+ ],
8659
+ ],
8607
8660
  [
8608
8661
  "keyboardButtonRow",
8609
8662
  [
@@ -10798,6 +10851,16 @@ const types = new Map([
10798
10851
  ],
10799
10852
  ],
10800
10853
  ],
10854
+ [
10855
+ "payments.paymentFormStarGift",
10856
+ [
10857
+ 0xB425CFE1,
10858
+ [
10859
+ ["form_id", "bigint", "long"],
10860
+ ["invoice", "Invoice", "Invoice"],
10861
+ ],
10862
+ ],
10863
+ ],
10801
10864
  [
10802
10865
  "payments.validatedRequestedInfo",
10803
10866
  [
@@ -14709,6 +14772,19 @@ const types = new Map([
14709
14772
  ],
14710
14773
  ],
14711
14774
  ],
14775
+ [
14776
+ "inputInvoiceStarGift",
14777
+ [
14778
+ 0x25D8C1D8,
14779
+ [
14780
+ ["flags", exports.flags, "#"],
14781
+ ["hide_name", "true", "flags.0?true"],
14782
+ ["user_id", "InputUser", "InputUser"],
14783
+ ["gift_id", "bigint", "long"],
14784
+ ["message", "TextWithEntities", "flags.1?TextWithEntities"],
14785
+ ],
14786
+ ],
14787
+ ],
14712
14788
  [
14713
14789
  "payments.exportedInvoice",
14714
14790
  [
@@ -14771,13 +14847,14 @@ const types = new Map([
14771
14847
  [
14772
14848
  "inputStorePaymentPremiumGiftCode",
14773
14849
  [
14774
- 0xA3805F3F,
14850
+ 0xFB790393,
14775
14851
  [
14776
14852
  ["flags", exports.flags, "#"],
14777
14853
  ["users", ["InputUser"], "Vector<InputUser>"],
14778
14854
  ["boost_peer", "InputPeer", "flags.0?InputPeer"],
14779
14855
  ["currency", "string", "string"],
14780
14856
  ["amount", "bigint", "long"],
14857
+ ["message", "TextWithEntities", "flags.1?TextWithEntities"],
14781
14858
  ],
14782
14859
  ],
14783
14860
  ],
@@ -17158,6 +17235,13 @@ const types = new Map([
17158
17235
  [],
17159
17236
  ],
17160
17237
  ],
17238
+ [
17239
+ "starsTransactionPeerAPI",
17240
+ [
17241
+ 0xF9677AAD,
17242
+ [],
17243
+ ],
17244
+ ],
17161
17245
  [
17162
17246
  "starsTopupOption",
17163
17247
  [
@@ -17175,7 +17259,7 @@ const types = new Map([
17175
17259
  [
17176
17260
  "starsTransaction",
17177
17261
  [
17178
- 0xEE7522D5,
17262
+ 0x35D4F276,
17179
17263
  [
17180
17264
  ["flags", exports.flags, "#"],
17181
17265
  ["refund", "true", "flags.3?true"],
@@ -17197,6 +17281,8 @@ const types = new Map([
17197
17281
  ["extended_media", ["MessageMedia"], "flags.9?Vector<MessageMedia>"],
17198
17282
  ["subscription_period", "number", "flags.12?int"],
17199
17283
  ["giveaway_post_id", "number", "flags.13?int"],
17284
+ ["stargift", "StarGift", "flags.14?StarGift"],
17285
+ ["floodskip_number", "number", "flags.15?int"],
17200
17286
  ],
17201
17287
  ],
17202
17288
  ],
@@ -17423,6 +17509,110 @@ const types = new Map([
17423
17509
  ],
17424
17510
  ],
17425
17511
  ],
17512
+ [
17513
+ "starGift",
17514
+ [
17515
+ 0x49C577CD,
17516
+ [
17517
+ ["flags", exports.flags, "#"],
17518
+ ["limited", "true", "flags.0?true"],
17519
+ ["sold_out", "true", "flags.1?true"],
17520
+ ["id", "bigint", "long"],
17521
+ ["sticker", "Document", "Document"],
17522
+ ["stars", "bigint", "long"],
17523
+ ["availability_remains", "number", "flags.0?int"],
17524
+ ["availability_total", "number", "flags.0?int"],
17525
+ ["convert_stars", "bigint", "long"],
17526
+ ["first_sale_date", "number", "flags.1?int"],
17527
+ ["last_sale_date", "number", "flags.1?int"],
17528
+ ],
17529
+ ],
17530
+ ],
17531
+ [
17532
+ "payments.starGiftsNotModified",
17533
+ [
17534
+ 0xA388A368,
17535
+ [],
17536
+ ],
17537
+ ],
17538
+ [
17539
+ "payments.starGifts",
17540
+ [
17541
+ 0x901689EA,
17542
+ [
17543
+ ["hash", "number", "int"],
17544
+ ["gifts", ["StarGift"], "Vector<StarGift>"],
17545
+ ],
17546
+ ],
17547
+ ],
17548
+ [
17549
+ "userStarGift",
17550
+ [
17551
+ 0xEEA49A6E,
17552
+ [
17553
+ ["flags", exports.flags, "#"],
17554
+ ["name_hidden", "true", "flags.0?true"],
17555
+ ["unsaved", "true", "flags.5?true"],
17556
+ ["from_id", "bigint", "flags.1?long"],
17557
+ ["date", "number", "int"],
17558
+ ["gift", "StarGift", "StarGift"],
17559
+ ["message", "TextWithEntities", "flags.2?TextWithEntities"],
17560
+ ["msg_id", "number", "flags.3?int"],
17561
+ ["convert_stars", "bigint", "flags.4?long"],
17562
+ ],
17563
+ ],
17564
+ ],
17565
+ [
17566
+ "payments.userStarGifts",
17567
+ [
17568
+ 0x6B65B517,
17569
+ [
17570
+ ["flags", exports.flags, "#"],
17571
+ ["count", "number", "int"],
17572
+ ["gifts", ["UserStarGift"], "Vector<UserStarGift>"],
17573
+ ["next_offset", "string", "flags.0?string"],
17574
+ ["users", ["User"], "Vector<User>"],
17575
+ ],
17576
+ ],
17577
+ ],
17578
+ [
17579
+ "messageReportOption",
17580
+ [
17581
+ 0x7903E3D9,
17582
+ [
17583
+ ["text", "string", "string"],
17584
+ ["option", Uint8Array, "bytes"],
17585
+ ],
17586
+ ],
17587
+ ],
17588
+ [
17589
+ "reportResultChooseOption",
17590
+ [
17591
+ 0xF0E4E0B6,
17592
+ [
17593
+ ["title", "string", "string"],
17594
+ ["options", ["MessageReportOption"], "Vector<MessageReportOption>"],
17595
+ ],
17596
+ ],
17597
+ ],
17598
+ [
17599
+ "reportResultAddComment",
17600
+ [
17601
+ 0x6F09AC31,
17602
+ [
17603
+ ["flags", exports.flags, "#"],
17604
+ ["optional", "true", "flags.0?true"],
17605
+ ["option", Uint8Array, "bytes"],
17606
+ ],
17607
+ ],
17608
+ ],
17609
+ [
17610
+ "reportResultReported",
17611
+ [
17612
+ 0x8DB33C4B,
17613
+ [],
17614
+ ],
17615
+ ],
17426
17616
  [
17427
17617
  "req_pq_multi",
17428
17618
  [
@@ -19394,6 +19584,7 @@ const types = new Map([
19394
19584
  ["noforwards", "true", "flags.14?true"],
19395
19585
  ["update_stickersets_order", "true", "flags.15?true"],
19396
19586
  ["invert_media", "true", "flags.16?true"],
19587
+ ["allow_paid_floodskip", "true", "flags.19?true"],
19397
19588
  ["peer", "InputPeer", "InputPeer"],
19398
19589
  ["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
19399
19590
  ["message", "string", "string"],
@@ -19419,6 +19610,7 @@ const types = new Map([
19419
19610
  ["noforwards", "true", "flags.14?true"],
19420
19611
  ["update_stickersets_order", "true", "flags.15?true"],
19421
19612
  ["invert_media", "true", "flags.16?true"],
19613
+ ["allow_paid_floodskip", "true", "flags.19?true"],
19422
19614
  ["peer", "InputPeer", "InputPeer"],
19423
19615
  ["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
19424
19616
  ["media", "InputMedia", "InputMedia"],
@@ -19445,6 +19637,7 @@ const types = new Map([
19445
19637
  ["drop_author", "true", "flags.11?true"],
19446
19638
  ["drop_media_captions", "true", "flags.12?true"],
19447
19639
  ["noforwards", "true", "flags.14?true"],
19640
+ ["allow_paid_floodskip", "true", "flags.19?true"],
19448
19641
  ["from_peer", "InputPeer", "InputPeer"],
19449
19642
  ["id", ["number"], "Vector<int>"],
19450
19643
  ["random_id", ["bigint"], "Vector<long>"],
@@ -19477,11 +19670,11 @@ const types = new Map([
19477
19670
  [
19478
19671
  "messages.report",
19479
19672
  [
19480
- 0x8953AB4E,
19673
+ 0xFC78AF9B,
19481
19674
  [
19482
19675
  ["peer", "InputPeer", "InputPeer"],
19483
19676
  ["id", ["number"], "Vector<int>"],
19484
- ["reason", "ReportReason", "ReportReason"],
19677
+ ["option", Uint8Array, "bytes"],
19485
19678
  ["message", "string", "string"],
19486
19679
  ],
19487
19680
  ],
@@ -20343,6 +20536,7 @@ const types = new Map([
20343
20536
  ["noforwards", "true", "flags.14?true"],
20344
20537
  ["update_stickersets_order", "true", "flags.15?true"],
20345
20538
  ["invert_media", "true", "flags.16?true"],
20539
+ ["allow_paid_floodskip", "true", "flags.19?true"],
20346
20540
  ["peer", "InputPeer", "InputPeer"],
20347
20541
  ["reply_to", "InputReplyTo", "flags.0?InputReplyTo"],
20348
20542
  ["multi_media", ["InputSingleMedia"], "Vector<InputSingleMedia>"],
@@ -21736,6 +21930,49 @@ const types = new Map([
21736
21930
  [],
21737
21931
  ],
21738
21932
  ],
21933
+ [
21934
+ "messages.viewSponsoredMessage",
21935
+ [
21936
+ 0x673AD8F1,
21937
+ [
21938
+ ["peer", "InputPeer", "InputPeer"],
21939
+ ["random_id", Uint8Array, "bytes"],
21940
+ ],
21941
+ ],
21942
+ ],
21943
+ [
21944
+ "messages.clickSponsoredMessage",
21945
+ [
21946
+ 0x0F093465,
21947
+ [
21948
+ ["flags", exports.flags, "#"],
21949
+ ["media", "true", "flags.0?true"],
21950
+ ["fullscreen", "true", "flags.1?true"],
21951
+ ["peer", "InputPeer", "InputPeer"],
21952
+ ["random_id", Uint8Array, "bytes"],
21953
+ ],
21954
+ ],
21955
+ ],
21956
+ [
21957
+ "messages.reportSponsoredMessage",
21958
+ [
21959
+ 0x1AF3DBB8,
21960
+ [
21961
+ ["peer", "InputPeer", "InputPeer"],
21962
+ ["random_id", Uint8Array, "bytes"],
21963
+ ["option", Uint8Array, "bytes"],
21964
+ ],
21965
+ ],
21966
+ ],
21967
+ [
21968
+ "messages.getSponsoredMessages",
21969
+ [
21970
+ 0x9BD2F439,
21971
+ [
21972
+ ["peer", "InputPeer", "InputPeer"],
21973
+ ],
21974
+ ],
21975
+ ],
21739
21976
  [
21740
21977
  "updates.getState",
21741
21978
  [
@@ -22506,25 +22743,6 @@ const types = new Map([
22506
22743
  ],
22507
22744
  ],
22508
22745
  ],
22509
- [
22510
- "channels.viewSponsoredMessage",
22511
- [
22512
- 0xBEAEDB94,
22513
- [
22514
- ["channel", "InputChannel", "InputChannel"],
22515
- ["random_id", Uint8Array, "bytes"],
22516
- ],
22517
- ],
22518
- ],
22519
- [
22520
- "channels.getSponsoredMessages",
22521
- [
22522
- 0xEC210FBF,
22523
- [
22524
- ["channel", "InputChannel", "InputChannel"],
22525
- ],
22526
- ],
22527
- ],
22528
22746
  [
22529
22747
  "channels.getSendAs",
22530
22748
  [
@@ -22722,16 +22940,6 @@ const types = new Map([
22722
22940
  ],
22723
22941
  ],
22724
22942
  ],
22725
- [
22726
- "channels.clickSponsoredMessage",
22727
- [
22728
- 0x18AFBC93,
22729
- [
22730
- ["channel", "InputChannel", "InputChannel"],
22731
- ["random_id", Uint8Array, "bytes"],
22732
- ],
22733
- ],
22734
- ],
22735
22943
  [
22736
22944
  "channels.updateColor",
22737
22945
  [
@@ -22795,17 +23003,6 @@ const types = new Map([
22795
23003
  ],
22796
23004
  ],
22797
23005
  ],
22798
- [
22799
- "channels.reportSponsoredMessage",
22800
- [
22801
- 0xAF8FF6B9,
22802
- [
22803
- ["channel", "InputChannel", "InputChannel"],
22804
- ["random_id", Uint8Array, "bytes"],
22805
- ["option", Uint8Array, "bytes"],
22806
- ],
22807
- ],
22808
- ],
22809
23006
  [
22810
23007
  "channels.restrictSponsoredMessages",
22811
23008
  [
@@ -23263,9 +23460,8 @@ const types = new Map([
23263
23460
  [
23264
23461
  "payments.sendStarsForm",
23265
23462
  [
23266
- 0x02BB731D,
23463
+ 0x7998C914,
23267
23464
  [
23268
- ["flags", exports.flags, "#"],
23269
23465
  ["form_id", "bigint", "long"],
23270
23466
  ["invoice", "InputInvoice", "InputInvoice"],
23271
23467
  ],
@@ -23373,6 +23569,48 @@ const types = new Map([
23373
23569
  [],
23374
23570
  ],
23375
23571
  ],
23572
+ [
23573
+ "payments.getStarGifts",
23574
+ [
23575
+ 0xC4563590,
23576
+ [
23577
+ ["hash", "number", "int"],
23578
+ ],
23579
+ ],
23580
+ ],
23581
+ [
23582
+ "payments.getUserStarGifts",
23583
+ [
23584
+ 0x5E72C7E1,
23585
+ [
23586
+ ["user_id", "InputUser", "InputUser"],
23587
+ ["offset", "string", "string"],
23588
+ ["limit", "number", "int"],
23589
+ ],
23590
+ ],
23591
+ ],
23592
+ [
23593
+ "payments.saveStarGift",
23594
+ [
23595
+ 0x87ACF08E,
23596
+ [
23597
+ ["flags", exports.flags, "#"],
23598
+ ["unsave", "true", "flags.0?true"],
23599
+ ["user_id", "InputUser", "InputUser"],
23600
+ ["msg_id", "number", "int"],
23601
+ ],
23602
+ ],
23603
+ ],
23604
+ [
23605
+ "payments.convertStarGift",
23606
+ [
23607
+ 0x0421E027,
23608
+ [
23609
+ ["user_id", "InputUser", "InputUser"],
23610
+ ["msg_id", "number", "int"],
23611
+ ],
23612
+ ],
23613
+ ],
23376
23614
  [
23377
23615
  "stickers.createStickerSet",
23378
23616
  [
@@ -23977,20 +24215,20 @@ const types = new Map([
23977
24215
  [
23978
24216
  "stats.getBroadcastRevenueStats",
23979
24217
  [
23980
- 0x75DFB671,
24218
+ 0xF788EE19,
23981
24219
  [
23982
24220
  ["flags", exports.flags, "#"],
23983
24221
  ["dark", "true", "flags.0?true"],
23984
- ["channel", "InputChannel", "InputChannel"],
24222
+ ["peer", "InputPeer", "InputPeer"],
23985
24223
  ],
23986
24224
  ],
23987
24225
  ],
23988
24226
  [
23989
24227
  "stats.getBroadcastRevenueWithdrawalUrl",
23990
24228
  [
23991
- 0x2A65EF73,
24229
+ 0x9DF4FAAD,
23992
24230
  [
23993
- ["channel", "InputChannel", "InputChannel"],
24231
+ ["peer", "InputPeer", "InputPeer"],
23994
24232
  ["password", "InputCheckPasswordSRP", "InputCheckPasswordSRP"],
23995
24233
  ],
23996
24234
  ],
@@ -23998,9 +24236,9 @@ const types = new Map([
23998
24236
  [
23999
24237
  "stats.getBroadcastRevenueTransactions",
24000
24238
  [
24001
- 0x0069280F,
24239
+ 0x70990B6D,
24002
24240
  [
24003
- ["channel", "InputChannel", "InputChannel"],
24241
+ ["peer", "InputPeer", "InputPeer"],
24004
24242
  ["offset", "number", "int"],
24005
24243
  ["limit", "number", "int"],
24006
24244
  ],
@@ -24296,11 +24534,11 @@ const types = new Map([
24296
24534
  [
24297
24535
  "stories.report",
24298
24536
  [
24299
- 0x1923FA8C,
24537
+ 0x19D8EB45,
24300
24538
  [
24301
24539
  ["peer", "InputPeer", "InputPeer"],
24302
24540
  ["id", ["number"], "Vector<int>"],
24303
- ["reason", "ReportReason", "ReportReason"],
24541
+ ["option", Uint8Array, "bytes"],
24304
24542
  ["message", "string", "string"],
24305
24543
  ],
24306
24544
  ],
@@ -24399,11 +24637,12 @@ const types = new Map([
24399
24637
  [
24400
24638
  "stories.searchPosts",
24401
24639
  [
24402
- 0x6CEA116A,
24640
+ 0xD1810907,
24403
24641
  [
24404
24642
  ["flags", exports.flags, "#"],
24405
24643
  ["hashtag", "string", "flags.0?string"],
24406
24644
  ["area", "MediaArea", "flags.1?MediaArea"],
24645
+ ["peer", "InputPeer", "flags.2?InputPeer"],
24407
24646
  ["offset", "string", "string"],
24408
24647
  ["limit", "number", "int"],
24409
24648
  ],