@mtkruto/node 0.2.22 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/client/0_params.d.ts +1 -1
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/5_client.d.ts +9 -1
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +105 -47
- package/esm/tl/0_api.d.ts +175 -23
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +279 -91
- package/package.json +1 -1
- package/script/client/0_params.d.ts +1 -1
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/5_client.d.ts +9 -1
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +105 -47
- package/script/tl/0_api.d.ts +175 -23
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +279 -91
package/esm/tl/0_api.js
CHANGED
|
@@ -92,6 +92,7 @@ const map = new Map([
|
|
|
92
92
|
[0xE66FBF7B, "inputMediaDice"],
|
|
93
93
|
[0x89FDD778, "inputMediaStory"],
|
|
94
94
|
[0xC21B8849, "inputMediaWebPage"],
|
|
95
|
+
[0xAA661FC3, "inputMediaPaidMedia"],
|
|
95
96
|
[0x1CA48F57, "inputChatPhotoEmpty"],
|
|
96
97
|
[0xBDCDAEC0, "inputChatUploadedPhoto"],
|
|
97
98
|
[0x8953AD37, "inputChatPhoto"],
|
|
@@ -165,6 +166,7 @@ const map = new Map([
|
|
|
165
166
|
[0x68CB6283, "messageMediaStory"],
|
|
166
167
|
[0xDAAD85B0, "messageMediaGiveaway"],
|
|
167
168
|
[0xC6991068, "messageMediaGiveawayResults"],
|
|
169
|
+
[0xA8852491, "messageMediaPaidMedia"],
|
|
168
170
|
[0xB6AEF7B0, "messageActionEmpty"],
|
|
169
171
|
[0xBD47CBAD, "messageActionChatCreate"],
|
|
170
172
|
[0xB5A1CE5A, "messageActionChatEditTitle"],
|
|
@@ -388,7 +390,7 @@ const map = new Map([
|
|
|
388
390
|
[0x30F443DB, "updateRecentEmojiStatuses"],
|
|
389
391
|
[0x6F7863F4, "updateRecentReactions"],
|
|
390
392
|
[0x86FCCF85, "updateMoveStickerSetToTop"],
|
|
391
|
-
[
|
|
393
|
+
[0xD5A41724, "updateMessageExtendedMedia"],
|
|
392
394
|
[0x192EFBE3, "updateChannelPinnedTopic"],
|
|
393
395
|
[0xFE198602, "updateChannelPinnedTopics"],
|
|
394
396
|
[0x20529438, "updateUser"],
|
|
@@ -419,6 +421,8 @@ const map = new Map([
|
|
|
419
421
|
[0x1824E40B, "updateNewStoryReaction"],
|
|
420
422
|
[0xDFD961F5, "updateBroadcastRevenueTransactions"],
|
|
421
423
|
[0x0FB85198, "updateStarsBalance"],
|
|
424
|
+
[0x1EA2FDA7, "updateBusinessBotCallbackQuery"],
|
|
425
|
+
[0xA584B019, "updateStarsRevenueStatus"],
|
|
422
426
|
[0xA56C2A3E, "updates.state"],
|
|
423
427
|
[0x5D75A138, "updates.differenceEmpty"],
|
|
424
428
|
[0x00F49CA0, "updates.difference"],
|
|
@@ -689,7 +693,7 @@ const map = new Map([
|
|
|
689
693
|
[0xF450F59B, "auth.sentCodeTypeEmailCode"],
|
|
690
694
|
[0xA5491DEA, "auth.sentCodeTypeSetUpEmailRequired"],
|
|
691
695
|
[0xD9565C39, "auth.sentCodeTypeFragmentSms"],
|
|
692
|
-
[
|
|
696
|
+
[0x009FD736, "auth.sentCodeTypeFirebaseSms"],
|
|
693
697
|
[0xA416AC81, "auth.sentCodeTypeSmsWord"],
|
|
694
698
|
[0xB37794AF, "auth.sentCodeTypeSmsPhrase"],
|
|
695
699
|
[0x36585EA4, "messages.botCallbackAnswer"],
|
|
@@ -712,7 +716,7 @@ const map = new Map([
|
|
|
712
716
|
[0x70B772A8, "contacts.topPeers"],
|
|
713
717
|
[0xB52C939D, "contacts.topPeersDisabled"],
|
|
714
718
|
[0x1B0C841A, "draftMessageEmpty"],
|
|
715
|
-
[
|
|
719
|
+
[0x2D65321F, "draftMessage"],
|
|
716
720
|
[0xC6DC0C66, "messages.featuredStickersNotModified"],
|
|
717
721
|
[0xBE382906, "messages.featuredStickers"],
|
|
718
722
|
[0x0B17F890, "messages.recentStickersNotModified"],
|
|
@@ -1133,8 +1137,7 @@ const map = new Map([
|
|
|
1133
1137
|
[0xF1D88A5C, "attachMenuBotsNotModified"],
|
|
1134
1138
|
[0x3C4301C0, "attachMenuBots"],
|
|
1135
1139
|
[0x93BF667F, "attachMenuBotsBot"],
|
|
1136
|
-
[
|
|
1137
|
-
[0x882F76BB, "simpleWebViewResultUrl"],
|
|
1140
|
+
[0x4D22FF98, "webViewResultUrl"],
|
|
1138
1141
|
[0x0C94511C, "webViewMessageSent"],
|
|
1139
1142
|
[0x7533A588, "botMenuButtonDefault"],
|
|
1140
1143
|
[0x4258C205, "botMenuButtonCommands"],
|
|
@@ -1220,7 +1223,6 @@ const map = new Map([
|
|
|
1220
1223
|
[0x5DA674B7, "botAppNotModified"],
|
|
1221
1224
|
[0x95FCD1D6, "botApp"],
|
|
1222
1225
|
[0xEB50ADF5, "messages.botApp"],
|
|
1223
|
-
[0x3C1B4F0D, "appWebViewResultUrl"],
|
|
1224
1226
|
[0xB57295D5, "inlineBotWebView"],
|
|
1225
1227
|
[0x4A4FF172, "readParticipantDate"],
|
|
1226
1228
|
[0xF3E0DA33, "inputChatlistDialogFilter"],
|
|
@@ -1250,13 +1252,14 @@ const map = new Map([
|
|
|
1250
1252
|
[0x5881323A, "inputReplyToStory"],
|
|
1251
1253
|
[0x3FC9053B, "exportedStoryLink"],
|
|
1252
1254
|
[0x712E27FD, "storiesStealthMode"],
|
|
1253
|
-
[
|
|
1255
|
+
[0xCFC9E002, "mediaAreaCoordinates"],
|
|
1254
1256
|
[0xBE82DB9C, "mediaAreaVenue"],
|
|
1255
1257
|
[0xB282217F, "inputMediaAreaVenue"],
|
|
1256
|
-
[
|
|
1258
|
+
[0xCAD5452D, "mediaAreaGeoPoint"],
|
|
1257
1259
|
[0x14455871, "mediaAreaSuggestedReaction"],
|
|
1258
1260
|
[0x770416AF, "mediaAreaChannelPost"],
|
|
1259
1261
|
[0x2271F2BF, "inputMediaAreaChannelPost"],
|
|
1262
|
+
[0x37381085, "mediaAreaUrl"],
|
|
1260
1263
|
[0x9A35E999, "peerStories"],
|
|
1261
1264
|
[0xCAE68768, "stories.peerStories"],
|
|
1262
1265
|
[0xFD5E12BD, "messages.webPage"],
|
|
@@ -1366,9 +1369,18 @@ const map = new Map([
|
|
|
1366
1369
|
[0x250DBAF8, "starsTransactionPeerPremiumBot"],
|
|
1367
1370
|
[0xE92FD902, "starsTransactionPeerFragment"],
|
|
1368
1371
|
[0xD80DA15D, "starsTransactionPeer"],
|
|
1372
|
+
[0x60682812, "starsTransactionPeerAds"],
|
|
1369
1373
|
[0x0BD915C0, "starsTopupOption"],
|
|
1370
|
-
[
|
|
1374
|
+
[0x2DB5418F, "starsTransaction"],
|
|
1371
1375
|
[0x8CF4EE60, "payments.starsStatus"],
|
|
1376
|
+
[0xE87ACBC0, "foundStory"],
|
|
1377
|
+
[0xE2DE7737, "stories.foundStories"],
|
|
1378
|
+
[0xDE4C5D93, "geoPointAddress"],
|
|
1379
|
+
[0x79342946, "starsRevenueStatus"],
|
|
1380
|
+
[0xC92BB73B, "payments.starsRevenueStats"],
|
|
1381
|
+
[0x1DAB80B7, "payments.starsRevenueWithdrawalUrl"],
|
|
1382
|
+
[0x394E7F21, "payments.starsRevenueAdsAccountUrl"],
|
|
1383
|
+
[0x206AE6D1, "inputStarsTransaction"],
|
|
1372
1384
|
]);
|
|
1373
1385
|
export const getTypeName = map.get.bind(map);
|
|
1374
1386
|
export const flags = Symbol();
|
|
@@ -1407,7 +1419,7 @@ const enums = new Map([
|
|
|
1407
1419
|
["InputUser", ["inputUserEmpty", "inputUserSelf", "inputUser", "inputUserFromMessage"]],
|
|
1408
1420
|
["InputContact", ["inputPhoneContact"]],
|
|
1409
1421
|
["InputFile", ["inputFile", "inputFileBig"]],
|
|
1410
|
-
["InputMedia", ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage"]],
|
|
1422
|
+
["InputMedia", ["inputMediaEmpty", "inputMediaUploadedPhoto", "inputMediaPhoto", "inputMediaGeoPoint", "inputMediaContact", "inputMediaUploadedDocument", "inputMediaDocument", "inputMediaVenue", "inputMediaPhotoExternal", "inputMediaDocumentExternal", "inputMediaGame", "inputMediaInvoice", "inputMediaGeoLive", "inputMediaPoll", "inputMediaDice", "inputMediaStory", "inputMediaWebPage", "inputMediaPaidMedia"]],
|
|
1411
1423
|
["InputChatPhoto", ["inputChatPhotoEmpty", "inputChatUploadedPhoto", "inputChatPhoto"]],
|
|
1412
1424
|
["InputGeoPoint", ["inputGeoPointEmpty", "inputGeoPoint"]],
|
|
1413
1425
|
["InputPhoto", ["inputPhotoEmpty", "inputPhoto"]],
|
|
@@ -1422,52 +1434,8 @@ const enums = new Map([
|
|
|
1422
1434
|
["ChatParticipants", ["chatParticipantsForbidden", "chatParticipants"]],
|
|
1423
1435
|
["ChatPhoto", ["chatPhotoEmpty", "chatPhoto"]],
|
|
1424
1436
|
["Message", ["messageEmpty", "message", "messageService"]],
|
|
1425
|
-
["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults"]],
|
|
1426
|
-
["MessageAction", [
|
|
1427
|
-
"messageActionEmpty",
|
|
1428
|
-
"messageActionChatCreate",
|
|
1429
|
-
"messageActionChatEditTitle",
|
|
1430
|
-
"messageActionChatEditPhoto",
|
|
1431
|
-
"messageActionChatDeletePhoto",
|
|
1432
|
-
"messageActionChatAddUser",
|
|
1433
|
-
"messageActionChatDeleteUser",
|
|
1434
|
-
"messageActionChatJoinedByLink",
|
|
1435
|
-
"messageActionChannelCreate",
|
|
1436
|
-
"messageActionChatMigrateTo",
|
|
1437
|
-
"messageActionChannelMigrateFrom",
|
|
1438
|
-
"messageActionPinMessage",
|
|
1439
|
-
"messageActionHistoryClear",
|
|
1440
|
-
"messageActionGameScore",
|
|
1441
|
-
"messageActionPaymentSentMe",
|
|
1442
|
-
"messageActionPaymentSent",
|
|
1443
|
-
"messageActionPhoneCall",
|
|
1444
|
-
"messageActionScreenshotTaken",
|
|
1445
|
-
"messageActionCustomAction",
|
|
1446
|
-
"messageActionBotAllowed",
|
|
1447
|
-
"messageActionSecureValuesSentMe",
|
|
1448
|
-
"messageActionSecureValuesSent",
|
|
1449
|
-
"messageActionContactSignUp",
|
|
1450
|
-
"messageActionGeoProximityReached",
|
|
1451
|
-
"messageActionGroupCall",
|
|
1452
|
-
"messageActionInviteToGroupCall",
|
|
1453
|
-
"messageActionSetMessagesTTL",
|
|
1454
|
-
"messageActionGroupCallScheduled",
|
|
1455
|
-
"messageActionSetChatTheme",
|
|
1456
|
-
"messageActionChatJoinedByRequest",
|
|
1457
|
-
"messageActionWebViewDataSentMe",
|
|
1458
|
-
"messageActionWebViewDataSent",
|
|
1459
|
-
"messageActionGiftPremium",
|
|
1460
|
-
"messageActionTopicCreate",
|
|
1461
|
-
"messageActionTopicEdit",
|
|
1462
|
-
"messageActionSuggestProfilePhoto",
|
|
1463
|
-
"messageActionRequestedPeer",
|
|
1464
|
-
"messageActionSetChatWallPaper",
|
|
1465
|
-
"messageActionGiftCode",
|
|
1466
|
-
"messageActionGiveawayLaunch",
|
|
1467
|
-
"messageActionGiveawayResults",
|
|
1468
|
-
"messageActionBoostApply",
|
|
1469
|
-
"messageActionRequestedPeerSentMe",
|
|
1470
|
-
]],
|
|
1437
|
+
["MessageMedia", ["messageMediaEmpty", "messageMediaPhoto", "messageMediaGeo", "messageMediaContact", "messageMediaUnsupported", "messageMediaDocument", "messageMediaWebPage", "messageMediaVenue", "messageMediaGame", "messageMediaInvoice", "messageMediaGeoLive", "messageMediaPoll", "messageMediaDice", "messageMediaStory", "messageMediaGiveaway", "messageMediaGiveawayResults", "messageMediaPaidMedia"]],
|
|
1438
|
+
["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"]],
|
|
1471
1439
|
["Dialog", ["dialog", "dialogFolder"]],
|
|
1472
1440
|
["Photo", ["photoEmpty", "photo"]],
|
|
1473
1441
|
["PhotoSize", ["photoSizeEmpty", "photoSize", "photoCachedSize", "photoStrippedSize", "photoSizeProgressive", "photoPathSize"]],
|
|
@@ -1632,6 +1600,8 @@ const enums = new Map([
|
|
|
1632
1600
|
"updateNewStoryReaction",
|
|
1633
1601
|
"updateBroadcastRevenueTransactions",
|
|
1634
1602
|
"updateStarsBalance",
|
|
1603
|
+
"updateBusinessBotCallbackQuery",
|
|
1604
|
+
"updateStarsRevenueStatus",
|
|
1635
1605
|
]],
|
|
1636
1606
|
["updates.State", ["updates.state"]],
|
|
1637
1607
|
["updates.Difference", ["updates.differenceEmpty", "updates.difference", "updates.differenceSlice", "updates.differenceTooLong"]],
|
|
@@ -1973,7 +1943,6 @@ const enums = new Map([
|
|
|
1973
1943
|
["AttachMenuBots", ["attachMenuBotsNotModified", "attachMenuBots"]],
|
|
1974
1944
|
["AttachMenuBotsBot", ["attachMenuBotsBot"]],
|
|
1975
1945
|
["WebViewResult", ["webViewResultUrl"]],
|
|
1976
|
-
["SimpleWebViewResult", ["simpleWebViewResultUrl"]],
|
|
1977
1946
|
["WebViewMessageSent", ["webViewMessageSent"]],
|
|
1978
1947
|
["BotMenuButton", ["botMenuButtonDefault", "botMenuButtonCommands", "botMenuButton"]],
|
|
1979
1948
|
["account.SavedRingtones", ["account.savedRingtonesNotModified", "account.savedRingtones"]],
|
|
@@ -2017,7 +1986,6 @@ const enums = new Map([
|
|
|
2017
1986
|
["InputBotApp", ["inputBotAppID", "inputBotAppShortName"]],
|
|
2018
1987
|
["BotApp", ["botAppNotModified", "botApp"]],
|
|
2019
1988
|
["messages.BotApp", ["messages.botApp"]],
|
|
2020
|
-
["AppWebViewResult", ["appWebViewResultUrl"]],
|
|
2021
1989
|
["InlineBotWebView", ["inlineBotWebView"]],
|
|
2022
1990
|
["ReadParticipantDate", ["readParticipantDate"]],
|
|
2023
1991
|
["InputChatlist", ["inputChatlistDialogFilter"]],
|
|
@@ -2039,7 +2007,7 @@ const enums = new Map([
|
|
|
2039
2007
|
["ExportedStoryLink", ["exportedStoryLink"]],
|
|
2040
2008
|
["StoriesStealthMode", ["storiesStealthMode"]],
|
|
2041
2009
|
["MediaAreaCoordinates", ["mediaAreaCoordinates"]],
|
|
2042
|
-
["MediaArea", ["mediaAreaVenue", "inputMediaAreaVenue", "mediaAreaGeoPoint", "mediaAreaSuggestedReaction", "mediaAreaChannelPost", "inputMediaAreaChannelPost"]],
|
|
2010
|
+
["MediaArea", ["mediaAreaVenue", "inputMediaAreaVenue", "mediaAreaGeoPoint", "mediaAreaSuggestedReaction", "mediaAreaChannelPost", "inputMediaAreaChannelPost", "mediaAreaUrl"]],
|
|
2043
2011
|
["PeerStories", ["peerStories"]],
|
|
2044
2012
|
["stories.PeerStories", ["stories.peerStories"]],
|
|
2045
2013
|
["messages.WebPage", ["messages.webPage"]],
|
|
@@ -2119,10 +2087,18 @@ const enums = new Map([
|
|
|
2119
2087
|
["AvailableEffect", ["availableEffect"]],
|
|
2120
2088
|
["messages.AvailableEffects", ["messages.availableEffectsNotModified", "messages.availableEffects"]],
|
|
2121
2089
|
["FactCheck", ["factCheck"]],
|
|
2122
|
-
["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer"]],
|
|
2090
|
+
["StarsTransactionPeer", ["starsTransactionPeerUnsupported", "starsTransactionPeerAppStore", "starsTransactionPeerPlayMarket", "starsTransactionPeerPremiumBot", "starsTransactionPeerFragment", "starsTransactionPeer", "starsTransactionPeerAds"]],
|
|
2123
2091
|
["StarsTopupOption", ["starsTopupOption"]],
|
|
2124
2092
|
["StarsTransaction", ["starsTransaction"]],
|
|
2125
2093
|
["payments.StarsStatus", ["payments.starsStatus"]],
|
|
2094
|
+
["FoundStory", ["foundStory"]],
|
|
2095
|
+
["stories.FoundStories", ["stories.foundStories"]],
|
|
2096
|
+
["GeoPointAddress", ["geoPointAddress"]],
|
|
2097
|
+
["StarsRevenueStatus", ["starsRevenueStatus"]],
|
|
2098
|
+
["payments.StarsRevenueStats", ["payments.starsRevenueStats"]],
|
|
2099
|
+
["payments.StarsRevenueWithdrawalUrl", ["payments.starsRevenueWithdrawalUrl"]],
|
|
2100
|
+
["payments.StarsRevenueAdsAccountUrl", ["payments.starsRevenueAdsAccountUrl"]],
|
|
2101
|
+
["InputStarsTransaction", ["inputStarsTransaction"]],
|
|
2126
2102
|
]);
|
|
2127
2103
|
const types = new Map([
|
|
2128
2104
|
[
|
|
@@ -2908,6 +2884,16 @@ const types = new Map([
|
|
|
2908
2884
|
],
|
|
2909
2885
|
],
|
|
2910
2886
|
],
|
|
2887
|
+
[
|
|
2888
|
+
"inputMediaPaidMedia",
|
|
2889
|
+
[
|
|
2890
|
+
0xAA661FC3,
|
|
2891
|
+
[
|
|
2892
|
+
["stars_amount", "bigint", "long"],
|
|
2893
|
+
["extended_media", ["InputMedia"], "Vector<InputMedia>"],
|
|
2894
|
+
],
|
|
2895
|
+
],
|
|
2896
|
+
],
|
|
2911
2897
|
[
|
|
2912
2898
|
"inputChatPhotoEmpty",
|
|
2913
2899
|
[
|
|
@@ -3480,6 +3466,7 @@ const types = new Map([
|
|
|
3480
3466
|
["view_forum_as_messages", "true", "flags2.6?true"],
|
|
3481
3467
|
["restricted_sponsored", "true", "flags2.11?true"],
|
|
3482
3468
|
["can_view_revenue", "true", "flags2.12?true"],
|
|
3469
|
+
["paid_media_allowed", "true", "flags2.14?true"],
|
|
3483
3470
|
["id", "bigint", "long"],
|
|
3484
3471
|
["about", "string", "string"],
|
|
3485
3472
|
["participants_count", "number", "flags.0?int"],
|
|
@@ -3882,6 +3869,16 @@ const types = new Map([
|
|
|
3882
3869
|
],
|
|
3883
3870
|
],
|
|
3884
3871
|
],
|
|
3872
|
+
[
|
|
3873
|
+
"messageMediaPaidMedia",
|
|
3874
|
+
[
|
|
3875
|
+
0xA8852491,
|
|
3876
|
+
[
|
|
3877
|
+
["stars_amount", "bigint", "long"],
|
|
3878
|
+
["extended_media", ["MessageExtendedMedia"], "Vector<MessageExtendedMedia>"],
|
|
3879
|
+
],
|
|
3880
|
+
],
|
|
3881
|
+
],
|
|
3885
3882
|
[
|
|
3886
3883
|
"messageActionEmpty",
|
|
3887
3884
|
[
|
|
@@ -6261,11 +6258,11 @@ const types = new Map([
|
|
|
6261
6258
|
[
|
|
6262
6259
|
"updateMessageExtendedMedia",
|
|
6263
6260
|
[
|
|
6264
|
-
|
|
6261
|
+
0xD5A41724,
|
|
6265
6262
|
[
|
|
6266
6263
|
["peer", "Peer", "Peer"],
|
|
6267
6264
|
["msg_id", "number", "int"],
|
|
6268
|
-
["extended_media", "MessageExtendedMedia", "MessageExtendedMedia"],
|
|
6265
|
+
["extended_media", ["MessageExtendedMedia"], "Vector<MessageExtendedMedia>"],
|
|
6269
6266
|
],
|
|
6270
6267
|
],
|
|
6271
6268
|
],
|
|
@@ -6580,6 +6577,32 @@ const types = new Map([
|
|
|
6580
6577
|
],
|
|
6581
6578
|
],
|
|
6582
6579
|
],
|
|
6580
|
+
[
|
|
6581
|
+
"updateBusinessBotCallbackQuery",
|
|
6582
|
+
[
|
|
6583
|
+
0x1EA2FDA7,
|
|
6584
|
+
[
|
|
6585
|
+
["flags", flags, "#"],
|
|
6586
|
+
["query_id", "bigint", "long"],
|
|
6587
|
+
["user_id", "bigint", "long"],
|
|
6588
|
+
["connection_id", "string", "string"],
|
|
6589
|
+
["message", "Message", "Message"],
|
|
6590
|
+
["reply_to_message", "Message", "flags.2?Message"],
|
|
6591
|
+
["chat_instance", "bigint", "long"],
|
|
6592
|
+
["data", Uint8Array, "flags.0?bytes"],
|
|
6593
|
+
],
|
|
6594
|
+
],
|
|
6595
|
+
],
|
|
6596
|
+
[
|
|
6597
|
+
"updateStarsRevenueStatus",
|
|
6598
|
+
[
|
|
6599
|
+
0xA584B019,
|
|
6600
|
+
[
|
|
6601
|
+
["peer", "Peer", "Peer"],
|
|
6602
|
+
["status", "StarsRevenueStatus", "StarsRevenueStatus"],
|
|
6603
|
+
],
|
|
6604
|
+
],
|
|
6605
|
+
],
|
|
6583
6606
|
[
|
|
6584
6607
|
"updates.state",
|
|
6585
6608
|
[
|
|
@@ -9487,10 +9510,11 @@ const types = new Map([
|
|
|
9487
9510
|
[
|
|
9488
9511
|
"auth.sentCodeTypeFirebaseSms",
|
|
9489
9512
|
[
|
|
9490
|
-
|
|
9513
|
+
0x009FD736,
|
|
9491
9514
|
[
|
|
9492
9515
|
["flags", flags, "#"],
|
|
9493
9516
|
["nonce", Uint8Array, "flags.0?bytes"],
|
|
9517
|
+
["play_integrity_project_id", "bigint", "flags.2?long"],
|
|
9494
9518
|
["play_integrity_nonce", Uint8Array, "flags.2?bytes"],
|
|
9495
9519
|
["receipt", "string", "flags.1?string"],
|
|
9496
9520
|
["push_timeout", "number", "flags.1?int"],
|
|
@@ -9704,7 +9728,7 @@ const types = new Map([
|
|
|
9704
9728
|
[
|
|
9705
9729
|
"draftMessage",
|
|
9706
9730
|
[
|
|
9707
|
-
|
|
9731
|
+
0x2D65321F,
|
|
9708
9732
|
[
|
|
9709
9733
|
["flags", flags, "#"],
|
|
9710
9734
|
["no_webpage", "true", "flags.1?true"],
|
|
@@ -9714,6 +9738,7 @@ const types = new Map([
|
|
|
9714
9738
|
["entities", ["MessageEntity"], "flags.3?Vector<MessageEntity>"],
|
|
9715
9739
|
["media", "InputMedia", "flags.5?InputMedia"],
|
|
9716
9740
|
["date", "number", "int"],
|
|
9741
|
+
["effect", "bigint", "flags.7?long"],
|
|
9717
9742
|
],
|
|
9718
9743
|
],
|
|
9719
9744
|
],
|
|
@@ -14303,18 +14328,11 @@ const types = new Map([
|
|
|
14303
14328
|
[
|
|
14304
14329
|
"webViewResultUrl",
|
|
14305
14330
|
[
|
|
14306
|
-
|
|
14307
|
-
[
|
|
14308
|
-
["query_id", "bigint", "long"],
|
|
14309
|
-
["url", "string", "string"],
|
|
14310
|
-
],
|
|
14311
|
-
],
|
|
14312
|
-
],
|
|
14313
|
-
[
|
|
14314
|
-
"simpleWebViewResultUrl",
|
|
14315
|
-
[
|
|
14316
|
-
0x882F76BB,
|
|
14331
|
+
0x4D22FF98,
|
|
14317
14332
|
[
|
|
14333
|
+
["flags", flags, "#"],
|
|
14334
|
+
["fullsize", "true", "flags.1?true"],
|
|
14335
|
+
["query_id", "bigint", "flags.0?long"],
|
|
14318
14336
|
["url", "string", "string"],
|
|
14319
14337
|
],
|
|
14320
14338
|
],
|
|
@@ -15178,15 +15196,6 @@ const types = new Map([
|
|
|
15178
15196
|
],
|
|
15179
15197
|
],
|
|
15180
15198
|
],
|
|
15181
|
-
[
|
|
15182
|
-
"appWebViewResultUrl",
|
|
15183
|
-
[
|
|
15184
|
-
0x3C1B4F0D,
|
|
15185
|
-
[
|
|
15186
|
-
["url", "string", "string"],
|
|
15187
|
-
],
|
|
15188
|
-
],
|
|
15189
|
-
],
|
|
15190
15199
|
[
|
|
15191
15200
|
"inlineBotWebView",
|
|
15192
15201
|
[
|
|
@@ -15552,13 +15561,15 @@ const types = new Map([
|
|
|
15552
15561
|
[
|
|
15553
15562
|
"mediaAreaCoordinates",
|
|
15554
15563
|
[
|
|
15555
|
-
|
|
15564
|
+
0xCFC9E002,
|
|
15556
15565
|
[
|
|
15566
|
+
["flags", flags, "#"],
|
|
15557
15567
|
["x", "number", "double"],
|
|
15558
15568
|
["y", "number", "double"],
|
|
15559
15569
|
["w", "number", "double"],
|
|
15560
15570
|
["h", "number", "double"],
|
|
15561
15571
|
["rotation", "number", "double"],
|
|
15572
|
+
["radius", "number", "flags.0?double"],
|
|
15562
15573
|
],
|
|
15563
15574
|
],
|
|
15564
15575
|
],
|
|
@@ -15591,10 +15602,12 @@ const types = new Map([
|
|
|
15591
15602
|
[
|
|
15592
15603
|
"mediaAreaGeoPoint",
|
|
15593
15604
|
[
|
|
15594
|
-
|
|
15605
|
+
0xCAD5452D,
|
|
15595
15606
|
[
|
|
15607
|
+
["flags", flags, "#"],
|
|
15596
15608
|
["coordinates", "MediaAreaCoordinates", "MediaAreaCoordinates"],
|
|
15597
15609
|
["geo", "GeoPoint", "GeoPoint"],
|
|
15610
|
+
["address", "GeoPointAddress", "flags.0?GeoPointAddress"],
|
|
15598
15611
|
],
|
|
15599
15612
|
],
|
|
15600
15613
|
],
|
|
@@ -15633,6 +15646,16 @@ const types = new Map([
|
|
|
15633
15646
|
],
|
|
15634
15647
|
],
|
|
15635
15648
|
],
|
|
15649
|
+
[
|
|
15650
|
+
"mediaAreaUrl",
|
|
15651
|
+
[
|
|
15652
|
+
0x37381085,
|
|
15653
|
+
[
|
|
15654
|
+
["coordinates", "MediaAreaCoordinates", "MediaAreaCoordinates"],
|
|
15655
|
+
["url", "string", "string"],
|
|
15656
|
+
],
|
|
15657
|
+
],
|
|
15658
|
+
],
|
|
15636
15659
|
[
|
|
15637
15660
|
"peerStories",
|
|
15638
15661
|
[
|
|
@@ -16861,6 +16884,13 @@ const types = new Map([
|
|
|
16861
16884
|
],
|
|
16862
16885
|
],
|
|
16863
16886
|
],
|
|
16887
|
+
[
|
|
16888
|
+
"starsTransactionPeerAds",
|
|
16889
|
+
[
|
|
16890
|
+
0x60682812,
|
|
16891
|
+
[],
|
|
16892
|
+
],
|
|
16893
|
+
],
|
|
16864
16894
|
[
|
|
16865
16895
|
"starsTopupOption",
|
|
16866
16896
|
[
|
|
@@ -16878,10 +16908,12 @@ const types = new Map([
|
|
|
16878
16908
|
[
|
|
16879
16909
|
"starsTransaction",
|
|
16880
16910
|
[
|
|
16881
|
-
|
|
16911
|
+
0x2DB5418F,
|
|
16882
16912
|
[
|
|
16883
16913
|
["flags", flags, "#"],
|
|
16884
16914
|
["refund", "true", "flags.3?true"],
|
|
16915
|
+
["pending", "true", "flags.4?true"],
|
|
16916
|
+
["failed", "true", "flags.6?true"],
|
|
16885
16917
|
["id", "string", "string"],
|
|
16886
16918
|
["stars", "bigint", "long"],
|
|
16887
16919
|
["date", "number", "int"],
|
|
@@ -16889,6 +16921,11 @@ const types = new Map([
|
|
|
16889
16921
|
["title", "string", "flags.0?string"],
|
|
16890
16922
|
["description", "string", "flags.1?string"],
|
|
16891
16923
|
["photo", "WebDocument", "flags.2?WebDocument"],
|
|
16924
|
+
["transaction_date", "number", "flags.5?int"],
|
|
16925
|
+
["transaction_url", "string", "flags.5?string"],
|
|
16926
|
+
["bot_payload", Uint8Array, "flags.7?bytes"],
|
|
16927
|
+
["msg_id", "number", "flags.8?int"],
|
|
16928
|
+
["extended_media", ["MessageMedia"], "flags.9?Vector<MessageMedia>"],
|
|
16892
16929
|
],
|
|
16893
16930
|
],
|
|
16894
16931
|
],
|
|
@@ -16906,6 +16943,97 @@ const types = new Map([
|
|
|
16906
16943
|
],
|
|
16907
16944
|
],
|
|
16908
16945
|
],
|
|
16946
|
+
[
|
|
16947
|
+
"foundStory",
|
|
16948
|
+
[
|
|
16949
|
+
0xE87ACBC0,
|
|
16950
|
+
[
|
|
16951
|
+
["peer", "Peer", "Peer"],
|
|
16952
|
+
["story", "StoryItem", "StoryItem"],
|
|
16953
|
+
],
|
|
16954
|
+
],
|
|
16955
|
+
],
|
|
16956
|
+
[
|
|
16957
|
+
"stories.foundStories",
|
|
16958
|
+
[
|
|
16959
|
+
0xE2DE7737,
|
|
16960
|
+
[
|
|
16961
|
+
["flags", flags, "#"],
|
|
16962
|
+
["count", "number", "int"],
|
|
16963
|
+
["stories", ["FoundStory"], "Vector<FoundStory>"],
|
|
16964
|
+
["next_offset", "string", "flags.0?string"],
|
|
16965
|
+
["chats", ["Chat"], "Vector<Chat>"],
|
|
16966
|
+
["users", ["User"], "Vector<User>"],
|
|
16967
|
+
],
|
|
16968
|
+
],
|
|
16969
|
+
],
|
|
16970
|
+
[
|
|
16971
|
+
"geoPointAddress",
|
|
16972
|
+
[
|
|
16973
|
+
0xDE4C5D93,
|
|
16974
|
+
[
|
|
16975
|
+
["flags", flags, "#"],
|
|
16976
|
+
["country_iso2", "string", "string"],
|
|
16977
|
+
["state", "string", "flags.0?string"],
|
|
16978
|
+
["city", "string", "flags.1?string"],
|
|
16979
|
+
["street", "string", "flags.2?string"],
|
|
16980
|
+
],
|
|
16981
|
+
],
|
|
16982
|
+
],
|
|
16983
|
+
[
|
|
16984
|
+
"starsRevenueStatus",
|
|
16985
|
+
[
|
|
16986
|
+
0x79342946,
|
|
16987
|
+
[
|
|
16988
|
+
["flags", flags, "#"],
|
|
16989
|
+
["withdrawal_enabled", "true", "flags.0?true"],
|
|
16990
|
+
["current_balance", "bigint", "long"],
|
|
16991
|
+
["available_balance", "bigint", "long"],
|
|
16992
|
+
["overall_revenue", "bigint", "long"],
|
|
16993
|
+
["next_withdrawal_at", "number", "flags.1?int"],
|
|
16994
|
+
],
|
|
16995
|
+
],
|
|
16996
|
+
],
|
|
16997
|
+
[
|
|
16998
|
+
"payments.starsRevenueStats",
|
|
16999
|
+
[
|
|
17000
|
+
0xC92BB73B,
|
|
17001
|
+
[
|
|
17002
|
+
["revenue_graph", "StatsGraph", "StatsGraph"],
|
|
17003
|
+
["status", "StarsRevenueStatus", "StarsRevenueStatus"],
|
|
17004
|
+
["usd_rate", "number", "double"],
|
|
17005
|
+
],
|
|
17006
|
+
],
|
|
17007
|
+
],
|
|
17008
|
+
[
|
|
17009
|
+
"payments.starsRevenueWithdrawalUrl",
|
|
17010
|
+
[
|
|
17011
|
+
0x1DAB80B7,
|
|
17012
|
+
[
|
|
17013
|
+
["url", "string", "string"],
|
|
17014
|
+
],
|
|
17015
|
+
],
|
|
17016
|
+
],
|
|
17017
|
+
[
|
|
17018
|
+
"payments.starsRevenueAdsAccountUrl",
|
|
17019
|
+
[
|
|
17020
|
+
0x394E7F21,
|
|
17021
|
+
[
|
|
17022
|
+
["url", "string", "string"],
|
|
17023
|
+
],
|
|
17024
|
+
],
|
|
17025
|
+
],
|
|
17026
|
+
[
|
|
17027
|
+
"inputStarsTransaction",
|
|
17028
|
+
[
|
|
17029
|
+
0x206AE6D1,
|
|
17030
|
+
[
|
|
17031
|
+
["flags", flags, "#"],
|
|
17032
|
+
["refund", "true", "flags.0?true"],
|
|
17033
|
+
["id", "string", "string"],
|
|
17034
|
+
],
|
|
17035
|
+
],
|
|
17036
|
+
],
|
|
16909
17037
|
[
|
|
16910
17038
|
"req_pq_multi",
|
|
16911
17039
|
[
|
|
@@ -19502,7 +19630,7 @@ const types = new Map([
|
|
|
19502
19630
|
[
|
|
19503
19631
|
"messages.saveDraft",
|
|
19504
19632
|
[
|
|
19505
|
-
|
|
19633
|
+
0xD372C5CE,
|
|
19506
19634
|
[
|
|
19507
19635
|
["flags", flags, "#"],
|
|
19508
19636
|
["no_webpage", "true", "flags.1?true"],
|
|
@@ -19512,6 +19640,7 @@ const types = new Map([
|
|
|
19512
19640
|
["message", "string", "string"],
|
|
19513
19641
|
["entities", ["MessageEntity"], "flags.3?Vector<MessageEntity>"],
|
|
19514
19642
|
["media", "InputMedia", "flags.5?InputMedia"],
|
|
19643
|
+
["effect", "bigint", "flags.7?long"],
|
|
19515
19644
|
],
|
|
19516
19645
|
],
|
|
19517
19646
|
],
|
|
@@ -20613,6 +20742,7 @@ const types = new Map([
|
|
|
20613
20742
|
["flags", flags, "#"],
|
|
20614
20743
|
["from_bot_menu", "true", "flags.4?true"],
|
|
20615
20744
|
["silent", "true", "flags.5?true"],
|
|
20745
|
+
["compact", "true", "flags.7?true"],
|
|
20616
20746
|
["peer", "InputPeer", "InputPeer"],
|
|
20617
20747
|
["bot", "InputUser", "InputUser"],
|
|
20618
20748
|
["url", "string", "flags.1?string"],
|
|
@@ -20642,11 +20772,12 @@ const types = new Map([
|
|
|
20642
20772
|
[
|
|
20643
20773
|
"messages.requestSimpleWebView",
|
|
20644
20774
|
[
|
|
20645
|
-
|
|
20775
|
+
0x413A3E73,
|
|
20646
20776
|
[
|
|
20647
20777
|
["flags", flags, "#"],
|
|
20648
20778
|
["from_switch_webview", "true", "flags.1?true"],
|
|
20649
20779
|
["from_side_menu", "true", "flags.2?true"],
|
|
20780
|
+
["compact", "true", "flags.7?true"],
|
|
20650
20781
|
["bot", "InputUser", "InputUser"],
|
|
20651
20782
|
["url", "string", "flags.3?string"],
|
|
20652
20783
|
["start_param", "string", "flags.4?string"],
|
|
@@ -20863,10 +20994,11 @@ const types = new Map([
|
|
|
20863
20994
|
[
|
|
20864
20995
|
"messages.requestAppWebView",
|
|
20865
20996
|
[
|
|
20866
|
-
|
|
20997
|
+
0x53618BCE,
|
|
20867
20998
|
[
|
|
20868
20999
|
["flags", flags, "#"],
|
|
20869
21000
|
["write_allowed", "true", "flags.0?true"],
|
|
21001
|
+
["compact", "true", "flags.7?true"],
|
|
20870
21002
|
["peer", "InputPeer", "InputPeer"],
|
|
20871
21003
|
["app", "InputBotApp", "InputBotApp"],
|
|
20872
21004
|
["start_param", "string", "flags.1?string"],
|
|
@@ -22599,13 +22731,15 @@ const types = new Map([
|
|
|
22599
22731
|
[
|
|
22600
22732
|
"payments.getStarsTransactions",
|
|
22601
22733
|
[
|
|
22602
|
-
|
|
22734
|
+
0x97938D5A,
|
|
22603
22735
|
[
|
|
22604
22736
|
["flags", flags, "#"],
|
|
22605
22737
|
["inbound", "true", "flags.0?true"],
|
|
22606
22738
|
["outbound", "true", "flags.1?true"],
|
|
22739
|
+
["ascending", "true", "flags.2?true"],
|
|
22607
22740
|
["peer", "InputPeer", "InputPeer"],
|
|
22608
22741
|
["offset", "string", "string"],
|
|
22742
|
+
["limit", "number", "int"],
|
|
22609
22743
|
],
|
|
22610
22744
|
],
|
|
22611
22745
|
],
|
|
@@ -22630,6 +22764,47 @@ const types = new Map([
|
|
|
22630
22764
|
],
|
|
22631
22765
|
],
|
|
22632
22766
|
],
|
|
22767
|
+
[
|
|
22768
|
+
"payments.getStarsRevenueStats",
|
|
22769
|
+
[
|
|
22770
|
+
0xD91FFAD6,
|
|
22771
|
+
[
|
|
22772
|
+
["flags", flags, "#"],
|
|
22773
|
+
["dark", "true", "flags.0?true"],
|
|
22774
|
+
["peer", "InputPeer", "InputPeer"],
|
|
22775
|
+
],
|
|
22776
|
+
],
|
|
22777
|
+
],
|
|
22778
|
+
[
|
|
22779
|
+
"payments.getStarsRevenueWithdrawalUrl",
|
|
22780
|
+
[
|
|
22781
|
+
0x13BBE8B3,
|
|
22782
|
+
[
|
|
22783
|
+
["peer", "InputPeer", "InputPeer"],
|
|
22784
|
+
["stars", "bigint", "long"],
|
|
22785
|
+
["password", "InputCheckPasswordSRP", "InputCheckPasswordSRP"],
|
|
22786
|
+
],
|
|
22787
|
+
],
|
|
22788
|
+
],
|
|
22789
|
+
[
|
|
22790
|
+
"payments.getStarsRevenueAdsAccountUrl",
|
|
22791
|
+
[
|
|
22792
|
+
0xD1D7EFC5,
|
|
22793
|
+
[
|
|
22794
|
+
["peer", "InputPeer", "InputPeer"],
|
|
22795
|
+
],
|
|
22796
|
+
],
|
|
22797
|
+
],
|
|
22798
|
+
[
|
|
22799
|
+
"payments.getStarsTransactionsByID",
|
|
22800
|
+
[
|
|
22801
|
+
0x27842D2E,
|
|
22802
|
+
[
|
|
22803
|
+
["peer", "InputPeer", "InputPeer"],
|
|
22804
|
+
["id", ["InputStarsTransaction"], "Vector<InputStarsTransaction>"],
|
|
22805
|
+
],
|
|
22806
|
+
],
|
|
22807
|
+
],
|
|
22633
22808
|
[
|
|
22634
22809
|
"stickers.createStickerSet",
|
|
22635
22810
|
[
|
|
@@ -23653,6 +23828,19 @@ const types = new Map([
|
|
|
23653
23828
|
],
|
|
23654
23829
|
],
|
|
23655
23830
|
],
|
|
23831
|
+
[
|
|
23832
|
+
"stories.searchPosts",
|
|
23833
|
+
[
|
|
23834
|
+
0x6CEA116A,
|
|
23835
|
+
[
|
|
23836
|
+
["flags", flags, "#"],
|
|
23837
|
+
["hashtag", "string", "flags.0?string"],
|
|
23838
|
+
["area", "MediaArea", "flags.1?MediaArea"],
|
|
23839
|
+
["offset", "string", "string"],
|
|
23840
|
+
["limit", "number", "int"],
|
|
23841
|
+
],
|
|
23842
|
+
],
|
|
23843
|
+
],
|
|
23656
23844
|
[
|
|
23657
23845
|
"premium.getBoostsList",
|
|
23658
23846
|
[
|