@mtcute/tl 166.0.0 → 166.1.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.
- package/README.md +1 -1
- package/api-schema.json +1 -1
- package/binary/reader.js +27 -26
- package/binary/writer.js +39 -37
- package/index.d.ts +1406 -197
- package/index.js +2 -2
- package/package.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -39,6 +39,7 @@ var m={
|
|
|
39
39
|
261416433:function(r){var flags=r.uint();return{_:'inputMediaPoll',poll:r.object(),correctAnswers:flags&1?r.vector(r.bytes):void 0,solution:flags&2?r.string():void 0,solutionEntities:flags&2?r.vector(r.object):void 0,}},
|
|
40
40
|
3866083195:function(r){return{_:'inputMediaDice',emoticon:r.string(),}},
|
|
41
41
|
2315114360:function(r){return{_:'inputMediaStory',peer:r.object(),id:r.int(),}},
|
|
42
|
+
3256584265:function(r){var flags=r.uint();return{_:'inputMediaWebPage',forceLargeMedia:!!(flags&1),forceSmallMedia:!!(flags&2),optional:!!(flags&4),url:r.string(),}},
|
|
42
43
|
480546647:function(r){return{_:'inputChatPhotoEmpty'}},
|
|
43
44
|
3184373440:function(r){var flags=r.uint();return{_:'inputChatUploadedPhoto',file:flags&1?r.object():void 0,video:flags&2?r.object():void 0,videoStartTs:flags&4?r.double():void 0,videoEmojiMarkup:flags&8?r.object():void 0,}},
|
|
44
45
|
2303962423:function(r){return{_:'inputChatPhoto',id:r.object(),}},
|
|
@@ -94,7 +95,7 @@ var m={
|
|
|
94
95
|
935395612:function(r){return{_:'chatPhotoEmpty'}},
|
|
95
96
|
476978193:function(r){var flags=r.uint();return{_:'chatPhoto',hasVideo:!!(flags&1),photoId:r.long(),strippedThumb:flags&2?r.bytes():void 0,dcId:r.int(),}},
|
|
96
97
|
2426849924:function(r){var flags=r.uint();return{_:'messageEmpty',id:r.int(),peerId:flags&1?r.object():void 0,}},
|
|
97
|
-
940666592:function(r){var flags=r.uint();return{_:'message',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),silent:!!(flags&8192),post:!!(flags&16384),fromScheduled:!!(flags&262144),legacy:!!(flags&524288),editHide:!!(flags&2097152),pinned:!!(flags&16777216),noforwards:!!(flags&67108864),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),fwdFrom:flags&4?r.object():void 0,viaBotId:flags&2048?r.int53():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),message:r.string(),media:flags&512?r.object():void 0,replyMarkup:flags&64?r.object():void 0,entities:flags&128?r.vector(r.object):void 0,views:flags&1024?r.int():void 0,forwards:flags&1024?r.int():void 0,replies:flags&8388608?r.object():void 0,editDate:flags&32768?r.int():void 0,postAuthor:flags&65536?r.string():void 0,groupedId:flags&131072?r.long():void 0,reactions:flags&1048576?r.object():void 0,restrictionReason:flags&4194304?r.vector(r.object):void 0,ttlPeriod:flags&33554432?r.int():void 0,
|
|
98
|
+
940666592:function(r){var flags=r.uint();return{_:'message',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),silent:!!(flags&8192),post:!!(flags&16384),fromScheduled:!!(flags&262144),legacy:!!(flags&524288),editHide:!!(flags&2097152),pinned:!!(flags&16777216),noforwards:!!(flags&67108864),invertMedia:!!(flags&134217728),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),fwdFrom:flags&4?r.object():void 0,viaBotId:flags&2048?r.int53():void 0,replyTo:flags&8?r.object():void 0,date:r.int(),message:r.string(),media:flags&512?r.object():void 0,replyMarkup:flags&64?r.object():void 0,entities:flags&128?r.vector(r.object):void 0,views:flags&1024?r.int():void 0,forwards:flags&1024?r.int():void 0,replies:flags&8388608?r.object():void 0,editDate:flags&32768?r.int():void 0,postAuthor:flags&65536?r.string():void 0,groupedId:flags&131072?r.long():void 0,reactions:flags&1048576?r.object():void 0,restrictionReason:flags&4194304?r.vector(r.object):void 0,ttlPeriod:flags&33554432?r.int():void 0,}},
|
|
98
99
|
721967202:function(r){var flags=r.uint();return{_:'messageService',out:!!(flags&2),mentioned:!!(flags&16),mediaUnread:!!(flags&32),silent:!!(flags&8192),post:!!(flags&16384),legacy:!!(flags&524288),id:r.int(),fromId:flags&256?r.object():void 0,peerId:r.object(),replyTo:flags&8?r.object():void 0,date:r.int(),action:r.object(),ttlPeriod:flags&33554432?r.int():void 0,}},
|
|
99
100
|
1038967584:function(r){return{_:'messageMediaEmpty'}},
|
|
100
101
|
1766936791:function(r){var flags=r.uint();return{_:'messageMediaPhoto',spoiler:!!(flags&8),photo:flags&1?r.object():void 0,ttlSeconds:flags&4?r.int():void 0,}},
|
|
@@ -110,6 +111,7 @@ var m={
|
|
|
110
111
|
1272375192:function(r){return{_:'messageMediaPoll',poll:r.object(),results:r.object(),}},
|
|
111
112
|
1065280907:function(r){return{_:'messageMediaDice',value:r.int(),emoticon:r.string(),}},
|
|
112
113
|
1758159491:function(r){var flags=r.uint();return{_:'messageMediaStory',viaMention:!!(flags&2),peer:r.object(),id:r.int(),story:flags&1?r.object():void 0,}},
|
|
114
|
+
1478887012:function(r){var flags=r.uint();return{_:'messageMediaGiveaway',onlyNewSubscribers:!!(flags&1),channels:r.vector(r.long),countriesIso2:flags&2?r.vector(r.string):void 0,quantity:r.int(),months:r.int(),untilDate:r.int(),}},
|
|
113
115
|
3064919984:function(r){return{_:'messageActionEmpty'}},
|
|
114
116
|
3175599021:function(r){return{_:'messageActionChatCreate',title:r.string(),users:r.vector(r.int53),}},
|
|
115
117
|
3047280218:function(r){return{_:'messageActionChatEditTitle',title:r.string(),}},
|
|
@@ -149,7 +151,9 @@ var m={
|
|
|
149
151
|
4269225053:function(r){return{_:'messageActionRequestedPeer',buttonId:r.int(),peer:r.object(),}},
|
|
150
152
|
3158616359:function(r){return{_:'messageActionSetChatWallPaper',wallpaper:r.object(),}},
|
|
151
153
|
3229121901:function(r){return{_:'messageActionSetSameChatWallPaper',wallpaper:r.object(),}},
|
|
152
|
-
|
|
154
|
+
3536837390:function(r){var flags=r.uint();return{_:'messageActionGiftCode',viaGiveaway:!!(flags&1),unclaimed:!!(flags&4),boostPeer:flags&2?r.object():void 0,months:r.int(),slug:r.string(),}},
|
|
155
|
+
858499565:function(r){return{_:'messageActionGiveawayLaunch'}},
|
|
156
|
+
3582593222:function(r){var flags=r.uint();return{_:'dialog',pinned:!!(flags&4),unreadMark:!!(flags&8),peer:r.object(),topMessage:r.int(),readInboxMaxId:r.int(),readOutboxMaxId:r.int(),unreadCount:r.int(),unreadMentionsCount:r.int(),unreadReactionsCount:r.int(),notifySettings:r.object(),pts:flags&1?r.int():void 0,draft:flags&2?r.object():void 0,folderId:flags&16?r.int():void 0,ttlPeriod:flags&32?r.int():void 0,viewForumAsMessages:!!(flags&64),}},
|
|
153
157
|
1908216652:function(r){var flags=r.uint();return{_:'dialogFolder',pinned:!!(flags&4),folder:r.object(),peer:r.object(),topMessage:r.int(),unreadMutedPeersCount:r.int(),unreadUnmutedPeersCount:r.int(),unreadMutedMessagesCount:r.int(),unreadUnmutedMessagesCount:r.int(),}},
|
|
154
158
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
155
159
|
4212750949:function(r){var flags=r.uint();return{_:'photo',hasStickers:!!(flags&1),id:r.long(),accessHash:r.long(),fileReference:r.bytes(),date:r.int(),sizes:r.vector(r.object),videoSizes:flags&2?r.vector(r.object):void 0,dcId:r.int(),}},
|
|
@@ -240,7 +244,7 @@ var m={
|
|
|
240
244
|
3811523959:function(r){return{_:'updateChatParticipantDelete',chatId:r.int53(),userId:r.int53(),version:r.int(),}},
|
|
241
245
|
2388564083:function(r){return{_:'updateDcOptions',dcOptions:r.vector(r.object),}},
|
|
242
246
|
3200411887:function(r){return{_:'updateNotifySettings',peer:r.object(),notifySettings:r.object(),}},
|
|
243
|
-
3957614617:function(r){var flags=r.uint();return{_:'updateServiceNotification',popup:!!(flags&1),inboxDate:flags&2?r.int():void 0,
|
|
247
|
+
3957614617:function(r){var flags=r.uint();return{_:'updateServiceNotification',popup:!!(flags&1),invertMedia:!!(flags&4),inboxDate:flags&2?r.int():void 0,type:r.string(),message:r.string(),media:r.object(),entities:r.vector(r.object),}},
|
|
244
248
|
3996854058:function(r){return{_:'updatePrivacy',key:r.object(),rules:r.vector(r.object),}},
|
|
245
249
|
88680979:function(r){return{_:'updateUserPhone',userId:r.int53(),phone:r.string(),}},
|
|
246
250
|
2627162079:function(r){var flags=r.uint();return{_:'updateReadHistoryInbox',folderId:flags&1?r.int():void 0,peer:r.object(),maxId:r.int(),stillUnreadCount:r.int(),pts:r.int(),ptsCount:r.int(),}},
|
|
@@ -340,6 +344,7 @@ var m={
|
|
|
340
344
|
468923833:function(r){return{_:'updateStoryID',id:r.int(),randomId:r.long(),}},
|
|
341
345
|
738741697:function(r){return{_:'updateStoriesStealthMode',stealthMode:r.object(),}},
|
|
342
346
|
2103604867:function(r){return{_:'updateSentStoryReaction',peer:r.object(),storyId:r.int(),reaction:r.object(),}},
|
|
347
|
+
2421019804:function(r){return{_:'updateBotChatBoost',peer:r.object(),boost:r.object(),qts:r.int(),}},
|
|
343
348
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
344
349
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
345
350
|
16030880:function(r){return{_:'updates.difference',newMessages:r.vector(r.object),newEncryptedMessages:r.vector(r.object),otherUpdates:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),state:r.object(),}},
|
|
@@ -466,7 +471,7 @@ var m={
|
|
|
466
471
|
2228326789:function(r){return{_:'messages.affectedMessages',pts:r.int(),ptsCount:r.int(),}},
|
|
467
472
|
555358088:function(r){var flags=r.uint();return{_:'webPageEmpty',id:r.long(),url:flags&1?r.string():void 0,}},
|
|
468
473
|
2966502983:function(r){var flags=r.uint();return{_:'webPagePending',id:r.long(),url:flags&1?r.string():void 0,date:r.int(),}},
|
|
469
|
-
3902555570:function(r){var flags=r.uint();return{_:'webPage',id:r.long(),url:r.string(),displayUrl:r.string(),hash:r.int(),type:flags&1?r.string():void 0,siteName:flags&2?r.string():void 0,title:flags&4?r.string():void 0,description:flags&8?r.string():void 0,photo:flags&16?r.object():void 0,embedUrl:flags&32?r.string():void 0,embedType:flags&32?r.string():void 0,embedWidth:flags&64?r.int():void 0,embedHeight:flags&64?r.int():void 0,duration:flags&128?r.int():void 0,author:flags&256?r.string():void 0,document:flags&512?r.object():void 0,cachedPage:flags&1024?r.object():void 0,attributes:flags&4096?r.vector(r.object):void 0,
|
|
474
|
+
3902555570:function(r){var flags=r.uint();return{_:'webPage',hasLargeMedia:!!(flags&8192),id:r.long(),url:r.string(),displayUrl:r.string(),hash:r.int(),type:flags&1?r.string():void 0,siteName:flags&2?r.string():void 0,title:flags&4?r.string():void 0,description:flags&8?r.string():void 0,photo:flags&16?r.object():void 0,embedUrl:flags&32?r.string():void 0,embedType:flags&32?r.string():void 0,embedWidth:flags&64?r.int():void 0,embedHeight:flags&64?r.int():void 0,duration:flags&128?r.int():void 0,author:flags&256?r.string():void 0,document:flags&512?r.object():void 0,cachedPage:flags&1024?r.object():void 0,attributes:flags&4096?r.vector(r.object):void 0,}},
|
|
470
475
|
1930545681:function(r){var flags=r.uint();return{_:'webPageNotModified',cachedPageViews:flags&1?r.int():void 0,}},
|
|
471
476
|
2902578717:function(r){var flags=r.uint();return{_:'authorization',current:!!(flags&1),officialApp:!!(flags&2),passwordPending:!!(flags&4),encryptedRequestsDisabled:!!(flags&8),callRequestsDisabled:!!(flags&16),unconfirmed:!!(flags&32),hash:r.long(),deviceModel:r.string(),platform:r.string(),systemVersion:r.string(),apiId:r.int(),appName:r.string(),appVersion:r.string(),dateCreated:r.int(),dateActive:r.int(),ip:r.string(),country:r.string(),region:r.string(),}},
|
|
472
477
|
1275039392:function(r){return{_:'account.authorizations',authorizationTtlDays:r.int(),authorizations:r.vector(r.object),}},
|
|
@@ -490,7 +495,7 @@ var m={
|
|
|
490
495
|
80008398:function(r){return{_:'inputStickerSetEmojiGenericAnimations'}},
|
|
491
496
|
701560302:function(r){return{_:'inputStickerSetEmojiDefaultStatuses'}},
|
|
492
497
|
1153562857:function(r){return{_:'inputStickerSetEmojiDefaultTopicIcons'}},
|
|
493
|
-
768691932:function(r){var flags=r.uint();return{_:'stickerSet',archived:!!(flags&2),official:!!(flags&4),masks:!!(flags&8),animated:!!(flags&32),videos:!!(flags&64),emojis:!!(flags&128),installedDate:flags&1?r.int():void 0,id:r.long(),accessHash:r.long(),title:r.string(),shortName:r.string(),thumbs:flags&16?r.vector(r.object):void 0,thumbDcId:flags&16?r.int():void 0,thumbVersion:flags&16?r.int():void 0,thumbDocumentId:flags&256?r.long():void 0,
|
|
498
|
+
768691932:function(r){var flags=r.uint();return{_:'stickerSet',archived:!!(flags&2),official:!!(flags&4),masks:!!(flags&8),animated:!!(flags&32),videos:!!(flags&64),emojis:!!(flags&128),textColor:!!(flags&512),installedDate:flags&1?r.int():void 0,id:r.long(),accessHash:r.long(),title:r.string(),shortName:r.string(),thumbs:flags&16?r.vector(r.object):void 0,thumbDcId:flags&16?r.int():void 0,thumbVersion:flags&16?r.int():void 0,thumbDocumentId:flags&256?r.long():void 0,count:r.int(),hash:r.int(),}},
|
|
494
499
|
1846886166:function(r){return{_:'messages.stickerSet',set:r.object(),packs:r.vector(r.object),keywords:r.vector(r.object),documents:r.vector(r.object),}},
|
|
495
500
|
3556320491:function(r){return{_:'messages.stickerSetNotModified'}},
|
|
496
501
|
3262826695:function(r){return{_:'botCommand',command:r.string(),description:r.string(),}},
|
|
@@ -533,10 +538,10 @@ var m={
|
|
|
533
538
|
1280209983:function(r){return{_:'messageEntityCashtag',offset:r.int(),length:r.int(),}},
|
|
534
539
|
2622389899:function(r){return{_:'messageEntityUnderline',offset:r.int(),length:r.int(),}},
|
|
535
540
|
3204879316:function(r){return{_:'messageEntityStrike',offset:r.int(),length:r.int(),}},
|
|
536
|
-
34469328:function(r){return{_:'messageEntityBlockquote',offset:r.int(),length:r.int(),}},
|
|
537
541
|
1981704948:function(r){return{_:'messageEntityBankCard',offset:r.int(),length:r.int(),}},
|
|
538
542
|
852137487:function(r){return{_:'messageEntitySpoiler',offset:r.int(),length:r.int(),}},
|
|
539
543
|
3369010680:function(r){return{_:'messageEntityCustomEmoji',offset:r.int(),length:r.int(),documentId:r.long(),}},
|
|
544
|
+
34469328:function(r){return{_:'messageEntityBlockquote',offset:r.int(),length:r.int(),}},
|
|
540
545
|
4002160262:function(r){return{_:'inputChannelEmpty'}},
|
|
541
546
|
4082822184:function(r){return{_:'inputChannel',channelId:r.int53(),accessHash:r.long(),}},
|
|
542
547
|
1536380829:function(r){return{_:'inputChannelFromMessage',peer:r.object(),msgId:r.int(),channelId:r.int53(),}},
|
|
@@ -567,23 +572,25 @@ var m={
|
|
|
567
572
|
2013922064:function(r){var flags=r.uint();return{_:'help.termsOfService',popup:!!(flags&1),id:r.object(),text:r.string(),entities:r.vector(r.object),minAgeConfirm:flags&2?r.int():void 0,}},
|
|
568
573
|
3892468898:function(r){return{_:'messages.savedGifsNotModified'}},
|
|
569
574
|
2225089037:function(r){return{_:'messages.savedGifs',hash:r.long(),gifs:r.vector(r.object),}},
|
|
570
|
-
864077702:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaAuto',message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,
|
|
571
|
-
1036876423:function(r){var flags=r.uint();return{_:'inputBotInlineMessageText',noWebpage:!!(flags&1),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,
|
|
575
|
+
864077702:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaAuto',invertMedia:!!(flags&8),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
576
|
+
1036876423:function(r){var flags=r.uint();return{_:'inputBotInlineMessageText',noWebpage:!!(flags&1),invertMedia:!!(flags&8),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
572
577
|
2526190213:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaGeo',geoPoint:r.object(),heading:flags&1?r.int():void 0,period:flags&2?r.int():void 0,proximityNotificationRadius:flags&8?r.int():void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
573
578
|
1098628881:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaVenue',geoPoint:r.object(),title:r.string(),address:r.string(),provider:r.string(),venueId:r.string(),venueType:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
574
579
|
2800599037:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaContact',phoneNumber:r.string(),firstName:r.string(),lastName:r.string(),vcard:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
575
580
|
1262639204:function(r){var flags=r.uint();return{_:'inputBotInlineMessageGame',replyMarkup:flags&4?r.object():void 0,}},
|
|
576
581
|
3622273573:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaInvoice',title:r.string(),description:r.string(),photo:flags&1?r.object():void 0,invoice:r.object(),payload:r.bytes(),provider:r.string(),providerData:r.object(),replyMarkup:flags&4?r.object():void 0,}},
|
|
582
|
+
3185362192:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaWebPage',invertMedia:!!(flags&8),forceLargeMedia:!!(flags&16),forceSmallMedia:!!(flags&32),optional:!!(flags&64),message:r.string(),entities:flags&2?r.vector(r.object):void 0,url:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
577
583
|
2294256409:function(r){var flags=r.uint();return{_:'inputBotInlineResult',id:r.string(),type:r.string(),title:flags&2?r.string():void 0,description:flags&4?r.string():void 0,url:flags&8?r.string():void 0,thumb:flags&16?r.object():void 0,content:flags&32?r.object():void 0,sendMessage:r.object(),}},
|
|
578
584
|
2832753831:function(r){return{_:'inputBotInlineResultPhoto',id:r.string(),type:r.string(),photo:r.object(),sendMessage:r.object(),}},
|
|
579
585
|
4294507972:function(r){var flags=r.uint();return{_:'inputBotInlineResultDocument',id:r.string(),type:r.string(),title:flags&2?r.string():void 0,description:flags&4?r.string():void 0,document:r.object(),sendMessage:r.object(),}},
|
|
580
586
|
1336154098:function(r){return{_:'inputBotInlineResultGame',id:r.string(),shortName:r.string(),sendMessage:r.object(),}},
|
|
581
|
-
1984755728:function(r){var flags=r.uint();return{_:'botInlineMessageMediaAuto',message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,
|
|
582
|
-
2357159394:function(r){var flags=r.uint();return{_:'botInlineMessageText',noWebpage:!!(flags&1),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,
|
|
587
|
+
1984755728:function(r){var flags=r.uint();return{_:'botInlineMessageMediaAuto',invertMedia:!!(flags&8),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
588
|
+
2357159394:function(r){var flags=r.uint();return{_:'botInlineMessageText',noWebpage:!!(flags&1),invertMedia:!!(flags&8),message:r.string(),entities:flags&2?r.vector(r.object):void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
583
589
|
85477117:function(r){var flags=r.uint();return{_:'botInlineMessageMediaGeo',geo:r.object(),heading:flags&1?r.int():void 0,period:flags&2?r.int():void 0,proximityNotificationRadius:flags&8?r.int():void 0,replyMarkup:flags&4?r.object():void 0,}},
|
|
584
590
|
2324063644:function(r){var flags=r.uint();return{_:'botInlineMessageMediaVenue',geo:r.object(),title:r.string(),address:r.string(),provider:r.string(),venueId:r.string(),venueType:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
585
591
|
416402882:function(r){var flags=r.uint();return{_:'botInlineMessageMediaContact',phoneNumber:r.string(),firstName:r.string(),lastName:r.string(),vcard:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
586
592
|
894081801:function(r){var flags=r.uint();return{_:'botInlineMessageMediaInvoice',shippingAddressRequested:!!(flags&2),test:!!(flags&8),title:r.string(),description:r.string(),photo:flags&1?r.object():void 0,currency:r.string(),totalAmount:r.long(),replyMarkup:flags&4?r.object():void 0,}},
|
|
593
|
+
2157631910:function(r){var flags=r.uint();return{_:'botInlineMessageMediaWebPage',invertMedia:!!(flags&8),forceLargeMedia:!!(flags&16),forceSmallMedia:!!(flags&32),manual:!!(flags&128),safe:!!(flags&256),message:r.string(),entities:flags&2?r.vector(r.object):void 0,url:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
587
594
|
295067450:function(r){var flags=r.uint();return{_:'botInlineResult',id:r.string(),type:r.string(),title:flags&2?r.string():void 0,description:flags&4?r.string():void 0,url:flags&8?r.string():void 0,thumb:flags&16?r.object():void 0,content:flags&32?r.object():void 0,sendMessage:r.object(),}},
|
|
588
595
|
400266251:function(r){var flags=r.uint();return{_:'botInlineMediaResult',id:r.string(),type:r.string(),photo:flags&1?r.object():void 0,document:flags&2?r.object():void 0,title:flags&4?r.string():void 0,description:flags&8?r.string():void 0,sendMessage:r.object(),}},
|
|
589
596
|
3760321270:function(r){var flags=r.uint();return{_:'messages.botResults',gallery:!!(flags&1),queryId:r.long(),nextOffset:flags&2?r.string():void 0,switchPm:flags&4?r.object():void 0,switchWebview:flags&8?r.object():void 0,results:r.vector(r.object),cacheTime:r.int(),users:r.vector(r.object),}},
|
|
@@ -782,6 +789,8 @@ var m={
|
|
|
782
789
|
2920712457:function(r){return{_:'channelAdminLogEventActionDeleteTopic',topic:r.object(),}},
|
|
783
790
|
1569535291:function(r){var flags=r.uint();return{_:'channelAdminLogEventActionPinTopic',prevTopic:flags&1?r.object():void 0,newTopic:flags&2?r.object():void 0,}},
|
|
784
791
|
1693675004:function(r){return{_:'channelAdminLogEventActionToggleAntiSpam',newValue:r.boolean(),}},
|
|
792
|
+
1009460347:function(r){return{_:'channelAdminLogEventActionChangeColor',prevValue:r.int(),newValue:r.int(),}},
|
|
793
|
+
1147126836:function(r){return{_:'channelAdminLogEventActionChangeBackgroundEmoji',prevValue:r.long(),newValue:r.long(),}},
|
|
785
794
|
531458253:function(r){return{_:'channelAdminLogEvent',id:r.long(),date:r.int(),userId:r.int53(),action:r.object(),}},
|
|
786
795
|
3985307469:function(r){return{_:'channels.adminLogResults',events:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
787
796
|
3926948580:function(r){var flags=r.uint();return{_:'channelAdminLogEventsFilter',join:!!(flags&1),leave:!!(flags&2),invite:!!(flags&4),ban:!!(flags&8),unban:!!(flags&16),kick:!!(flags&32),unkick:!!(flags&64),promote:!!(flags&128),demote:!!(flags&256),info:!!(flags&512),settings:!!(flags&1024),pinned:!!(flags&2048),edit:!!(flags&4096),delete:!!(flags&8192),groupCall:!!(flags&16384),invites:!!(flags&32768),send:!!(flags&65536),forums:!!(flags&131072),}},
|
|
@@ -1058,11 +1067,14 @@ var m={
|
|
|
1058
1067
|
2080104188:function(r){return{_:'attachMenuPeerTypeBroadcast'}},
|
|
1059
1068
|
3317000281:function(r){return{_:'inputInvoiceMessage',peer:r.object(),msgId:r.int(),}},
|
|
1060
1069
|
3274099439:function(r){return{_:'inputInvoiceSlug',slug:r.string(),}},
|
|
1070
|
+
2560125965:function(r){return{_:'inputInvoicePremiumGiftCode',purpose:r.object(),option:r.object(),}},
|
|
1061
1071
|
2932919257:function(r){return{_:'payments.exportedInvoice',url:r.string(),}},
|
|
1062
1072
|
2473929810:function(r){var flags=r.uint();return{_:'messages.transcribedAudio',pending:!!(flags&1),transcriptionId:r.long(),text:r.string(),}},
|
|
1063
1073
|
1395946908:function(r){return{_:'help.premiumPromo',statusText:r.string(),statusEntities:r.vector(r.object),videoSections:r.vector(r.string),videos:r.vector(r.object),periodOptions:r.vector(r.object),users:r.vector(r.object),}},
|
|
1064
1074
|
2792693350:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumSubscription',restore:!!(flags&1),upgrade:!!(flags&2),}},
|
|
1065
1075
|
1634697192:function(r){return{_:'inputStorePaymentGiftPremium',userId:r.object(),currency:r.string(),amount:r.long(),}},
|
|
1076
|
+
2743099199:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiftCode',users:r.vector(r.object),boostPeer:flags&1?r.object():void 0,currency:r.string(),amount:r.long(),}},
|
|
1077
|
+
2090038758:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiveaway',onlyNewSubscribers:!!(flags&1),boostPeer:r.object(),additionalPeers:flags&2?r.vector(r.object):void 0,countriesIso2:flags&4?r.vector(r.string):void 0,randomId:r.long(),untilDate:r.int(),currency:r.string(),amount:r.long(),}},
|
|
1066
1078
|
1958953753:function(r){var flags=r.uint();return{_:'premiumGiftOption',months:r.int(),currency:r.string(),amount:r.long(),botUrl:r.string(),storeProduct:flags&1?r.string():void 0,}},
|
|
1067
1079
|
2298016283:function(r){return{_:'paymentFormMethod',url:r.string(),title:r.string(),}},
|
|
1068
1080
|
769727150:function(r){return{_:'emojiStatusEmpty'}},
|
|
@@ -1153,23 +1165,7 @@ var m={
|
|
|
1153
1165
|
340088945:function(r){var flags=r.uint();return{_:'mediaAreaSuggestedReaction',dark:!!(flags&1),flipped:!!(flags&2),coordinates:r.object(),reaction:r.object(),}},
|
|
1154
1166
|
2587224473:function(r){var flags=r.uint();return{_:'peerStories',peer:r.object(),maxReadId:flags&1?r.int():void 0,stories:r.vector(r.object),}},
|
|
1155
1167
|
3404105576:function(r){return{_:'stories.peerStories',stories:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1156
|
-
3854674524:function(r){var flags=r.uint();return{_:'stories.boostsStatus',myBoost:!!(flags&4),level:r.int(),currentLevelBoosts:r.int(),boosts:r.int(),nextLevelBoosts:flags&1?r.int():void 0,premiumAudience:flags&2?r.object():void 0,boostUrl:r.string(),}},
|
|
1157
|
-
3273078151:function(r){return{_:'stories.canApplyBoostOk'}},
|
|
1158
|
-
1898726997:function(r){return{_:'stories.canApplyBoostReplace',currentBoost:r.object(),chats:r.vector(r.object),}},
|
|
1159
|
-
245261184:function(r){return{_:'booster',userId:r.int53(),expires:r.int(),}},
|
|
1160
|
-
4091362589:function(r){var flags=r.uint();return{_:'stories.boostersList',count:r.int(),boosters:r.vector(r.object),nextOffset:flags&1?r.string():void 0,users:r.vector(r.object),}},
|
|
1161
1168
|
4250800829:function(r){return{_:'messages.webPage',webpage:r.object(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1162
|
-
3256584265:function(r){var flags=r.uint();return{_:'inputMediaWebPage',forceLargeMedia:!!(flags&1),forceSmallMedia:!!(flags&2),optional:!!(flags&4),url:r.string(),}},
|
|
1163
|
-
1478887012:function(r){var flags=r.uint();return{_:'messageMediaGiveaway',onlyNewSubscribers:!!(flags&1),channels:r.vector(r.long),countriesIso2:flags&2?r.vector(r.string):void 0,quantity:r.int(),months:r.int(),untilDate:r.int(),}},
|
|
1164
|
-
3536837390:function(r){var flags=r.uint();return{_:'messageActionGiftCode',viaGiveaway:!!(flags&1),unclaimed:!!(flags&4),boostPeer:flags&2?r.object():void 0,months:r.int(),slug:r.string(),}},
|
|
1165
|
-
858499565:function(r){return{_:'messageActionGiveawayLaunch'}},
|
|
1166
|
-
3185362192:function(r){var flags=r.uint();return{_:'inputBotInlineMessageMediaWebPage',invertMedia:!!(flags&8),forceLargeMedia:!!(flags&16),forceSmallMedia:!!(flags&32),optional:!!(flags&64),message:r.string(),entities:flags&2?r.vector(r.object):void 0,url:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
1167
|
-
2157631910:function(r){var flags=r.uint();return{_:'botInlineMessageMediaWebPage',invertMedia:!!(flags&8),forceLargeMedia:!!(flags&16),forceSmallMedia:!!(flags&32),manual:!!(flags&128),safe:!!(flags&256),message:r.string(),entities:flags&2?r.vector(r.object):void 0,url:r.string(),replyMarkup:flags&4?r.object():void 0,}},
|
|
1168
|
-
1009460347:function(r){return{_:'channelAdminLogEventActionChangeColor',prevValue:r.int(),newValue:r.int(),}},
|
|
1169
|
-
1147126836:function(r){return{_:'channelAdminLogEventActionChangeBackgroundEmoji',prevValue:r.long(),newValue:r.long(),}},
|
|
1170
|
-
2560125965:function(r){return{_:'inputInvoicePremiumGiftCode',purpose:r.object(),option:r.object(),}},
|
|
1171
|
-
2743099199:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiftCode',users:r.vector(r.object),boostPeer:flags&1?r.object():void 0,currency:r.string(),amount:r.long(),}},
|
|
1172
|
-
2090038758:function(r){var flags=r.uint();return{_:'inputStorePaymentPremiumGiveaway',onlyNewSubscribers:!!(flags&1),boostPeer:r.object(),additionalPeers:flags&2?r.vector(r.object):void 0,countriesIso2:flags&4?r.vector(r.string):void 0,randomId:r.long(),untilDate:r.int(),currency:r.string(),amount:r.long(),}},
|
|
1173
1169
|
629052971:function(r){var flags=r.uint();return{_:'premiumGiftCodeOption',users:r.int(),months:r.int(),storeProduct:flags&1?r.string():void 0,storeQuantity:flags&2?r.int():void 0,currency:r.string(),amount:r.long(),}},
|
|
1174
1170
|
3072520536:function(r){var flags=r.uint();return{_:'payments.checkedGiftCode',viaGiveaway:!!(flags&4),fromId:r.object(),giveawayMsgId:flags&8?r.int():void 0,toId:flags&1?r.long():void 0,date:r.int(),months:r.int(),usedDate:flags&2?r.int():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1175
1171
|
1130879648:function(r){var flags=r.uint();return{_:'payments.giveawayInfo',participating:!!(flags&1),preparingResults:!!(flags&8),startDate:r.int(),joinedTooEarlyDate:flags&2?r.int():void 0,adminDisallowedChatId:flags&4?r.long():void 0,disallowedCountry:flags&16?r.string():void 0,}},
|
|
@@ -1183,6 +1179,11 @@ var m={
|
|
|
1183
1179
|
886196148:function(r){return{_:'messageUserVote',userId:r.int53(),option:r.bytes(),date:r.int(),}},
|
|
1184
1180
|
1017491692:function(r){return{_:'messageUserVoteInputOption',userId:r.int53(),date:r.int(),}},
|
|
1185
1181
|
2321933655:function(r){return{_:'messageUserVoteMultiple',userId:r.int53(),options:r.vector(r.bytes),date:r.int(),}},
|
|
1182
|
+
1726619631:function(r){var flags=r.uint();return{_:'stories.boostsStatus',myBoost:!!(flags&4),level:r.int(),currentLevelBoosts:r.int(),boosts:r.int(),nextLevelBoosts:flags&1?r.int():void 0,premiumAudience:flags&2?r.object():void 0,}},
|
|
1183
|
+
3273078151:function(r){return{_:'stories.canApplyBoostOk'}},
|
|
1184
|
+
1898726997:function(r){return{_:'stories.canApplyBoostReplace',currentBoost:r.object(),chats:r.vector(r.object),}},
|
|
1185
|
+
245261184:function(r){return{_:'booster',userId:r.int53(),expires:r.int(),}},
|
|
1186
|
+
4091362589:function(r){var flags=r.uint();return{_:'stories.boostersList',count:r.int(),boosters:r.vector(r.object),nextOffset:flags&1?r.string():void 0,users:r.vector(r.object),}},
|
|
1186
1187
|
2952448754:function(r){return{_:'dummyUpdate',pts:r.int(),ptsCount:r.int(),channelId:r.int53(),}},
|
|
1187
1188
|
_results:{
|
|
1188
1189
|
'contacts.getContactIDs':function(r){return r.vector(r.int)},
|
package/binary/writer.js
CHANGED
|
@@ -40,6 +40,7 @@ var m={
|
|
|
40
40
|
'inputMediaPoll':function(w,v){w.uint(261416433);var flags=0;var _correctAnswers=v.correctAnswers&&v.correctAnswers.length;if(_correctAnswers)flags|=1;var _solution=v.solution!==undefined;var _solutionEntities=v.solutionEntities&&v.solutionEntities.length;var _flags_1=_solution||_solutionEntities;if(_flags_1)flags|=2;w.uint(flags);w.object(h(v,'poll'));if(_correctAnswers)w.vector(w.bytes,v.correctAnswers);if(_flags_1)w.string(v.solution);if(_flags_1)w.vector(w.object,v.solutionEntities);},
|
|
41
41
|
'inputMediaDice':function(w,v){w.uint(3866083195);w.string(h(v,'emoticon'));},
|
|
42
42
|
'inputMediaStory':function(w,v){w.uint(2315114360);w.object(h(v,'peer'));w.int(h(v,'id'));},
|
|
43
|
+
'inputMediaWebPage':function(w,v){w.uint(3256584265);var flags=0;if(v.forceLargeMedia===true)flags|=1;if(v.forceSmallMedia===true)flags|=2;if(v.optional===true)flags|=4;w.uint(flags);w.string(h(v,'url'));},
|
|
43
44
|
'inputChatPhotoEmpty':function(w){w.uint(480546647);},
|
|
44
45
|
'inputChatUploadedPhoto':function(w,v){w.uint(3184373440);var flags=0;var _file=v.file!==undefined;if(_file)flags|=1;var _video=v.video!==undefined;if(_video)flags|=2;var _videoStartTs=v.videoStartTs!==undefined;if(_videoStartTs)flags|=4;var _videoEmojiMarkup=v.videoEmojiMarkup!==undefined;if(_videoEmojiMarkup)flags|=8;w.uint(flags);if(_file)w.object(v.file);if(_video)w.object(v.video);if(_videoStartTs)w.double(v.videoStartTs);if(_videoEmojiMarkup)w.object(v.videoEmojiMarkup);},
|
|
45
46
|
'inputChatPhoto':function(w,v){w.uint(2303962423);w.object(h(v,'id'));},
|
|
@@ -111,6 +112,7 @@ var m={
|
|
|
111
112
|
'messageMediaPoll':function(w,v){w.uint(1272375192);w.object(h(v,'poll'));w.object(h(v,'results'));},
|
|
112
113
|
'messageMediaDice':function(w,v){w.uint(1065280907);w.int(h(v,'value'));w.string(h(v,'emoticon'));},
|
|
113
114
|
'messageMediaStory':function(w,v){w.uint(1758159491);var flags=0;var _story=v.story!==undefined;if(_story)flags|=1;if(v.viaMention===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_story)w.object(v.story);},
|
|
115
|
+
'messageMediaGiveaway':function(w,v){w.uint(1478887012);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=2;w.uint(flags);w.vector(w.long,h(v,'channels'));if(_countriesIso2)w.vector(w.string,v.countriesIso2);w.int(h(v,'quantity'));w.int(h(v,'months'));w.int(h(v,'untilDate'));},
|
|
114
116
|
'messageActionEmpty':function(w){w.uint(3064919984);},
|
|
115
117
|
'messageActionChatCreate':function(w,v){w.uint(3175599021);w.string(h(v,'title'));w.vector(w.int53,h(v,'users'));},
|
|
116
118
|
'messageActionChatEditTitle':function(w,v){w.uint(3047280218);w.string(h(v,'title'));},
|
|
@@ -150,7 +152,9 @@ var m={
|
|
|
150
152
|
'messageActionRequestedPeer':function(w,v){w.uint(4269225053);w.int(h(v,'buttonId'));w.object(h(v,'peer'));},
|
|
151
153
|
'messageActionSetChatWallPaper':function(w,v){w.uint(3158616359);w.object(h(v,'wallpaper'));},
|
|
152
154
|
'messageActionSetSameChatWallPaper':function(w,v){w.uint(3229121901);w.object(h(v,'wallpaper'));},
|
|
153
|
-
'
|
|
155
|
+
'messageActionGiftCode':function(w,v){w.uint(3536837390);var flags=0;if(v.viaGiveaway===true)flags|=1;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=2;if(v.unclaimed===true)flags|=4;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);w.int(h(v,'months'));w.string(h(v,'slug'));},
|
|
156
|
+
'messageActionGiveawayLaunch':function(w){w.uint(858499565);},
|
|
157
|
+
'dialog':function(w,v){w.uint(3582593222);var flags=0;var _pts=v.pts!==undefined;if(_pts)flags|=1;var _draft=v.draft!==undefined;if(_draft)flags|=2;if(v.pinned===true)flags|=4;if(v.unreadMark===true)flags|=8;var _folderId=v.folderId!==undefined;if(_folderId)flags|=16;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=32;if(v.viewForumAsMessages===true)flags|=64;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.int(h(v,'unreadMentionsCount'));w.int(h(v,'unreadReactionsCount'));w.object(h(v,'notifySettings'));if(_pts)w.int(v.pts);if(_draft)w.object(v.draft);if(_folderId)w.int(v.folderId);if(_ttlPeriod)w.int(v.ttlPeriod);},
|
|
154
158
|
'dialogFolder':function(w,v){w.uint(1908216652);var flags=0;if(v.pinned===true)flags|=4;w.uint(flags);w.object(h(v,'folder'));w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'unreadMutedPeersCount'));w.int(h(v,'unreadUnmutedPeersCount'));w.int(h(v,'unreadMutedMessagesCount'));w.int(h(v,'unreadUnmutedMessagesCount'));},
|
|
155
159
|
'photoEmpty':function(w,v){w.uint(590459437);w.long(h(v,'id'));},
|
|
156
160
|
'photo':function(w,v){w.uint(4212750949);var flags=0;if(v.hasStickers===true)flags|=1;var _videoSizes=v.videoSizes&&v.videoSizes.length;if(_videoSizes)flags|=2;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.bytes(h(v,'fileReference'));w.int(h(v,'date'));w.vector(w.object,h(v,'sizes'));if(_videoSizes)w.vector(w.object,v.videoSizes);w.int(h(v,'dcId'));},
|
|
@@ -341,6 +345,7 @@ var m={
|
|
|
341
345
|
'updateStoryID':function(w,v){w.uint(468923833);w.int(h(v,'id'));w.long(h(v,'randomId'));},
|
|
342
346
|
'updateStoriesStealthMode':function(w,v){w.uint(738741697);w.object(h(v,'stealthMode'));},
|
|
343
347
|
'updateSentStoryReaction':function(w,v){w.uint(2103604867);w.object(h(v,'peer'));w.int(h(v,'storyId'));w.object(h(v,'reaction'));},
|
|
348
|
+
'updateBotChatBoost':function(w,v){w.uint(2421019804);w.object(h(v,'peer'));w.object(h(v,'boost'));w.int(h(v,'qts'));},
|
|
344
349
|
'updates.state':function(w,v){w.uint(2775329342);w.int(h(v,'pts'));w.int(h(v,'qts'));w.int(h(v,'date'));w.int(h(v,'seq'));w.int(h(v,'unreadCount'));},
|
|
345
350
|
'updates.differenceEmpty':function(w,v){w.uint(1567990072);w.int(h(v,'date'));w.int(h(v,'seq'));},
|
|
346
351
|
'updates.difference':function(w,v){w.uint(16030880);w.vector(w.object,h(v,'newMessages'));w.vector(w.object,h(v,'newEncryptedMessages'));w.vector(w.object,h(v,'otherUpdates'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));w.object(h(v,'state'));},
|
|
@@ -534,10 +539,10 @@ var m={
|
|
|
534
539
|
'messageEntityCashtag':function(w,v){w.uint(1280209983);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
535
540
|
'messageEntityUnderline':function(w,v){w.uint(2622389899);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
536
541
|
'messageEntityStrike':function(w,v){w.uint(3204879316);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
537
|
-
'messageEntityBlockquote':function(w,v){w.uint(34469328);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
538
542
|
'messageEntityBankCard':function(w,v){w.uint(1981704948);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
539
543
|
'messageEntitySpoiler':function(w,v){w.uint(852137487);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
540
544
|
'messageEntityCustomEmoji':function(w,v){w.uint(3369010680);w.int(h(v,'offset'));w.int(h(v,'length'));w.long(h(v,'documentId'));},
|
|
545
|
+
'messageEntityBlockquote':function(w,v){w.uint(34469328);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
541
546
|
'inputChannelEmpty':function(w){w.uint(4002160262);},
|
|
542
547
|
'inputChannel':function(w,v){w.uint(4082822184);w.int53(h(v,'channelId'));w.long(h(v,'accessHash'));},
|
|
543
548
|
'inputChannelFromMessage':function(w,v){w.uint(1536380829);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int53(h(v,'channelId'));},
|
|
@@ -575,6 +580,7 @@ var m={
|
|
|
575
580
|
'inputBotInlineMessageMediaContact':function(w,v){w.uint(2800599037);var flags=0;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'firstName'));w.string(h(v,'lastName'));w.string(h(v,'vcard'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
576
581
|
'inputBotInlineMessageGame':function(w,v){w.uint(1262639204);var flags=0;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);if(_replyMarkup)w.object(v.replyMarkup);},
|
|
577
582
|
'inputBotInlineMessageMediaInvoice':function(w,v){w.uint(3622273573);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.bytes(h(v,'payload'));w.string(h(v,'provider'));w.object(h(v,'providerData'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
583
|
+
'inputBotInlineMessageMediaWebPage':function(w,v){w.uint(3185362192);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.invertMedia===true)flags|=8;if(v.forceLargeMedia===true)flags|=16;if(v.forceSmallMedia===true)flags|=32;if(v.optional===true)flags|=64;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.string(h(v,'url'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
578
584
|
'inputBotInlineResult':function(w,v){w.uint(2294256409);var flags=0;var _title=v.title!==undefined;if(_title)flags|=2;var _description=v.description!==undefined;if(_description)flags|=4;var _url=v.url!==undefined;if(_url)flags|=8;var _thumb=v.thumb!==undefined;if(_thumb)flags|=16;var _content=v.content!==undefined;if(_content)flags|=32;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_url)w.string(v.url);if(_thumb)w.object(v.thumb);if(_content)w.object(v.content);w.object(h(v,'sendMessage'));},
|
|
579
585
|
'inputBotInlineResultPhoto':function(w,v){w.uint(2832753831);w.string(h(v,'id'));w.string(h(v,'type'));w.object(h(v,'photo'));w.object(h(v,'sendMessage'));},
|
|
580
586
|
'inputBotInlineResultDocument':function(w,v){w.uint(4294507972);var flags=0;var _title=v.title!==undefined;if(_title)flags|=2;var _description=v.description!==undefined;if(_description)flags|=4;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_title)w.string(v.title);if(_description)w.string(v.description);w.object(h(v,'document'));w.object(h(v,'sendMessage'));},
|
|
@@ -585,6 +591,7 @@ var m={
|
|
|
585
591
|
'botInlineMessageMediaVenue':function(w,v){w.uint(2324063644);var flags=0;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);w.object(h(v,'geo'));w.string(h(v,'title'));w.string(h(v,'address'));w.string(h(v,'provider'));w.string(h(v,'venueId'));w.string(h(v,'venueType'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
586
592
|
'botInlineMessageMediaContact':function(w,v){w.uint(416402882);var flags=0;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'firstName'));w.string(h(v,'lastName'));w.string(h(v,'vcard'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
587
593
|
'botInlineMessageMediaInvoice':function(w,v){w.uint(894081801);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;if(v.shippingAddressRequested===true)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.test===true)flags|=8;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
594
|
+
'botInlineMessageMediaWebPage':function(w,v){w.uint(2157631910);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.invertMedia===true)flags|=8;if(v.forceLargeMedia===true)flags|=16;if(v.forceSmallMedia===true)flags|=32;if(v.manual===true)flags|=128;if(v.safe===true)flags|=256;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.string(h(v,'url'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
588
595
|
'botInlineResult':function(w,v){w.uint(295067450);var flags=0;var _title=v.title!==undefined;if(_title)flags|=2;var _description=v.description!==undefined;if(_description)flags|=4;var _url=v.url!==undefined;if(_url)flags|=8;var _thumb=v.thumb!==undefined;if(_thumb)flags|=16;var _content=v.content!==undefined;if(_content)flags|=32;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_url)w.string(v.url);if(_thumb)w.object(v.thumb);if(_content)w.object(v.content);w.object(h(v,'sendMessage'));},
|
|
589
596
|
'botInlineMediaResult':function(w,v){w.uint(400266251);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _document=v.document!==undefined;if(_document)flags|=2;var _title=v.title!==undefined;if(_title)flags|=4;var _description=v.description!==undefined;if(_description)flags|=8;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_photo)w.object(v.photo);if(_document)w.object(v.document);if(_title)w.string(v.title);if(_description)w.string(v.description);w.object(h(v,'sendMessage'));},
|
|
590
597
|
'messages.botResults':function(w,v){w.uint(3760321270);var flags=0;if(v.gallery===true)flags|=1;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=2;var _switchPm=v.switchPm!==undefined;if(_switchPm)flags|=4;var _switchWebview=v.switchWebview!==undefined;if(_switchWebview)flags|=8;w.uint(flags);w.long(h(v,'queryId'));if(_nextOffset)w.string(v.nextOffset);if(_switchPm)w.object(v.switchPm);if(_switchWebview)w.object(v.switchWebview);w.vector(w.object,h(v,'results'));w.int(h(v,'cacheTime'));w.vector(w.object,h(v,'users'));},
|
|
@@ -783,6 +790,8 @@ var m={
|
|
|
783
790
|
'channelAdminLogEventActionDeleteTopic':function(w,v){w.uint(2920712457);w.object(h(v,'topic'));},
|
|
784
791
|
'channelAdminLogEventActionPinTopic':function(w,v){w.uint(1569535291);var flags=0;var _prevTopic=v.prevTopic!==undefined;if(_prevTopic)flags|=1;var _newTopic=v.newTopic!==undefined;if(_newTopic)flags|=2;w.uint(flags);if(_prevTopic)w.object(v.prevTopic);if(_newTopic)w.object(v.newTopic);},
|
|
785
792
|
'channelAdminLogEventActionToggleAntiSpam':function(w,v){w.uint(1693675004);w.boolean(h(v,'newValue'));},
|
|
793
|
+
'channelAdminLogEventActionChangeColor':function(w,v){w.uint(1009460347);w.int(h(v,'prevValue'));w.int(h(v,'newValue'));},
|
|
794
|
+
'channelAdminLogEventActionChangeBackgroundEmoji':function(w,v){w.uint(1147126836);w.long(h(v,'prevValue'));w.long(h(v,'newValue'));},
|
|
786
795
|
'channelAdminLogEvent':function(w,v){w.uint(531458253);w.long(h(v,'id'));w.int(h(v,'date'));w.int53(h(v,'userId'));w.object(h(v,'action'));},
|
|
787
796
|
'channels.adminLogResults':function(w,v){w.uint(3985307469);w.vector(w.object,h(v,'events'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
788
797
|
'channelAdminLogEventsFilter':function(w,v){w.uint(3926948580);var flags=0;if(v.join===true)flags|=1;if(v.leave===true)flags|=2;if(v.invite===true)flags|=4;if(v.ban===true)flags|=8;if(v.unban===true)flags|=16;if(v.kick===true)flags|=32;if(v.unkick===true)flags|=64;if(v.promote===true)flags|=128;if(v.demote===true)flags|=256;if(v.info===true)flags|=512;if(v.settings===true)flags|=1024;if(v.pinned===true)flags|=2048;if(v.edit===true)flags|=4096;if(v.delete===true)flags|=8192;if(v.groupCall===true)flags|=16384;if(v.invites===true)flags|=32768;if(v.send===true)flags|=65536;if(v.forums===true)flags|=131072;w.uint(flags);},
|
|
@@ -1059,11 +1068,14 @@ var m={
|
|
|
1059
1068
|
'attachMenuPeerTypeBroadcast':function(w){w.uint(2080104188);},
|
|
1060
1069
|
'inputInvoiceMessage':function(w,v){w.uint(3317000281);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1061
1070
|
'inputInvoiceSlug':function(w,v){w.uint(3274099439);w.string(h(v,'slug'));},
|
|
1071
|
+
'inputInvoicePremiumGiftCode':function(w,v){w.uint(2560125965);w.object(h(v,'purpose'));w.object(h(v,'option'));},
|
|
1062
1072
|
'payments.exportedInvoice':function(w,v){w.uint(2932919257);w.string(h(v,'url'));},
|
|
1063
1073
|
'messages.transcribedAudio':function(w,v){w.uint(2473929810);var flags=0;if(v.pending===true)flags|=1;w.uint(flags);w.long(h(v,'transcriptionId'));w.string(h(v,'text'));},
|
|
1064
1074
|
'help.premiumPromo':function(w,v){w.uint(1395946908);w.string(h(v,'statusText'));w.vector(w.object,h(v,'statusEntities'));w.vector(w.string,h(v,'videoSections'));w.vector(w.object,h(v,'videos'));w.vector(w.object,h(v,'periodOptions'));w.vector(w.object,h(v,'users'));},
|
|
1065
1075
|
'inputStorePaymentPremiumSubscription':function(w,v){w.uint(2792693350);var flags=0;if(v.restore===true)flags|=1;if(v.upgrade===true)flags|=2;w.uint(flags);},
|
|
1066
1076
|
'inputStorePaymentGiftPremium':function(w,v){w.uint(1634697192);w.object(h(v,'userId'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1077
|
+
'inputStorePaymentPremiumGiftCode':function(w,v){w.uint(2743099199);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);w.vector(w.object,h(v,'users'));if(_boostPeer)w.object(v.boostPeer);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1078
|
+
'inputStorePaymentPremiumGiveaway':function(w,v){w.uint(2090038758);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _additionalPeers=v.additionalPeers&&v.additionalPeers.length;if(_additionalPeers)flags|=2;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=4;w.uint(flags);w.object(h(v,'boostPeer'));if(_additionalPeers)w.vector(w.object,v.additionalPeers);if(_countriesIso2)w.vector(w.string,v.countriesIso2);w.long(h(v,'randomId'));w.int(h(v,'untilDate'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1067
1079
|
'premiumGiftOption':function(w,v){w.uint(1958953753);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;w.uint(flags);w.int(h(v,'months'));w.string(h(v,'currency'));w.long(h(v,'amount'));w.string(h(v,'botUrl'));if(_storeProduct)w.string(v.storeProduct);},
|
|
1068
1080
|
'paymentFormMethod':function(w,v){w.uint(2298016283);w.string(h(v,'url'));w.string(h(v,'title'));},
|
|
1069
1081
|
'emojiStatusEmpty':function(w){w.uint(769727150);},
|
|
@@ -1154,23 +1166,7 @@ var m={
|
|
|
1154
1166
|
'mediaAreaSuggestedReaction':function(w,v){w.uint(340088945);var flags=0;if(v.dark===true)flags|=1;if(v.flipped===true)flags|=2;w.uint(flags);w.object(h(v,'coordinates'));w.object(h(v,'reaction'));},
|
|
1155
1167
|
'peerStories':function(w,v){w.uint(2587224473);var flags=0;var _maxReadId=v.maxReadId!==undefined;if(_maxReadId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_maxReadId)w.int(v.maxReadId);w.vector(w.object,h(v,'stories'));},
|
|
1156
1168
|
'stories.peerStories':function(w,v){w.uint(3404105576);w.object(h(v,'stories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1157
|
-
'stories.boostsStatus':function(w,v){w.uint(3854674524);var flags=0;var _nextLevelBoosts=v.nextLevelBoosts!==undefined;if(_nextLevelBoosts)flags|=1;var _premiumAudience=v.premiumAudience!==undefined;if(_premiumAudience)flags|=2;if(v.myBoost===true)flags|=4;w.uint(flags);w.int(h(v,'level'));w.int(h(v,'currentLevelBoosts'));w.int(h(v,'boosts'));if(_nextLevelBoosts)w.int(v.nextLevelBoosts);if(_premiumAudience)w.object(v.premiumAudience);w.string(h(v,'boostUrl'));},
|
|
1158
|
-
'stories.canApplyBoostOk':function(w){w.uint(3273078151);},
|
|
1159
|
-
'stories.canApplyBoostReplace':function(w,v){w.uint(1898726997);w.object(h(v,'currentBoost'));w.vector(w.object,h(v,'chats'));},
|
|
1160
|
-
'booster':function(w,v){w.uint(245261184);w.int53(h(v,'userId'));w.int(h(v,'expires'));},
|
|
1161
|
-
'stories.boostersList':function(w,v){w.uint(4091362589);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'boosters'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
|
|
1162
1169
|
'messages.webPage':function(w,v){w.uint(4250800829);w.object(h(v,'webpage'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1163
|
-
'inputMediaWebPage':function(w,v){w.uint(3256584265);var flags=0;if(v.forceLargeMedia===true)flags|=1;if(v.forceSmallMedia===true)flags|=2;if(v.optional===true)flags|=4;w.uint(flags);w.string(h(v,'url'));},
|
|
1164
|
-
'messageMediaGiveaway':function(w,v){w.uint(1478887012);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=2;w.uint(flags);w.vector(w.long,h(v,'channels'));if(_countriesIso2)w.vector(w.string,v.countriesIso2);w.int(h(v,'quantity'));w.int(h(v,'months'));w.int(h(v,'untilDate'));},
|
|
1165
|
-
'messageActionGiftCode':function(w,v){w.uint(3536837390);var flags=0;if(v.viaGiveaway===true)flags|=1;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=2;if(v.unclaimed===true)flags|=4;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);w.int(h(v,'months'));w.string(h(v,'slug'));},
|
|
1166
|
-
'messageActionGiveawayLaunch':function(w){w.uint(858499565);},
|
|
1167
|
-
'inputBotInlineMessageMediaWebPage':function(w,v){w.uint(3185362192);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.invertMedia===true)flags|=8;if(v.forceLargeMedia===true)flags|=16;if(v.forceSmallMedia===true)flags|=32;if(v.optional===true)flags|=64;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.string(h(v,'url'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
1168
|
-
'botInlineMessageMediaWebPage':function(w,v){w.uint(2157631910);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.invertMedia===true)flags|=8;if(v.forceLargeMedia===true)flags|=16;if(v.forceSmallMedia===true)flags|=32;if(v.manual===true)flags|=128;if(v.safe===true)flags|=256;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.string(h(v,'url'));if(_replyMarkup)w.object(v.replyMarkup);},
|
|
1169
|
-
'channelAdminLogEventActionChangeColor':function(w,v){w.uint(1009460347);w.int(h(v,'prevValue'));w.int(h(v,'newValue'));},
|
|
1170
|
-
'channelAdminLogEventActionChangeBackgroundEmoji':function(w,v){w.uint(1147126836);w.long(h(v,'prevValue'));w.long(h(v,'newValue'));},
|
|
1171
|
-
'inputInvoicePremiumGiftCode':function(w,v){w.uint(2560125965);w.object(h(v,'purpose'));w.object(h(v,'option'));},
|
|
1172
|
-
'inputStorePaymentPremiumGiftCode':function(w,v){w.uint(2743099199);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);w.vector(w.object,h(v,'users'));if(_boostPeer)w.object(v.boostPeer);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1173
|
-
'inputStorePaymentPremiumGiveaway':function(w,v){w.uint(2090038758);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _additionalPeers=v.additionalPeers&&v.additionalPeers.length;if(_additionalPeers)flags|=2;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=4;w.uint(flags);w.object(h(v,'boostPeer'));if(_additionalPeers)w.vector(w.object,v.additionalPeers);if(_countriesIso2)w.vector(w.string,v.countriesIso2);w.long(h(v,'randomId'));w.int(h(v,'untilDate'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1174
1170
|
'premiumGiftCodeOption':function(w,v){w.uint(629052971);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;var _storeQuantity=v.storeQuantity!==undefined;if(_storeQuantity)flags|=2;w.uint(flags);w.int(h(v,'users'));w.int(h(v,'months'));if(_storeProduct)w.string(v.storeProduct);if(_storeQuantity)w.int(v.storeQuantity);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1175
1171
|
'payments.checkedGiftCode':function(w,v){w.uint(3072520536);var flags=0;var _toId=v.toId!==undefined;if(_toId)flags|=1;var _usedDate=v.usedDate!==undefined;if(_usedDate)flags|=2;if(v.viaGiveaway===true)flags|=4;var _giveawayMsgId=v.giveawayMsgId!==undefined;if(_giveawayMsgId)flags|=8;w.uint(flags);w.object(h(v,'fromId'));if(_giveawayMsgId)w.int(v.giveawayMsgId);if(_toId)w.long(v.toId);w.int(h(v,'date'));w.int(h(v,'months'));if(_usedDate)w.int(v.usedDate);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1176
1172
|
'payments.giveawayInfo':function(w,v){w.uint(1130879648);var flags=0;if(v.participating===true)flags|=1;var _joinedTooEarlyDate=v.joinedTooEarlyDate!==undefined;if(_joinedTooEarlyDate)flags|=2;var _adminDisallowedChatId=v.adminDisallowedChatId!==undefined;if(_adminDisallowedChatId)flags|=4;if(v.preparingResults===true)flags|=8;var _disallowedCountry=v.disallowedCountry!==undefined;if(_disallowedCountry)flags|=16;w.uint(flags);w.int(h(v,'startDate'));if(_joinedTooEarlyDate)w.int(v.joinedTooEarlyDate);if(_adminDisallowedChatId)w.long(v.adminDisallowedChatId);if(_disallowedCountry)w.string(v.disallowedCountry);},
|
|
@@ -1184,6 +1180,11 @@ var m={
|
|
|
1184
1180
|
'messageUserVote':function(w,v){w.uint(886196148);w.int53(h(v,'userId'));w.bytes(h(v,'option'));w.int(h(v,'date'));},
|
|
1185
1181
|
'messageUserVoteInputOption':function(w,v){w.uint(1017491692);w.int53(h(v,'userId'));w.int(h(v,'date'));},
|
|
1186
1182
|
'messageUserVoteMultiple':function(w,v){w.uint(2321933655);w.int53(h(v,'userId'));w.vector(w.bytes,h(v,'options'));w.int(h(v,'date'));},
|
|
1183
|
+
'stories.boostsStatus':function(w,v){w.uint(1726619631);var flags=0;var _nextLevelBoosts=v.nextLevelBoosts!==undefined;if(_nextLevelBoosts)flags|=1;var _premiumAudience=v.premiumAudience!==undefined;if(_premiumAudience)flags|=2;if(v.myBoost===true)flags|=4;w.uint(flags);w.int(h(v,'level'));w.int(h(v,'currentLevelBoosts'));w.int(h(v,'boosts'));if(_nextLevelBoosts)w.int(v.nextLevelBoosts);if(_premiumAudience)w.object(v.premiumAudience);},
|
|
1184
|
+
'stories.canApplyBoostOk':function(w){w.uint(3273078151);},
|
|
1185
|
+
'stories.canApplyBoostReplace':function(w,v){w.uint(1898726997);w.object(h(v,'currentBoost'));w.vector(w.object,h(v,'chats'));},
|
|
1186
|
+
'booster':function(w,v){w.uint(245261184);w.int53(h(v,'userId'));w.int(h(v,'expires'));},
|
|
1187
|
+
'stories.boostersList':function(w,v){w.uint(4091362589);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'boosters'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
|
|
1187
1188
|
'dummyUpdate':function(w,v){w.uint(2952448754);w.int(h(v,'pts'));w.int(h(v,'ptsCount'));w.int53(h(v,'channelId'));},
|
|
1188
1189
|
'test.useError':function(w){w.uint(4000689921);},
|
|
1189
1190
|
'test.useConfigSimple':function(w){w.uint(4189565501);},
|
|
@@ -1305,6 +1306,8 @@ var m={
|
|
|
1305
1306
|
'account.saveAutoSaveSettings':function(w,v){w.uint(3600515937);var flags=0;if(v.users===true)flags|=1;if(v.chats===true)flags|=2;if(v.broadcasts===true)flags|=4;var _peer=v.peer!==undefined;if(_peer)flags|=8;w.uint(flags);if(_peer)w.object(v.peer);w.object(h(v,'settings'));},
|
|
1306
1307
|
'account.deleteAutoSaveExceptions':function(w){w.uint(1404829728);},
|
|
1307
1308
|
'account.invalidateSignInCodes':function(w,v){w.uint(3398101178);w.vector(w.string,h(v,'codes'));},
|
|
1309
|
+
'account.updateColor':function(w,v){w.uint(2684472387);var flags=0;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=1;w.uint(flags);w.int(h(v,'color'));if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1310
|
+
'account.getDefaultBackgroundEmojis':function(w,v){w.uint(2785720782);w.long(h(v,'hash'));},
|
|
1308
1311
|
'users.getUsers':function(w,v){w.uint(227648840);w.vector(w.object,h(v,'id'));},
|
|
1309
1312
|
'users.getFullUser':function(w,v){w.uint(3054459160);w.object(h(v,'id'));},
|
|
1310
1313
|
'users.setSecureValueErrors':function(w,v){w.uint(2429064373);w.object(h(v,'id'));w.vector(w.object,h(v,'errors'));},
|
|
@@ -1615,6 +1618,7 @@ var m={
|
|
|
1615
1618
|
'channels.reportAntiSpamFalsePositive':function(w,v){w.uint(2823857811);w.object(h(v,'channel'));w.int(h(v,'msgId'));},
|
|
1616
1619
|
'channels.toggleParticipantsHidden':function(w,v){w.uint(1785624660);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
|
|
1617
1620
|
'channels.clickSponsoredMessage':function(w,v){w.uint(414170259);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
|
|
1621
|
+
'channels.updateColor':function(w,v){w.uint(1645879327);var flags=0;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=1;w.uint(flags);w.object(h(v,'channel'));w.int(h(v,'color'));if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1618
1622
|
'bots.sendCustomRequest':function(w,v){w.uint(2854709741);w.string(h(v,'customMethod'));w.object(h(v,'params'));},
|
|
1619
1623
|
'bots.answerWebhookJSONQuery':function(w,v){w.uint(3860938573);w.long(h(v,'queryId'));w.object(h(v,'data'));},
|
|
1620
1624
|
'bots.setBotCommands':function(w,v){w.uint(85399130);w.object(h(v,'scope'));w.string(h(v,'langCode'));w.vector(w.object,h(v,'commands'));},
|
|
@@ -1642,6 +1646,11 @@ var m={
|
|
|
1642
1646
|
'payments.assignAppStoreTransaction':function(w,v){w.uint(2163045501);w.bytes(h(v,'receipt'));w.object(h(v,'purpose'));},
|
|
1643
1647
|
'payments.assignPlayMarketTransaction':function(w,v){w.uint(3757920467);w.object(h(v,'receipt'));w.object(h(v,'purpose'));},
|
|
1644
1648
|
'payments.canPurchasePremium':function(w,v){w.uint(2680266422);w.object(h(v,'purpose'));},
|
|
1649
|
+
'payments.getPremiumGiftCodeOptions':function(w,v){w.uint(660060756);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);},
|
|
1650
|
+
'payments.checkGiftCode':function(w,v){w.uint(2387719361);w.string(h(v,'slug'));},
|
|
1651
|
+
'payments.applyGiftCode':function(w,v){w.uint(4142032980);w.string(h(v,'slug'));},
|
|
1652
|
+
'payments.getGiveawayInfo':function(w,v){w.uint(4095972389);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1653
|
+
'payments.launchPrepaidGiveaway':function(w,v){w.uint(1609928480);w.object(h(v,'peer'));w.long(h(v,'giveawayId'));w.object(h(v,'purpose'));},
|
|
1645
1654
|
'stickers.createStickerSet':function(w,v){w.uint(2418125671);var flags=0;if(v.masks===true)flags|=1;if(v.animated===true)flags|=2;var _thumb=v.thumb!==undefined;if(_thumb)flags|=4;var _software=v.software!==undefined;if(_software)flags|=8;if(v.videos===true)flags|=16;if(v.emojis===true)flags|=32;if(v.textColor===true)flags|=64;w.uint(flags);w.object(h(v,'userId'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_thumb)w.object(v.thumb);w.vector(w.object,h(v,'stickers'));if(_software)w.string(v.software);},
|
|
1646
1655
|
'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
|
|
1647
1656
|
'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
|
|
@@ -1728,22 +1737,15 @@ var m={
|
|
|
1728
1737
|
'stories.getPeerMaxIDs':function(w,v){w.uint(1398375363);w.vector(w.object,h(v,'id'));},
|
|
1729
1738
|
'stories.getChatsToSend':function(w){w.uint(2775223136);},
|
|
1730
1739
|
'stories.togglePeerStoriesHidden':function(w,v){w.uint(3171161540);w.object(h(v,'peer'));w.boolean(h(v,'hidden'));},
|
|
1731
|
-
'stories.getBoostsStatus':function(w,v){w.uint(1279562866);w.object(h(v,'peer'));},
|
|
1732
|
-
'stories.getBoostersList':function(w,v){w.uint(863959424);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1733
|
-
'stories.canApplyBoost':function(w,v){w.uint(3674587581);w.object(h(v,'peer'));},
|
|
1734
|
-
'stories.applyBoost':function(w,v){w.uint(4070407211);w.object(h(v,'peer'));},
|
|
1735
|
-
'account.updateColor':function(w,v){w.uint(2684472387);var flags=0;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=1;w.uint(flags);w.int(h(v,'color'));if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1736
|
-
'account.getDefaultBackgroundEmojis':function(w,v){w.uint(2785720782);w.long(h(v,'hash'));},
|
|
1737
|
-
'channels.updateColor':function(w,v){w.uint(1645879327);var flags=0;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=1;w.uint(flags);w.object(h(v,'channel'));w.int(h(v,'color'));if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1738
|
-
'payments.getPremiumGiftCodeOptions':function(w,v){w.uint(660060756);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);},
|
|
1739
|
-
'payments.checkGiftCode':function(w,v){w.uint(2387719361);w.string(h(v,'slug'));},
|
|
1740
|
-
'payments.applyGiftCode':function(w,v){w.uint(4142032980);w.string(h(v,'slug'));},
|
|
1741
|
-
'payments.getGiveawayInfo':function(w,v){w.uint(4095972389);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1742
|
-
'payments.launchPrepaidGiveaway':function(w,v){w.uint(1609928480);w.object(h(v,'peer'));w.long(h(v,'giveawayId'));w.object(h(v,'purpose'));},
|
|
1743
1740
|
'premium.getBoostsList':function(w,v){w.uint(1626764896);var flags=0;if(v.gifts===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1744
1741
|
'premium.getMyBoosts':function(w){w.uint(199719754);},
|
|
1745
1742
|
'premium.applyBoost':function(w,v){w.uint(1803396934);var flags=0;var _slots=v.slots&&v.slots.length;if(_slots)flags|=1;w.uint(flags);if(_slots)w.vector(w.int,v.slots);w.object(h(v,'peer'));},
|
|
1746
1743
|
'premium.getBoostsStatus':function(w,v){w.uint(70197089);w.object(h(v,'peer'));},
|
|
1744
|
+
'premium.getUserBoosts':function(w,v){w.uint(965037343);w.object(h(v,'peer'));w.object(h(v,'userId'));},
|
|
1745
|
+
'stories.getBoostsStatus':function(w,v){w.uint(1279562866);w.object(h(v,'peer'));},
|
|
1746
|
+
'stories.getBoostersList':function(w,v){w.uint(863959424);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1747
|
+
'stories.canApplyBoost':function(w,v){w.uint(3674587581);w.object(h(v,'peer'));},
|
|
1748
|
+
'stories.applyBoost':function(w,v){w.uint(4070407211);w.object(h(v,'peer'));},
|
|
1747
1749
|
'mt_resPQ':function(w,v){w.uint(85337187);w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.bytes(h(v,'pq'));w.vector(w.long,h(v,'serverPublicKeyFingerprints'));},
|
|
1748
1750
|
'mt_p_q_inner_data_dc':function(w,v){w.uint(2851430293);w.bytes(h(v,'pq'));w.bytes(h(v,'p'));w.bytes(h(v,'q'));w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.int256(h(v,'newNonce'));w.int(h(v,'dc'));},
|
|
1749
1751
|
'mt_p_q_inner_data_temp_dc':function(w,v){w.uint(1459478408);w.bytes(h(v,'pq'));w.bytes(h(v,'p'));w.bytes(h(v,'q'));w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.int256(h(v,'newNonce'));w.int(h(v,'dc'));w.int(h(v,'expiresIn'));},
|
|
@@ -1847,6 +1849,7 @@ _staticSize:{
|
|
|
1847
1849
|
'messageActionGeoProximityReached':32,
|
|
1848
1850
|
'messageActionChatJoinedByRequest':4,
|
|
1849
1851
|
'messageActionRequestedPeer':20,
|
|
1852
|
+
'messageActionGiveawayLaunch':4,
|
|
1850
1853
|
'photoEmpty':12,
|
|
1851
1854
|
'geoPointEmpty':4,
|
|
1852
1855
|
'inputNotifyUsers':4,
|
|
@@ -2026,10 +2029,10 @@ _staticSize:{
|
|
|
2026
2029
|
'messageEntityCashtag':12,
|
|
2027
2030
|
'messageEntityUnderline':12,
|
|
2028
2031
|
'messageEntityStrike':12,
|
|
2029
|
-
'messageEntityBlockquote':12,
|
|
2030
2032
|
'messageEntityBankCard':12,
|
|
2031
2033
|
'messageEntitySpoiler':12,
|
|
2032
2034
|
'messageEntityCustomEmoji':20,
|
|
2035
|
+
'messageEntityBlockquote':12,
|
|
2033
2036
|
'inputChannelEmpty':4,
|
|
2034
2037
|
'inputChannel':20,
|
|
2035
2038
|
'messageRange':12,
|
|
@@ -2093,6 +2096,8 @@ _staticSize:{
|
|
|
2093
2096
|
'channelAdminLogEventActionToggleNoForwards':8,
|
|
2094
2097
|
'channelAdminLogEventActionToggleForum':8,
|
|
2095
2098
|
'channelAdminLogEventActionToggleAntiSpam':8,
|
|
2099
|
+
'channelAdminLogEventActionChangeColor':12,
|
|
2100
|
+
'channelAdminLogEventActionChangeBackgroundEmoji':20,
|
|
2096
2101
|
'channelAdminLogEventsFilter':8,
|
|
2097
2102
|
'popularContact':16,
|
|
2098
2103
|
'messages.favedStickersNotModified':4,
|
|
@@ -2226,13 +2231,10 @@ _staticSize:{
|
|
|
2226
2231
|
'storyItemDeleted':8,
|
|
2227
2232
|
'storyItemSkipped':20,
|
|
2228
2233
|
'mediaAreaCoordinates':44,
|
|
2229
|
-
'stories.canApplyBoostOk':4,
|
|
2230
|
-
'booster':16,
|
|
2231
|
-
'messageActionGiveawayLaunch':4,
|
|
2232
|
-
'channelAdminLogEventActionChangeColor':12,
|
|
2233
|
-
'channelAdminLogEventActionChangeBackgroundEmoji':20,
|
|
2234
2234
|
'prepaidGiveaway':24,
|
|
2235
2235
|
'messageUserVoteInputOption':16,
|
|
2236
|
+
'stories.canApplyBoostOk':4,
|
|
2237
|
+
'booster':16,
|
|
2236
2238
|
'dummyUpdate':20,
|
|
2237
2239
|
'test.useError':4,
|
|
2238
2240
|
'test.useConfigSimple':4,
|
|
@@ -2279,6 +2281,7 @@ _staticSize:{
|
|
|
2279
2281
|
'account.getDefaultGroupPhotoEmojis':12,
|
|
2280
2282
|
'account.getAutoSaveSettings':4,
|
|
2281
2283
|
'account.deleteAutoSaveExceptions':4,
|
|
2284
|
+
'account.getDefaultBackgroundEmojis':12,
|
|
2282
2285
|
'contacts.getContactIDs':12,
|
|
2283
2286
|
'contacts.getStatuses':4,
|
|
2284
2287
|
'contacts.getContacts':12,
|
|
@@ -2367,7 +2370,6 @@ _staticSize:{
|
|
|
2367
2370
|
'stories.activateStealthMode':8,
|
|
2368
2371
|
'stories.getAllReadPeerStories':4,
|
|
2369
2372
|
'stories.getChatsToSend':4,
|
|
2370
|
-
'account.getDefaultBackgroundEmojis':12,
|
|
2371
2373
|
'premium.getMyBoosts':4,
|
|
2372
2374
|
'mt_dh_gen_ok':52,
|
|
2373
2375
|
'mt_dh_gen_retry':52,
|