@mtcute/tl 200.0.0 → 202.0.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 +28 -12
- package/binary/writer.js +50 -36
- package/compat/index.d.ts +60 -1
- package/compat/reader.js +1 -0
- package/index.d.ts +256 -139
- package/index.js +6 -2
- package/package.json +1 -1
package/binary/reader.js
CHANGED
|
@@ -164,6 +164,9 @@ var m={
|
|
|
164
164
|
2953594786:function(r){var flags=r.uint();return{_:'messageActionPrizeStars',unclaimed:!!(flags&1),stars:r.long(),transactionId:r.string(),boostPeer:r.object(),giveawayMsgId:r.int(),}},
|
|
165
165
|
1192749220:function(r){var flags=r.uint();return{_:'messageActionStarGift',nameHidden:!!(flags&1),saved:!!(flags&4),converted:!!(flags&8),upgraded:!!(flags&32),refunded:!!(flags&512),canUpgrade:!!(flags&1024),gift:r.object(),message:flags&2?r.object():void 0,convertStars:flags&16?r.long():void 0,upgradeMsgId:flags&32?r.int():void 0,upgradeStars:flags&256?r.long():void 0,fromId:flags&2048?r.object():void 0,peer:flags&4096?r.object():void 0,savedId:flags&4096?r.long():void 0,}},
|
|
166
166
|
2900347777:function(r){var flags=r.uint();return{_:'messageActionStarGiftUnique',upgrade:!!(flags&1),transferred:!!(flags&2),saved:!!(flags&4),refunded:!!(flags&32),gift:r.object(),canExportAt:flags&8?r.int():void 0,transferStars:flags&16?r.long():void 0,fromId:flags&64?r.object():void 0,peer:flags&128?r.object():void 0,savedId:flags&128?r.long():void 0,}},
|
|
167
|
+
2887720909:function(r){return{_:'messageActionPaidMessagesRefunded',count:r.int(),stars:r.long(),}},
|
|
168
|
+
3168211993:function(r){return{_:'messageActionPaidMessagesPrice',stars:r.long(),}},
|
|
169
|
+
805187450:function(r){var flags=r.uint();return{_:'messageActionConferenceCall',missed:!!(flags&1),active:!!(flags&2),video:!!(flags&16),callId:r.long(),duration:flags&4?r.int():void 0,otherParticipants:flags&8?r.vector(r.object):void 0,}},
|
|
167
170
|
3582593222:function(r){var flags=r.uint();return{_:'dialog',pinned:!!(flags&4),unreadMark:!!(flags&8),viewForumAsMessages:!!(flags&64),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,}},
|
|
168
171
|
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(),}},
|
|
169
172
|
590459437:function(r){return{_:'photoEmpty',id:r.long(),}},
|
|
@@ -178,6 +181,7 @@ var m={
|
|
|
178
181
|
2997024355:function(r){var flags=r.uint();return{_:'geoPoint',long:r.double(),lat:r.double(),accessHash:r.long(),accuracyRadius:flags&1?r.int():void 0,}},
|
|
179
182
|
1577067778:function(r){var flags=r.uint();return{_:'auth.sentCode',type:r.object(),phoneCodeHash:r.string(),nextType:flags&2?r.object():void 0,timeout:flags&4?r.int():void 0,}},
|
|
180
183
|
596704836:function(r){return{_:'auth.sentCodeSuccess',authorization:r.object(),}},
|
|
184
|
+
3620665728:function(r){return{_:'auth.sentCodePaymentRequired',storeProduct:r.string(),phoneCodeHash:r.string(),}},
|
|
181
185
|
782418132:function(r){var flags=r.uint();return{_:'auth.authorization',setupPasswordRequired:!!(flags&2),otherwiseReloginDays:flags&2?r.int():void 0,tmpSessions:flags&1?r.int():void 0,futureAuthToken:flags&4?r.bytes():void 0,user:r.object(),}},
|
|
182
186
|
1148485274:function(r){var flags=r.uint();return{_:'auth.authorizationSignUpRequired',termsOfService:flags&1?r.object():void 0,}},
|
|
183
187
|
3023364792:function(r){return{_:'auth.exportedAuthorization',id:r.long(),bytes:r.bytes(),}},
|
|
@@ -201,7 +205,7 @@ var m={
|
|
|
201
205
|
4124956391:function(r){return{_:'inputReportReasonFake'}},
|
|
202
206
|
177124030:function(r){return{_:'inputReportReasonIllegalDrugs'}},
|
|
203
207
|
2663876157:function(r){return{_:'inputReportReasonPersonalDetails'}},
|
|
204
|
-
|
|
208
|
+
2582085701:function(r){var flags=r.uint(),flags2=r.uint();return{_:'userFull',blocked:!!(flags&1),phoneCallsAvailable:!!(flags&16),phoneCallsPrivate:!!(flags&32),canPinMessage:!!(flags&128),hasScheduled:!!(flags&4096),videoCallsAvailable:!!(flags&8192),voiceMessagesForbidden:!!(flags&1048576),translationsDisabled:!!(flags&8388608),storiesPinnedAvailable:!!(flags&67108864),blockedMyStoriesFrom:!!(flags&134217728),wallpaperOverridden:!!(flags&268435456),contactRequirePremium:!!(flags&536870912),readDatesPrivate:!!(flags&1073741824),sponsoredEnabled:!!(flags2&128),canViewRevenue:!!(flags2&512),botCanManageEmojiStatus:!!(flags2&1024),displayGiftsButton:!!(flags2&65536),id:r.int53(),about:flags&2?r.string():void 0,settings:r.object(),personalPhoto:flags&2097152?r.object():void 0,profilePhoto:flags&4?r.object():void 0,fallbackPhoto:flags&4194304?r.object():void 0,notifySettings:r.object(),botInfo:flags&8?r.object():void 0,pinnedMsgId:flags&64?r.int():void 0,commonChatsCount:r.int(),folderId:flags&2048?r.int():void 0,ttlPeriod:flags&16384?r.int():void 0,themeEmoticon:flags&32768?r.string():void 0,privateForwardName:flags&65536?r.string():void 0,botGroupAdminRights:flags&131072?r.object():void 0,botBroadcastAdminRights:flags&262144?r.object():void 0,wallpaper:flags&16777216?r.object():void 0,stories:flags&33554432?r.object():void 0,businessWorkHours:flags2&1?r.object():void 0,businessLocation:flags2&2?r.object():void 0,businessGreetingMessage:flags2&4?r.object():void 0,businessAwayMessage:flags2&8?r.object():void 0,businessIntro:flags2&16?r.object():void 0,birthday:flags2&32?r.object():void 0,personalChannelId:flags2&64?r.int53():void 0,personalChannelMessage:flags2&64?r.int():void 0,stargiftsCount:flags2&256?r.int():void 0,starrefProgram:flags2&2048?r.object():void 0,botVerification:flags2&4096?r.object():void 0,sendPaidMessagesStars:flags2&16384?r.long():void 0,disallowedGifts:flags2&32768?r.object():void 0,}},
|
|
205
209
|
341499403:function(r){return{_:'contact',userId:r.int53(),mutual:r.boolean(),}},
|
|
206
210
|
3242081360:function(r){return{_:'importedContact',userId:r.int53(),clientId:r.long(),}},
|
|
207
211
|
383348795:function(r){return{_:'contactStatus',userId:r.int53(),status:r.object(),}},
|
|
@@ -379,6 +383,8 @@ var m={
|
|
|
379
383
|
2776936473:function(r){return{_:'updateStarsRevenueStatus',peer:r.object(),status:r.object(),}},
|
|
380
384
|
675009298:function(r){return{_:'updateBotPurchasedPaidMedia',userId:r.int53(),payload:r.string(),qts:r.int(),}},
|
|
381
385
|
2339528654:function(r){return{_:'updatePaidReactionPrivacy',private:r.object(),}},
|
|
386
|
+
1347068303:function(r){return{_:'updateSentPhoneCode',sentCode:r.object(),}},
|
|
387
|
+
2759272591:function(r){return{_:'updateGroupCallChainBlocks',call:r.object(),subChainId:r.int(),blocks:r.vector(r.bytes),nextOffset:r.int(),}},
|
|
382
388
|
2775329342:function(r){return{_:'updates.state',pts:r.int(),qts:r.int(),date:r.int(),seq:r.int(),unreadCount:r.int(),}},
|
|
383
389
|
1567990072:function(r){return{_:'updates.differenceEmpty',date:r.int(),seq:r.int(),}},
|
|
384
390
|
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(),}},
|
|
@@ -751,7 +757,7 @@ var m={
|
|
|
751
757
|
3767910816:function(r){return{_:'phoneCallDiscardReasonDisconnect'}},
|
|
752
758
|
1471006352:function(r){return{_:'phoneCallDiscardReasonHangup'}},
|
|
753
759
|
4210550985:function(r){return{_:'phoneCallDiscardReasonBusy'}},
|
|
754
|
-
|
|
760
|
+
2679894519:function(r){return{_:'phoneCallDiscardReasonMigrateConferenceCall',slug:r.string(),}},
|
|
755
761
|
2104790276:function(r){return{_:'dataJSON',data:r.string(),}},
|
|
756
762
|
3408489464:function(r){return{_:'labeledPrice',label:r.string(),amount:r.long(),}},
|
|
757
763
|
77522308:function(r){var flags=r.uint();return{_:'invoice',test:!!(flags&1),nameRequested:!!(flags&2),phoneRequested:!!(flags&4),emailRequested:!!(flags&8),shippingAddressRequested:!!(flags&16),flexible:!!(flags&32),phoneToProvider:!!(flags&64),emailToProvider:!!(flags&128),recurring:!!(flags&512),currency:r.string(),prices:r.vector(r.object),maxTipAmount:flags&256?r.long():void 0,suggestedTipAmounts:flags&256?r.vector(r.long):void 0,termsUrl:flags&1024?r.string():void 0,subscriptionPeriod:flags&2048?r.int():void 0,}},
|
|
@@ -784,11 +790,11 @@ var m={
|
|
|
784
790
|
853188252:function(r){var flags=r.uint();return{_:'inputStickerSetItem',document:r.object(),emoji:r.string(),maskCoords:flags&1?r.object():void 0,keywords:flags&2?r.string():void 0,}},
|
|
785
791
|
506920429:function(r){return{_:'inputPhoneCall',id:r.long(),accessHash:r.long(),}},
|
|
786
792
|
1399245077:function(r){return{_:'phoneCallEmpty',id:r.long(),}},
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
793
|
+
3307368215:function(r){var flags=r.uint();return{_:'phoneCallWaiting',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),protocol:r.object(),receiveDate:flags&1?r.int():void 0,}},
|
|
794
|
+
347139340:function(r){var flags=r.uint();return{_:'phoneCallRequested',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gAHash:r.bytes(),protocol:r.object(),}},
|
|
795
|
+
912311057:function(r){var flags=r.uint();return{_:'phoneCallAccepted',video:!!(flags&64),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gB:r.bytes(),protocol:r.object(),}},
|
|
796
|
+
810769141:function(r){var flags=r.uint();return{_:'phoneCall',p2pAllowed:!!(flags&32),video:!!(flags&64),conferenceSupported:!!(flags&256),id:r.long(),accessHash:r.long(),date:r.int(),adminId:r.int53(),participantId:r.int53(),gAOrB:r.bytes(),keyFingerprint:r.long(),protocol:r.object(),connections:r.vector(r.object),startDate:r.int(),customParameters:flags&128?r.object():void 0,}},
|
|
797
|
+
1355435489:function(r){var flags=r.uint();return{_:'phoneCallDiscarded',needRating:!!(flags&4),needDebug:!!(flags&8),video:!!(flags&64),id:r.long(),reason:flags&1?r.object():void 0,duration:flags&2?r.int():void 0,}},
|
|
792
798
|
2629903303:function(r){var flags=r.uint();return{_:'phoneConnection',tcp:!!(flags&1),id:r.long(),ip:r.string(),ipv6:r.string(),port:r.int(),peerTag:r.bytes(),}},
|
|
793
799
|
1667228533:function(r){var flags=r.uint();return{_:'phoneConnectionWebrtc',turn:!!(flags&1),stun:!!(flags&2),id:r.long(),ip:r.string(),ipv6:r.string(),port:r.int(),username:r.string(),password:r.string(),}},
|
|
794
800
|
4236742600:function(r){var flags=r.uint();return{_:'phoneCallProtocol',udpP2p:!!(flags&1),udpReflector:!!(flags&2),minLayer:r.int(),maxLayer:r.int(),libraryVersions:r.vector(r.string),}},
|
|
@@ -1030,7 +1036,7 @@ var m={
|
|
|
1030
1036
|
3612888199:function(r){return{_:'statsGroupTopAdmin',userId:r.int53(),deleted:r.int(),kicked:r.int(),banned:r.int(),}},
|
|
1031
1037
|
1398765469:function(r){return{_:'statsGroupTopInviter',userId:r.int53(),invitations:r.int(),}},
|
|
1032
1038
|
4018141462:function(r){return{_:'stats.megagroupStats',period:r.object(),members:r.object(),messages:r.object(),viewers:r.object(),posters:r.object(),growthGraph:r.object(),membersGraph:r.object(),newMembersBySourceGraph:r.object(),languagesGraph:r.object(),messagesGraph:r.object(),actionsGraph:r.object(),topHoursGraph:r.object(),weekdaysGraph:r.object(),topPosters:r.vector(r.object),topAdmins:r.vector(r.object),topInviters:r.vector(r.object),users:r.vector(r.object),}},
|
|
1033
|
-
|
|
1039
|
+
4265718607:function(r){var flags=r.uint();return{_:'globalPrivacySettings',archiveAndMuteNewNoncontactPeers:!!(flags&1),keepArchivedUnmuted:!!(flags&2),keepArchivedFolders:!!(flags&4),hideReadMarks:!!(flags&8),newNoncontactPeersRequirePremium:!!(flags&16),displayGiftsButton:!!(flags&128),noncontactPeersPaidStars:flags&32?r.long():void 0,disallowedGifts:flags&64?r.object():void 0,}},
|
|
1034
1040
|
1107543535:function(r){var flags=r.uint();return{_:'help.countryCode',countryCode:r.string(),prefixes:flags&1?r.vector(r.string):void 0,patterns:flags&2?r.vector(r.string):void 0,}},
|
|
1035
1041
|
3280440867:function(r){var flags=r.uint();return{_:'help.country',hidden:!!(flags&1),iso2:r.string(),defaultName:r.string(),name:flags&2?r.string():void 0,countryCodes:r.vector(r.object),}},
|
|
1036
1042
|
2479628082:function(r){return{_:'help.countriesListNotModified'}},
|
|
@@ -1044,8 +1050,10 @@ var m={
|
|
|
1044
1050
|
3908927508:function(r){return{_:'peerBlocked',peerId:r.object(),date:r.int(),}},
|
|
1045
1051
|
2145983508:function(r){return{_:'stats.messageStats',viewsGraph:r.object(),reactionsByEmotionGraph:r.object(),}},
|
|
1046
1052
|
2004925620:function(r){return{_:'groupCallDiscarded',id:r.long(),accessHash:r.long(),duration:r.int(),}},
|
|
1047
|
-
|
|
1053
|
+
1429932961:function(r){var flags=r.uint();return{_:'groupCall',joinMuted:!!(flags&2),canChangeJoinMuted:!!(flags&4),joinDateAsc:!!(flags&64),scheduleStartSubscribed:!!(flags&256),canStartVideo:!!(flags&512),recordVideoActive:!!(flags&2048),rtmpStream:!!(flags&4096),listenersHidden:!!(flags&8192),conference:!!(flags&16384),creator:!!(flags&32768),id:r.long(),accessHash:r.long(),participantsCount:r.int(),title:flags&8?r.string():void 0,streamDcId:flags&16?r.int():void 0,recordStartDate:flags&32?r.int():void 0,scheduleDate:flags&128?r.int():void 0,unmutedVideoCount:flags&1024?r.int():void 0,unmutedVideoLimit:r.int(),version:r.int(),inviteLink:flags&65536?r.string():void 0,}},
|
|
1048
1054
|
3635053583:function(r){return{_:'inputGroupCall',id:r.long(),accessHash:r.long(),}},
|
|
1055
|
+
4261839423:function(r){return{_:'inputGroupCallSlug',slug:r.string(),}},
|
|
1056
|
+
2349883455:function(r){return{_:'inputGroupCallInviteMessage',msgId:r.int(),}},
|
|
1049
1057
|
3953538814:function(r){var flags=r.uint();return{_:'groupCallParticipant',muted:!!(flags&1),left:!!(flags&2),canSelfUnmute:!!(flags&4),justJoined:!!(flags&16),versioned:!!(flags&32),min:!!(flags&256),mutedByYou:!!(flags&512),volumeByAdmin:!!(flags&1024),self:!!(flags&4096),videoJoined:!!(flags&32768),peer:r.object(),date:r.int(),activeDate:flags&8?r.int():void 0,source:r.int(),volume:flags&128?r.int():void 0,about:flags&2048?r.string():void 0,raiseHandRating:flags&8192?r.long():void 0,video:flags&64?r.object():void 0,presentation:flags&16384?r.object():void 0,}},
|
|
1050
1058
|
2658302637:function(r){return{_:'phone.groupCall',call:r.object(),participants:r.vector(r.object),participantsNextOffset:r.string(),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1051
1059
|
4101460406:function(r){return{_:'phone.groupParticipants',count:r.int(),participants:r.vector(r.object),nextOffset:r.string(),chats:r.vector(r.object),users:r.vector(r.object),version:r.int(),}},
|
|
@@ -1135,6 +1143,7 @@ var m={
|
|
|
1135
1143
|
1300335965:function(r){var flags=r.uint();return{_:'inputInvoiceStarGiftUpgrade',keepOriginalDetails:!!(flags&1),stargift:r.object(),}},
|
|
1136
1144
|
1247763417:function(r){return{_:'inputInvoiceStarGiftTransfer',stargift:r.object(),toId:r.object(),}},
|
|
1137
1145
|
3669668591:function(r){var flags=r.uint();return{_:'inputInvoicePremiumGiftStars',userId:r.object(),months:r.int(),message:flags&1?r.object():void 0,}},
|
|
1146
|
+
4103700034:function(r){return{_:'inputInvoiceBusinessBotTransferStars',bot:r.object(),stars:r.long(),}},
|
|
1138
1147
|
2932919257:function(r){return{_:'payments.exportedInvoice',url:r.string(),}},
|
|
1139
1148
|
3485063511:function(r){var flags=r.uint();return{_:'messages.transcribedAudio',pending:!!(flags&1),transcriptionId:r.long(),text:r.string(),trialRemainsNum:flags&2?r.int():void 0,trialRemainsUntilDate:flags&2?r.int():void 0,}},
|
|
1140
1149
|
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),}},
|
|
@@ -1145,6 +1154,7 @@ var m={
|
|
|
1145
1154
|
3722252118:function(r){return{_:'inputStorePaymentStarsTopup',stars:r.long(),currency:r.string(),amount:r.long(),}},
|
|
1146
1155
|
494149367:function(r){return{_:'inputStorePaymentStarsGift',userId:r.object(),stars:r.long(),currency:r.string(),amount:r.long(),}},
|
|
1147
1156
|
1964968186:function(r){var flags=r.uint();return{_:'inputStorePaymentStarsGiveaway',onlyNewSubscribers:!!(flags&1),winnersAreVisible:!!(flags&8),stars:r.long(),boostPeer:r.object(),additionalPeers:flags&2?r.vector(r.object):void 0,countriesIso2:flags&4?r.vector(r.string):void 0,prizeDescription:flags&16?r.string():void 0,randomId:r.long(),untilDate:r.int(),currency:r.string(),amount:r.long(),users:r.int(),}},
|
|
1157
|
+
2612159341:function(r){var flags=r.uint();return{_:'inputStorePaymentAuthCode',restore:!!(flags&1),phoneNumber:r.string(),phoneCodeHash:r.string(),currency:r.string(),amount:r.long(),}},
|
|
1148
1158
|
2298016283:function(r){return{_:'paymentFormMethod',url:r.string(),title:r.string(),}},
|
|
1149
1159
|
769727150:function(r){return{_:'emojiStatusEmpty'}},
|
|
1150
1160
|
3892250250:function(r){var flags=r.uint();return{_:'emojiStatus',documentId:r.long(),until:flags&1?r.int():void 0,}},
|
|
@@ -1303,11 +1313,11 @@ var m={
|
|
|
1303
1313
|
18418929:function(r){return{_:'inputQuickReplyShortcutId',shortcutId:r.int(),}},
|
|
1304
1314
|
3331155605:function(r){return{_:'messages.quickReplies',quickReplies:r.vector(r.object),messages:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1305
1315
|
1603398491:function(r){return{_:'messages.quickRepliesNotModified'}},
|
|
1306
|
-
|
|
1316
|
+
3445908332:function(r){var flags=r.uint();return{_:'connectedBot',botId:r.int53(),recipients:r.object(),rights:r.object(),}},
|
|
1307
1317
|
400029819:function(r){return{_:'account.connectedBots',connectedBots:r.vector(r.object),users:r.vector(r.object),}},
|
|
1308
1318
|
718878489:function(r){var flags=r.uint();return{_:'messages.dialogFilters',tagsEnabled:!!(flags&1),filters:r.vector(r.object),}},
|
|
1309
1319
|
1821253126:function(r){var flags=r.uint();return{_:'birthday',day:r.int(),month:r.int(),year:flags&1?r.int():void 0,}},
|
|
1310
|
-
|
|
1320
|
+
2402595573:function(r){var flags=r.uint();return{_:'botBusinessConnection',disabled:!!(flags&2),connectionId:r.string(),userId:r.int53(),dcId:r.int(),date:r.int(),rights:flags&4?r.object():void 0,}},
|
|
1311
1321
|
163867085:function(r){var flags=r.uint();return{_:'inputBusinessIntro',title:r.string(),description:r.string(),sticker:flags&1?r.object():void 0,}},
|
|
1312
1322
|
1510606445:function(r){var flags=r.uint();return{_:'businessIntro',title:r.string(),description:r.string(),sticker:flags&1?r.object():void 0,}},
|
|
1313
1323
|
4211040925:function(r){return{_:'messages.myStickers',count:r.int(),sets:r.vector(r.object),}},
|
|
@@ -1354,7 +1364,7 @@ var m={
|
|
|
1354
1364
|
1617438738:function(r){return{_:'starsTransactionPeerAds'}},
|
|
1355
1365
|
4184308397:function(r){return{_:'starsTransactionPeerAPI'}},
|
|
1356
1366
|
198776256:function(r){var flags=r.uint();return{_:'starsTopupOption',extended:!!(flags&2),stars:r.long(),storeProduct:flags&1?r.string():void 0,currency:r.string(),amount:r.long(),}},
|
|
1357
|
-
2745162058:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),gift:!!(flags&1024),reaction:!!(flags&2048),stargiftUpgrade:!!(flags&262144),id:r.string(),stars:r.object(),date:r.int(),peer:r.object(),title:flags&1?r.string():void 0,description:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,transactionDate:flags&32?r.int():void 0,transactionUrl:flags&32?r.string():void 0,botPayload:flags&128?r.bytes():void 0,msgId:flags&256?r.int():void 0,extendedMedia:flags&512?r.vector(r.object):void 0,subscriptionPeriod:flags&4096?r.int():void 0,giveawayPostId:flags&8192?r.int():void 0,stargift:flags&16384?r.object():void 0,floodskipNumber:flags&32768?r.int():void 0,starrefCommissionPermille:flags&65536?r.int():void 0,starrefPeer:flags&131072?r.object():void 0,starrefAmount:flags&131072?r.object():void 0,paidMessages:flags&524288?r.int():void 0,premiumGiftMonths:flags&1048576?r.int():void 0,}},
|
|
1367
|
+
2745162058:function(r){var flags=r.uint();return{_:'starsTransaction',refund:!!(flags&8),pending:!!(flags&16),failed:!!(flags&64),gift:!!(flags&1024),reaction:!!(flags&2048),stargiftUpgrade:!!(flags&262144),businessTransfer:!!(flags&2097152),id:r.string(),stars:r.object(),date:r.int(),peer:r.object(),title:flags&1?r.string():void 0,description:flags&2?r.string():void 0,photo:flags&4?r.object():void 0,transactionDate:flags&32?r.int():void 0,transactionUrl:flags&32?r.string():void 0,botPayload:flags&128?r.bytes():void 0,msgId:flags&256?r.int():void 0,extendedMedia:flags&512?r.vector(r.object):void 0,subscriptionPeriod:flags&4096?r.int():void 0,giveawayPostId:flags&8192?r.int():void 0,stargift:flags&16384?r.object():void 0,floodskipNumber:flags&32768?r.int():void 0,starrefCommissionPermille:flags&65536?r.int():void 0,starrefPeer:flags&131072?r.object():void 0,starrefAmount:flags&131072?r.object():void 0,paidMessages:flags&524288?r.int():void 0,premiumGiftMonths:flags&1048576?r.int():void 0,}},
|
|
1358
1368
|
1822222573:function(r){var flags=r.uint();return{_:'payments.starsStatus',balance:r.object(),subscriptions:flags&2?r.vector(r.object):void 0,subscriptionsNextOffset:flags&4?r.string():void 0,subscriptionsMissingBalance:flags&16?r.long():void 0,history:flags&8?r.vector(r.object):void 0,nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1359
1369
|
3900361664:function(r){return{_:'foundStory',peer:r.object(),story:r.object(),}},
|
|
1360
1370
|
3806230327:function(r){var flags=r.uint();return{_:'stories.foundStories',count:r.int(),stories:r.vector(r.object),nextOffset:flags&1?r.string():void 0,chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
@@ -1414,6 +1424,12 @@ var m={
|
|
|
1414
1424
|
84580409:function(r){return{_:'requirementToContactEmpty'}},
|
|
1415
1425
|
3850495209:function(r){return{_:'requirementToContactPremium'}},
|
|
1416
1426
|
3036053139:function(r){return{_:'requirementToContactPaidMessages',starsAmount:r.long(),}},
|
|
1427
|
+
2690796791:function(r){var flags=r.uint();return{_:'businessBotRights',reply:!!(flags&1),readMessages:!!(flags&2),deleteSentMessages:!!(flags&4),deleteReceivedMessages:!!(flags&8),editName:!!(flags&16),editBio:!!(flags&32),editProfilePhoto:!!(flags&64),editUsername:!!(flags&128),viewGifts:!!(flags&256),sellGifts:!!(flags&512),changeGiftSettings:!!(flags&1024),transferAndUpgradeGifts:!!(flags&2048),transferStars:!!(flags&4096),manageStories:!!(flags&8192),}},
|
|
1428
|
+
1911715524:function(r){var flags=r.uint();return{_:'disallowedGiftsSettings',disallowUnlimitedStargifts:!!(flags&1),disallowLimitedStargifts:!!(flags&2),disallowUniqueStargifts:!!(flags&4),disallowPremiumGifts:!!(flags&8),}},
|
|
1429
|
+
3331786963:function(r){var flags=r.uint();return{_:'sponsoredPeer',randomId:r.bytes(),peer:r.object(),sponsorInfo:flags&1?r.string():void 0,additionalInfo:flags&2?r.string():void 0,}},
|
|
1430
|
+
3929191601:function(r){return{_:'contacts.sponsoredPeersEmpty'}},
|
|
1431
|
+
3942852740:function(r){return{_:'contacts.sponsoredPeers',peers:r.vector(r.object),chats:r.vector(r.object),users:r.vector(r.object),}},
|
|
1432
|
+
2950871097:function(r){return{_:'phoneCallDiscardReasonAllowGroupCall',encryptedKey:r.bytes(),}},
|
|
1417
1433
|
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,}},
|
|
1418
1434
|
4197492935:function(r){return{_:'emojiStatusUntil',documentId:r.long(),until:r.int(),}},
|
|
1419
1435
|
4003764846:function(r){var flags=r.uint();return{_:'userStarGift',nameHidden:!!(flags&1),unsaved:!!(flags&32),fromId:flags&2?r.int53():void 0,date:r.int(),gift:r.object(),message:flags&4?r.object():void 0,msgId:flags&8?r.int():void 0,convertStars:flags&16?r.long():void 0,}},
|
package/binary/writer.js
CHANGED
|
@@ -165,6 +165,9 @@ var m={
|
|
|
165
165
|
'messageActionPrizeStars':function(w,v){w.uint(2953594786);var flags=0;if(v.unclaimed===true)flags|=1;w.uint(flags);w.long(h(v,'stars'));w.string(h(v,'transactionId'));w.object(h(v,'boostPeer'));w.int(h(v,'giveawayMsgId'));},
|
|
166
166
|
'messageActionStarGift':function(w,v){w.uint(1192749220);var flags=0;if(v.nameHidden===true)flags|=1;var _message=v.message!==undefined;if(_message)flags|=2;if(v.saved===true)flags|=4;if(v.converted===true)flags|=8;var _convertStars=v.convertStars!==undefined;if(_convertStars)flags|=16;var _upgradeMsgId=v.upgradeMsgId!==undefined;var _flags_5=v.upgraded===true||_upgradeMsgId;if(_flags_5)flags|=32;var _upgradeStars=v.upgradeStars!==undefined;if(_upgradeStars)flags|=256;if(v.refunded===true)flags|=512;if(v.canUpgrade===true)flags|=1024;var _fromId=v.fromId!==undefined;if(_fromId)flags|=2048;var _peer=v.peer!==undefined;var _savedId=v.savedId!==undefined;var _flags_12=_peer||_savedId;if(_flags_12)flags|=4096;w.uint(flags);w.object(h(v,'gift'));if(_message)w.object(v.message);if(_convertStars)w.long(v.convertStars);if(_flags_5)w.int(v.upgradeMsgId);if(_upgradeStars)w.long(v.upgradeStars);if(_fromId)w.object(v.fromId);if(_flags_12)w.object(v.peer);if(_flags_12)w.long(v.savedId);},
|
|
167
167
|
'messageActionStarGiftUnique':function(w,v){w.uint(2900347777);var flags=0;if(v.upgrade===true)flags|=1;if(v.transferred===true)flags|=2;if(v.saved===true)flags|=4;var _canExportAt=v.canExportAt!==undefined;if(_canExportAt)flags|=8;var _transferStars=v.transferStars!==undefined;if(_transferStars)flags|=16;if(v.refunded===true)flags|=32;var _fromId=v.fromId!==undefined;if(_fromId)flags|=64;var _peer=v.peer!==undefined;var _savedId=v.savedId!==undefined;var _flags_7=_peer||_savedId;if(_flags_7)flags|=128;w.uint(flags);w.object(h(v,'gift'));if(_canExportAt)w.int(v.canExportAt);if(_transferStars)w.long(v.transferStars);if(_fromId)w.object(v.fromId);if(_flags_7)w.object(v.peer);if(_flags_7)w.long(v.savedId);},
|
|
168
|
+
'messageActionPaidMessagesRefunded':function(w,v){w.uint(2887720909);w.int(h(v,'count'));w.long(h(v,'stars'));},
|
|
169
|
+
'messageActionPaidMessagesPrice':function(w,v){w.uint(3168211993);w.long(h(v,'stars'));},
|
|
170
|
+
'messageActionConferenceCall':function(w,v){w.uint(805187450);var flags=0;if(v.missed===true)flags|=1;if(v.active===true)flags|=2;var _duration=v.duration!==undefined;if(_duration)flags|=4;var _otherParticipants=v.otherParticipants&&v.otherParticipants.length;if(_otherParticipants)flags|=8;if(v.video===true)flags|=16;w.uint(flags);w.long(h(v,'callId'));if(_duration)w.int(v.duration);if(_otherParticipants)w.vector(w.object,v.otherParticipants);},
|
|
168
171
|
'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);},
|
|
169
172
|
'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'));},
|
|
170
173
|
'photoEmpty':function(w,v){w.uint(590459437);w.long(h(v,'id'));},
|
|
@@ -179,6 +182,7 @@ var m={
|
|
|
179
182
|
'geoPoint':function(w,v){w.uint(2997024355);var flags=0;var _accuracyRadius=v.accuracyRadius!==undefined;if(_accuracyRadius)flags|=1;w.uint(flags);w.double(h(v,'long'));w.double(h(v,'lat'));w.long(h(v,'accessHash'));if(_accuracyRadius)w.int(v.accuracyRadius);},
|
|
180
183
|
'auth.sentCode':function(w,v){w.uint(1577067778);var flags=0;var _nextType=v.nextType!==undefined;if(_nextType)flags|=2;var _timeout=v.timeout!==undefined;if(_timeout)flags|=4;w.uint(flags);w.object(h(v,'type'));w.string(h(v,'phoneCodeHash'));if(_nextType)w.object(v.nextType);if(_timeout)w.int(v.timeout);},
|
|
181
184
|
'auth.sentCodeSuccess':function(w,v){w.uint(596704836);w.object(h(v,'authorization'));},
|
|
185
|
+
'auth.sentCodePaymentRequired':function(w,v){w.uint(3620665728);w.string(h(v,'storeProduct'));w.string(h(v,'phoneCodeHash'));},
|
|
182
186
|
'auth.authorization':function(w,v){w.uint(782418132);var flags=0;var _tmpSessions=v.tmpSessions!==undefined;if(_tmpSessions)flags|=1;var _otherwiseReloginDays=v.otherwiseReloginDays!==undefined;var _flags_1=v.setupPasswordRequired===true||_otherwiseReloginDays;if(_flags_1)flags|=2;var _futureAuthToken=v.futureAuthToken!==undefined;if(_futureAuthToken)flags|=4;w.uint(flags);if(_flags_1)w.int(v.otherwiseReloginDays);if(_tmpSessions)w.int(v.tmpSessions);if(_futureAuthToken)w.bytes(v.futureAuthToken);w.object(h(v,'user'));},
|
|
183
187
|
'auth.authorizationSignUpRequired':function(w,v){w.uint(1148485274);var flags=0;var _termsOfService=v.termsOfService!==undefined;if(_termsOfService)flags|=1;w.uint(flags);if(_termsOfService)w.object(v.termsOfService);},
|
|
184
188
|
'auth.exportedAuthorization':function(w,v){w.uint(3023364792);w.long(h(v,'id'));w.bytes(h(v,'bytes'));},
|
|
@@ -202,7 +206,7 @@ var m={
|
|
|
202
206
|
'inputReportReasonFake':function(w){w.uint(4124956391);},
|
|
203
207
|
'inputReportReasonIllegalDrugs':function(w){w.uint(177124030);},
|
|
204
208
|
'inputReportReasonPersonalDetails':function(w){w.uint(2663876157);},
|
|
205
|
-
'userFull':function(w,v){w.uint(
|
|
209
|
+
'userFull':function(w,v){w.uint(2582085701);var flags=0;if(v.blocked===true)flags|=1;var _about=v.about!==undefined;if(_about)flags|=2;var _profilePhoto=v.profilePhoto!==undefined;if(_profilePhoto)flags|=4;var _botInfo=v.botInfo!==undefined;if(_botInfo)flags|=8;if(v.phoneCallsAvailable===true)flags|=16;if(v.phoneCallsPrivate===true)flags|=32;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=64;if(v.canPinMessage===true)flags|=128;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;if(v.hasScheduled===true)flags|=4096;if(v.videoCallsAvailable===true)flags|=8192;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16384;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=32768;var _privateForwardName=v.privateForwardName!==undefined;if(_privateForwardName)flags|=65536;var _botGroupAdminRights=v.botGroupAdminRights!==undefined;if(_botGroupAdminRights)flags|=131072;var _botBroadcastAdminRights=v.botBroadcastAdminRights!==undefined;if(_botBroadcastAdminRights)flags|=262144;if(v.voiceMessagesForbidden===true)flags|=1048576;var _personalPhoto=v.personalPhoto!==undefined;if(_personalPhoto)flags|=2097152;var _fallbackPhoto=v.fallbackPhoto!==undefined;if(_fallbackPhoto)flags|=4194304;if(v.translationsDisabled===true)flags|=8388608;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=16777216;var _stories=v.stories!==undefined;if(_stories)flags|=33554432;if(v.storiesPinnedAvailable===true)flags|=67108864;if(v.blockedMyStoriesFrom===true)flags|=134217728;if(v.wallpaperOverridden===true)flags|=268435456;if(v.contactRequirePremium===true)flags|=536870912;if(v.readDatesPrivate===true)flags|=1073741824;w.uint(flags);var flags2=0;var _businessWorkHours=v.businessWorkHours!==undefined;if(_businessWorkHours)flags2|=1;var _businessLocation=v.businessLocation!==undefined;if(_businessLocation)flags2|=2;var _businessGreetingMessage=v.businessGreetingMessage!==undefined;if(_businessGreetingMessage)flags2|=4;var _businessAwayMessage=v.businessAwayMessage!==undefined;if(_businessAwayMessage)flags2|=8;var _businessIntro=v.businessIntro!==undefined;if(_businessIntro)flags2|=16;var _birthday=v.birthday!==undefined;if(_birthday)flags2|=32;var _personalChannelId=v.personalChannelId!==undefined;var _personalChannelMessage=v.personalChannelMessage!==undefined;var _flags2_6=_personalChannelId||_personalChannelMessage;if(_flags2_6)flags2|=64;if(v.sponsoredEnabled===true)flags2|=128;var _stargiftsCount=v.stargiftsCount!==undefined;if(_stargiftsCount)flags2|=256;if(v.canViewRevenue===true)flags2|=512;if(v.botCanManageEmojiStatus===true)flags2|=1024;var _starrefProgram=v.starrefProgram!==undefined;if(_starrefProgram)flags2|=2048;var _botVerification=v.botVerification!==undefined;if(_botVerification)flags2|=4096;var _sendPaidMessagesStars=v.sendPaidMessagesStars!==undefined;if(_sendPaidMessagesStars)flags2|=16384;var _disallowedGifts=v.disallowedGifts!==undefined;if(_disallowedGifts)flags2|=32768;if(v.displayGiftsButton===true)flags2|=65536;w.uint(flags2);w.int53(h(v,'id'));if(_about)w.string(v.about);w.object(h(v,'settings'));if(_personalPhoto)w.object(v.personalPhoto);if(_profilePhoto)w.object(v.profilePhoto);if(_fallbackPhoto)w.object(v.fallbackPhoto);w.object(h(v,'notifySettings'));if(_botInfo)w.object(v.botInfo);if(_pinnedMsgId)w.int(v.pinnedMsgId);w.int(h(v,'commonChatsCount'));if(_folderId)w.int(v.folderId);if(_ttlPeriod)w.int(v.ttlPeriod);if(_themeEmoticon)w.string(v.themeEmoticon);if(_privateForwardName)w.string(v.privateForwardName);if(_botGroupAdminRights)w.object(v.botGroupAdminRights);if(_botBroadcastAdminRights)w.object(v.botBroadcastAdminRights);if(_wallpaper)w.object(v.wallpaper);if(_stories)w.object(v.stories);if(_businessWorkHours)w.object(v.businessWorkHours);if(_businessLocation)w.object(v.businessLocation);if(_businessGreetingMessage)w.object(v.businessGreetingMessage);if(_businessAwayMessage)w.object(v.businessAwayMessage);if(_businessIntro)w.object(v.businessIntro);if(_birthday)w.object(v.birthday);if(_flags2_6)w.int53(v.personalChannelId);if(_flags2_6)w.int(v.personalChannelMessage);if(_stargiftsCount)w.int(v.stargiftsCount);if(_starrefProgram)w.object(v.starrefProgram);if(_botVerification)w.object(v.botVerification);if(_sendPaidMessagesStars)w.long(v.sendPaidMessagesStars);if(_disallowedGifts)w.object(v.disallowedGifts);},
|
|
206
210
|
'contact':function(w,v){w.uint(341499403);w.int53(h(v,'userId'));w.boolean(h(v,'mutual'));},
|
|
207
211
|
'importedContact':function(w,v){w.uint(3242081360);w.int53(h(v,'userId'));w.long(h(v,'clientId'));},
|
|
208
212
|
'contactStatus':function(w,v){w.uint(383348795);w.int53(h(v,'userId'));w.object(h(v,'status'));},
|
|
@@ -380,6 +384,8 @@ var m={
|
|
|
380
384
|
'updateStarsRevenueStatus':function(w,v){w.uint(2776936473);w.object(h(v,'peer'));w.object(h(v,'status'));},
|
|
381
385
|
'updateBotPurchasedPaidMedia':function(w,v){w.uint(675009298);w.int53(h(v,'userId'));w.string(h(v,'payload'));w.int(h(v,'qts'));},
|
|
382
386
|
'updatePaidReactionPrivacy':function(w,v){w.uint(2339528654);w.object(h(v,'private'));},
|
|
387
|
+
'updateSentPhoneCode':function(w,v){w.uint(1347068303);w.object(h(v,'sentCode'));},
|
|
388
|
+
'updateGroupCallChainBlocks':function(w,v){w.uint(2759272591);w.object(h(v,'call'));w.int(h(v,'subChainId'));w.vector(w.bytes,h(v,'blocks'));w.int(h(v,'nextOffset'));},
|
|
383
389
|
'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'));},
|
|
384
390
|
'updates.differenceEmpty':function(w,v){w.uint(1567990072);w.int(h(v,'date'));w.int(h(v,'seq'));},
|
|
385
391
|
'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'));},
|
|
@@ -752,7 +758,7 @@ var m={
|
|
|
752
758
|
'phoneCallDiscardReasonDisconnect':function(w){w.uint(3767910816);},
|
|
753
759
|
'phoneCallDiscardReasonHangup':function(w){w.uint(1471006352);},
|
|
754
760
|
'phoneCallDiscardReasonBusy':function(w){w.uint(4210550985);},
|
|
755
|
-
'
|
|
761
|
+
'phoneCallDiscardReasonMigrateConferenceCall':function(w,v){w.uint(2679894519);w.string(h(v,'slug'));},
|
|
756
762
|
'dataJSON':function(w,v){w.uint(2104790276);w.string(h(v,'data'));},
|
|
757
763
|
'labeledPrice':function(w,v){w.uint(3408489464);w.string(h(v,'label'));w.long(h(v,'amount'));},
|
|
758
764
|
'invoice':function(w,v){w.uint(77522308);var flags=0;if(v.test===true)flags|=1;if(v.nameRequested===true)flags|=2;if(v.phoneRequested===true)flags|=4;if(v.emailRequested===true)flags|=8;if(v.shippingAddressRequested===true)flags|=16;if(v.flexible===true)flags|=32;if(v.phoneToProvider===true)flags|=64;if(v.emailToProvider===true)flags|=128;var _maxTipAmount=v.maxTipAmount!==undefined;var _suggestedTipAmounts=v.suggestedTipAmounts&&v.suggestedTipAmounts.length;var _flags_8=_maxTipAmount||_suggestedTipAmounts;if(_flags_8)flags|=256;if(v.recurring===true)flags|=512;var _termsUrl=v.termsUrl!==undefined;if(_termsUrl)flags|=1024;var _subscriptionPeriod=v.subscriptionPeriod!==undefined;if(_subscriptionPeriod)flags|=2048;w.uint(flags);w.string(h(v,'currency'));w.vector(w.object,h(v,'prices'));if(_flags_8)w.long(v.maxTipAmount);if(_flags_8)w.vector(w.long,v.suggestedTipAmounts);if(_termsUrl)w.string(v.termsUrl);if(_subscriptionPeriod)w.int(v.subscriptionPeriod);},
|
|
@@ -785,11 +791,11 @@ var m={
|
|
|
785
791
|
'inputStickerSetItem':function(w,v){w.uint(853188252);var flags=0;var _maskCoords=v.maskCoords!==undefined;if(_maskCoords)flags|=1;var _keywords=v.keywords!==undefined;if(_keywords)flags|=2;w.uint(flags);w.object(h(v,'document'));w.string(h(v,'emoji'));if(_maskCoords)w.object(v.maskCoords);if(_keywords)w.string(v.keywords);},
|
|
786
792
|
'inputPhoneCall':function(w,v){w.uint(506920429);w.long(h(v,'id'));w.long(h(v,'accessHash'));},
|
|
787
793
|
'phoneCallEmpty':function(w,v){w.uint(1399245077);w.long(h(v,'id'));},
|
|
788
|
-
'phoneCallWaiting':function(w,v){w.uint(
|
|
789
|
-
'phoneCallRequested':function(w,v){w.uint(
|
|
790
|
-
'phoneCallAccepted':function(w,v){w.uint(
|
|
791
|
-
'phoneCall':function(w,v){w.uint(
|
|
792
|
-
'phoneCallDiscarded':function(w,v){w.uint(
|
|
794
|
+
'phoneCallWaiting':function(w,v){w.uint(3307368215);var flags=0;var _receiveDate=v.receiveDate!==undefined;if(_receiveDate)flags|=1;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.object(h(v,'protocol'));if(_receiveDate)w.int(v.receiveDate);},
|
|
795
|
+
'phoneCallRequested':function(w,v){w.uint(347139340);var flags=0;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.bytes(h(v,'gAHash'));w.object(h(v,'protocol'));},
|
|
796
|
+
'phoneCallAccepted':function(w,v){w.uint(912311057);var flags=0;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.bytes(h(v,'gB'));w.object(h(v,'protocol'));},
|
|
797
|
+
'phoneCall':function(w,v){w.uint(810769141);var flags=0;if(v.p2pAllowed===true)flags|=32;if(v.video===true)flags|=64;var _customParameters=v.customParameters!==undefined;if(_customParameters)flags|=128;if(v.conferenceSupported===true)flags|=256;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.bytes(h(v,'gAOrB'));w.long(h(v,'keyFingerprint'));w.object(h(v,'protocol'));w.vector(w.object,h(v,'connections'));w.int(h(v,'startDate'));if(_customParameters)w.object(v.customParameters);},
|
|
798
|
+
'phoneCallDiscarded':function(w,v){w.uint(1355435489);var flags=0;var _reason=v.reason!==undefined;if(_reason)flags|=1;var _duration=v.duration!==undefined;if(_duration)flags|=2;if(v.needRating===true)flags|=4;if(v.needDebug===true)flags|=8;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));if(_reason)w.object(v.reason);if(_duration)w.int(v.duration);},
|
|
793
799
|
'phoneConnection':function(w,v){w.uint(2629903303);var flags=0;if(v.tcp===true)flags|=1;w.uint(flags);w.long(h(v,'id'));w.string(h(v,'ip'));w.string(h(v,'ipv6'));w.int(h(v,'port'));w.bytes(h(v,'peerTag'));},
|
|
794
800
|
'phoneConnectionWebrtc':function(w,v){w.uint(1667228533);var flags=0;if(v.turn===true)flags|=1;if(v.stun===true)flags|=2;w.uint(flags);w.long(h(v,'id'));w.string(h(v,'ip'));w.string(h(v,'ipv6'));w.int(h(v,'port'));w.string(h(v,'username'));w.string(h(v,'password'));},
|
|
795
801
|
'phoneCallProtocol':function(w,v){w.uint(4236742600);var flags=0;if(v.udpP2p===true)flags|=1;if(v.udpReflector===true)flags|=2;w.uint(flags);w.int(h(v,'minLayer'));w.int(h(v,'maxLayer'));w.vector(w.string,h(v,'libraryVersions'));},
|
|
@@ -1031,7 +1037,7 @@ var m={
|
|
|
1031
1037
|
'statsGroupTopAdmin':function(w,v){w.uint(3612888199);w.int53(h(v,'userId'));w.int(h(v,'deleted'));w.int(h(v,'kicked'));w.int(h(v,'banned'));},
|
|
1032
1038
|
'statsGroupTopInviter':function(w,v){w.uint(1398765469);w.int53(h(v,'userId'));w.int(h(v,'invitations'));},
|
|
1033
1039
|
'stats.megagroupStats':function(w,v){w.uint(4018141462);w.object(h(v,'period'));w.object(h(v,'members'));w.object(h(v,'messages'));w.object(h(v,'viewers'));w.object(h(v,'posters'));w.object(h(v,'growthGraph'));w.object(h(v,'membersGraph'));w.object(h(v,'newMembersBySourceGraph'));w.object(h(v,'languagesGraph'));w.object(h(v,'messagesGraph'));w.object(h(v,'actionsGraph'));w.object(h(v,'topHoursGraph'));w.object(h(v,'weekdaysGraph'));w.vector(w.object,h(v,'topPosters'));w.vector(w.object,h(v,'topAdmins'));w.vector(w.object,h(v,'topInviters'));w.vector(w.object,h(v,'users'));},
|
|
1034
|
-
'globalPrivacySettings':function(w,v){w.uint(
|
|
1040
|
+
'globalPrivacySettings':function(w,v){w.uint(4265718607);var flags=0;if(v.archiveAndMuteNewNoncontactPeers===true)flags|=1;if(v.keepArchivedUnmuted===true)flags|=2;if(v.keepArchivedFolders===true)flags|=4;if(v.hideReadMarks===true)flags|=8;if(v.newNoncontactPeersRequirePremium===true)flags|=16;var _noncontactPeersPaidStars=v.noncontactPeersPaidStars!==undefined;if(_noncontactPeersPaidStars)flags|=32;var _disallowedGifts=v.disallowedGifts!==undefined;if(_disallowedGifts)flags|=64;if(v.displayGiftsButton===true)flags|=128;w.uint(flags);if(_noncontactPeersPaidStars)w.long(v.noncontactPeersPaidStars);if(_disallowedGifts)w.object(v.disallowedGifts);},
|
|
1035
1041
|
'help.countryCode':function(w,v){w.uint(1107543535);var flags=0;var _prefixes=v.prefixes&&v.prefixes.length;if(_prefixes)flags|=1;var _patterns=v.patterns&&v.patterns.length;if(_patterns)flags|=2;w.uint(flags);w.string(h(v,'countryCode'));if(_prefixes)w.vector(w.string,v.prefixes);if(_patterns)w.vector(w.string,v.patterns);},
|
|
1036
1042
|
'help.country':function(w,v){w.uint(3280440867);var flags=0;if(v.hidden===true)flags|=1;var _name=v.name!==undefined;if(_name)flags|=2;w.uint(flags);w.string(h(v,'iso2'));w.string(h(v,'defaultName'));if(_name)w.string(v.name);w.vector(w.object,h(v,'countryCodes'));},
|
|
1037
1043
|
'help.countriesListNotModified':function(w){w.uint(2479628082);},
|
|
@@ -1045,8 +1051,10 @@ var m={
|
|
|
1045
1051
|
'peerBlocked':function(w,v){w.uint(3908927508);w.object(h(v,'peerId'));w.int(h(v,'date'));},
|
|
1046
1052
|
'stats.messageStats':function(w,v){w.uint(2145983508);w.object(h(v,'viewsGraph'));w.object(h(v,'reactionsByEmotionGraph'));},
|
|
1047
1053
|
'groupCallDiscarded':function(w,v){w.uint(2004925620);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'duration'));},
|
|
1048
|
-
'groupCall':function(w,v){w.uint(
|
|
1054
|
+
'groupCall':function(w,v){w.uint(1429932961);var flags=0;if(v.joinMuted===true)flags|=2;if(v.canChangeJoinMuted===true)flags|=4;var _title=v.title!==undefined;if(_title)flags|=8;var _streamDcId=v.streamDcId!==undefined;if(_streamDcId)flags|=16;var _recordStartDate=v.recordStartDate!==undefined;if(_recordStartDate)flags|=32;if(v.joinDateAsc===true)flags|=64;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=128;if(v.scheduleStartSubscribed===true)flags|=256;if(v.canStartVideo===true)flags|=512;var _unmutedVideoCount=v.unmutedVideoCount!==undefined;if(_unmutedVideoCount)flags|=1024;if(v.recordVideoActive===true)flags|=2048;if(v.rtmpStream===true)flags|=4096;if(v.listenersHidden===true)flags|=8192;if(v.conference===true)flags|=16384;if(v.creator===true)flags|=32768;var _inviteLink=v.inviteLink!==undefined;if(_inviteLink)flags|=65536;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'participantsCount'));if(_title)w.string(v.title);if(_streamDcId)w.int(v.streamDcId);if(_recordStartDate)w.int(v.recordStartDate);if(_scheduleDate)w.int(v.scheduleDate);if(_unmutedVideoCount)w.int(v.unmutedVideoCount);w.int(h(v,'unmutedVideoLimit'));w.int(h(v,'version'));if(_inviteLink)w.string(v.inviteLink);},
|
|
1049
1055
|
'inputGroupCall':function(w,v){w.uint(3635053583);w.long(h(v,'id'));w.long(h(v,'accessHash'));},
|
|
1056
|
+
'inputGroupCallSlug':function(w,v){w.uint(4261839423);w.string(h(v,'slug'));},
|
|
1057
|
+
'inputGroupCallInviteMessage':function(w,v){w.uint(2349883455);w.int(h(v,'msgId'));},
|
|
1050
1058
|
'groupCallParticipant':function(w,v){w.uint(3953538814);var flags=0;if(v.muted===true)flags|=1;if(v.left===true)flags|=2;if(v.canSelfUnmute===true)flags|=4;var _activeDate=v.activeDate!==undefined;if(_activeDate)flags|=8;if(v.justJoined===true)flags|=16;if(v.versioned===true)flags|=32;var _video=v.video!==undefined;if(_video)flags|=64;var _volume=v.volume!==undefined;if(_volume)flags|=128;if(v.min===true)flags|=256;if(v.mutedByYou===true)flags|=512;if(v.volumeByAdmin===true)flags|=1024;var _about=v.about!==undefined;if(_about)flags|=2048;if(v.self===true)flags|=4096;var _raiseHandRating=v.raiseHandRating!==undefined;if(_raiseHandRating)flags|=8192;var _presentation=v.presentation!==undefined;if(_presentation)flags|=16384;if(v.videoJoined===true)flags|=32768;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'date'));if(_activeDate)w.int(v.activeDate);w.int(h(v,'source'));if(_volume)w.int(v.volume);if(_about)w.string(v.about);if(_raiseHandRating)w.long(v.raiseHandRating);if(_video)w.object(v.video);if(_presentation)w.object(v.presentation);},
|
|
1051
1059
|
'phone.groupCall':function(w,v){w.uint(2658302637);w.object(h(v,'call'));w.vector(w.object,h(v,'participants'));w.string(h(v,'participantsNextOffset'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1052
1060
|
'phone.groupParticipants':function(w,v){w.uint(4101460406);w.int(h(v,'count'));w.vector(w.object,h(v,'participants'));w.string(h(v,'nextOffset'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));w.int(h(v,'version'));},
|
|
@@ -1136,6 +1144,7 @@ var m={
|
|
|
1136
1144
|
'inputInvoiceStarGiftUpgrade':function(w,v){w.uint(1300335965);var flags=0;if(v.keepOriginalDetails===true)flags|=1;w.uint(flags);w.object(h(v,'stargift'));},
|
|
1137
1145
|
'inputInvoiceStarGiftTransfer':function(w,v){w.uint(1247763417);w.object(h(v,'stargift'));w.object(h(v,'toId'));},
|
|
1138
1146
|
'inputInvoicePremiumGiftStars':function(w,v){w.uint(3669668591);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;w.uint(flags);w.object(h(v,'userId'));w.int(h(v,'months'));if(_message)w.object(v.message);},
|
|
1147
|
+
'inputInvoiceBusinessBotTransferStars':function(w,v){w.uint(4103700034);w.object(h(v,'bot'));w.long(h(v,'stars'));},
|
|
1139
1148
|
'payments.exportedInvoice':function(w,v){w.uint(2932919257);w.string(h(v,'url'));},
|
|
1140
1149
|
'messages.transcribedAudio':function(w,v){w.uint(3485063511);var flags=0;if(v.pending===true)flags|=1;var _trialRemainsNum=v.trialRemainsNum!==undefined;var _trialRemainsUntilDate=v.trialRemainsUntilDate!==undefined;var _flags_1=_trialRemainsNum||_trialRemainsUntilDate;if(_flags_1)flags|=2;w.uint(flags);w.long(h(v,'transcriptionId'));w.string(h(v,'text'));if(_flags_1)w.int(v.trialRemainsNum);if(_flags_1)w.int(v.trialRemainsUntilDate);},
|
|
1141
1150
|
'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'));},
|
|
@@ -1146,6 +1155,7 @@ var m={
|
|
|
1146
1155
|
'inputStorePaymentStarsTopup':function(w,v){w.uint(3722252118);w.long(h(v,'stars'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1147
1156
|
'inputStorePaymentStarsGift':function(w,v){w.uint(494149367);w.object(h(v,'userId'));w.long(h(v,'stars'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1148
1157
|
'inputStorePaymentStarsGiveaway':function(w,v){w.uint(1964968186);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;if(v.winnersAreVisible===true)flags|=8;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=16;w.uint(flags);w.long(h(v,'stars'));w.object(h(v,'boostPeer'));if(_additionalPeers)w.vector(w.object,v.additionalPeers);if(_countriesIso2)w.vector(w.string,v.countriesIso2);if(_prizeDescription)w.string(v.prizeDescription);w.long(h(v,'randomId'));w.int(h(v,'untilDate'));w.string(h(v,'currency'));w.long(h(v,'amount'));w.int(h(v,'users'));},
|
|
1158
|
+
'inputStorePaymentAuthCode':function(w,v){w.uint(2612159341);var flags=0;if(v.restore===true)flags|=1;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1149
1159
|
'paymentFormMethod':function(w,v){w.uint(2298016283);w.string(h(v,'url'));w.string(h(v,'title'));},
|
|
1150
1160
|
'emojiStatusEmpty':function(w){w.uint(769727150);},
|
|
1151
1161
|
'emojiStatus':function(w,v){w.uint(3892250250);var flags=0;var _until=v.until!==undefined;if(_until)flags|=1;w.uint(flags);w.long(h(v,'documentId'));if(_until)w.int(v.until);},
|
|
@@ -1304,11 +1314,11 @@ var m={
|
|
|
1304
1314
|
'inputQuickReplyShortcutId':function(w,v){w.uint(18418929);w.int(h(v,'shortcutId'));},
|
|
1305
1315
|
'messages.quickReplies':function(w,v){w.uint(3331155605);w.vector(w.object,h(v,'quickReplies'));w.vector(w.object,h(v,'messages'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1306
1316
|
'messages.quickRepliesNotModified':function(w){w.uint(1603398491);},
|
|
1307
|
-
'connectedBot':function(w,v){w.uint(
|
|
1317
|
+
'connectedBot':function(w,v){w.uint(3445908332);var flags=0;w.uint(flags);w.int53(h(v,'botId'));w.object(h(v,'recipients'));w.object(h(v,'rights'));},
|
|
1308
1318
|
'account.connectedBots':function(w,v){w.uint(400029819);w.vector(w.object,h(v,'connectedBots'));w.vector(w.object,h(v,'users'));},
|
|
1309
1319
|
'messages.dialogFilters':function(w,v){w.uint(718878489);var flags=0;if(v.tagsEnabled===true)flags|=1;w.uint(flags);w.vector(w.object,h(v,'filters'));},
|
|
1310
1320
|
'birthday':function(w,v){w.uint(1821253126);var flags=0;var _year=v.year!==undefined;if(_year)flags|=1;w.uint(flags);w.int(h(v,'day'));w.int(h(v,'month'));if(_year)w.int(v.year);},
|
|
1311
|
-
'botBusinessConnection':function(w,v){w.uint(
|
|
1321
|
+
'botBusinessConnection':function(w,v){w.uint(2402595573);var flags=0;if(v.disabled===true)flags|=2;var _rights=v.rights!==undefined;if(_rights)flags|=4;w.uint(flags);w.string(h(v,'connectionId'));w.int53(h(v,'userId'));w.int(h(v,'dcId'));w.int(h(v,'date'));if(_rights)w.object(v.rights);},
|
|
1312
1322
|
'inputBusinessIntro':function(w,v){w.uint(163867085);var flags=0;var _sticker=v.sticker!==undefined;if(_sticker)flags|=1;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_sticker)w.object(v.sticker);},
|
|
1313
1323
|
'businessIntro':function(w,v){w.uint(1510606445);var flags=0;var _sticker=v.sticker!==undefined;if(_sticker)flags|=1;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_sticker)w.object(v.sticker);},
|
|
1314
1324
|
'messages.myStickers':function(w,v){w.uint(4211040925);w.int(h(v,'count'));w.vector(w.object,h(v,'sets'));},
|
|
@@ -1355,7 +1365,7 @@ var m={
|
|
|
1355
1365
|
'starsTransactionPeerAds':function(w){w.uint(1617438738);},
|
|
1356
1366
|
'starsTransactionPeerAPI':function(w){w.uint(4184308397);},
|
|
1357
1367
|
'starsTopupOption':function(w,v){w.uint(198776256);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;if(v.extended===true)flags|=2;w.uint(flags);w.long(h(v,'stars'));if(_storeProduct)w.string(v.storeProduct);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1358
|
-
'starsTransaction':function(w,v){w.uint(2745162058);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _description=v.description!==undefined;if(_description)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;if(v.refund===true)flags|=8;if(v.pending===true)flags|=16;var _transactionDate=v.transactionDate!==undefined;var _transactionUrl=v.transactionUrl!==undefined;var _flags_5=_transactionDate||_transactionUrl;if(_flags_5)flags|=32;if(v.failed===true)flags|=64;var _botPayload=v.botPayload!==undefined;if(_botPayload)flags|=128;var _msgId=v.msgId!==undefined;if(_msgId)flags|=256;var _extendedMedia=v.extendedMedia&&v.extendedMedia.length;if(_extendedMedia)flags|=512;if(v.gift===true)flags|=1024;if(v.reaction===true)flags|=2048;var _subscriptionPeriod=v.subscriptionPeriod!==undefined;if(_subscriptionPeriod)flags|=4096;var _giveawayPostId=v.giveawayPostId!==undefined;if(_giveawayPostId)flags|=8192;var _stargift=v.stargift!==undefined;if(_stargift)flags|=16384;var _floodskipNumber=v.floodskipNumber!==undefined;if(_floodskipNumber)flags|=32768;var _starrefCommissionPermille=v.starrefCommissionPermille!==undefined;if(_starrefCommissionPermille)flags|=65536;var _starrefPeer=v.starrefPeer!==undefined;var _starrefAmount=v.starrefAmount!==undefined;var _flags_17=_starrefPeer||_starrefAmount;if(_flags_17)flags|=131072;if(v.stargiftUpgrade===true)flags|=262144;var _paidMessages=v.paidMessages!==undefined;if(_paidMessages)flags|=524288;var _premiumGiftMonths=v.premiumGiftMonths!==undefined;if(_premiumGiftMonths)flags|=1048576;w.uint(flags);w.string(h(v,'id'));w.object(h(v,'stars'));w.int(h(v,'date'));w.object(h(v,'peer'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_photo)w.object(v.photo);if(_flags_5)w.int(v.transactionDate);if(_flags_5)w.string(v.transactionUrl);if(_botPayload)w.bytes(v.botPayload);if(_msgId)w.int(v.msgId);if(_extendedMedia)w.vector(w.object,v.extendedMedia);if(_subscriptionPeriod)w.int(v.subscriptionPeriod);if(_giveawayPostId)w.int(v.giveawayPostId);if(_stargift)w.object(v.stargift);if(_floodskipNumber)w.int(v.floodskipNumber);if(_starrefCommissionPermille)w.int(v.starrefCommissionPermille);if(_flags_17)w.object(v.starrefPeer);if(_flags_17)w.object(v.starrefAmount);if(_paidMessages)w.int(v.paidMessages);if(_premiumGiftMonths)w.int(v.premiumGiftMonths);},
|
|
1368
|
+
'starsTransaction':function(w,v){w.uint(2745162058);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _description=v.description!==undefined;if(_description)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;if(v.refund===true)flags|=8;if(v.pending===true)flags|=16;var _transactionDate=v.transactionDate!==undefined;var _transactionUrl=v.transactionUrl!==undefined;var _flags_5=_transactionDate||_transactionUrl;if(_flags_5)flags|=32;if(v.failed===true)flags|=64;var _botPayload=v.botPayload!==undefined;if(_botPayload)flags|=128;var _msgId=v.msgId!==undefined;if(_msgId)flags|=256;var _extendedMedia=v.extendedMedia&&v.extendedMedia.length;if(_extendedMedia)flags|=512;if(v.gift===true)flags|=1024;if(v.reaction===true)flags|=2048;var _subscriptionPeriod=v.subscriptionPeriod!==undefined;if(_subscriptionPeriod)flags|=4096;var _giveawayPostId=v.giveawayPostId!==undefined;if(_giveawayPostId)flags|=8192;var _stargift=v.stargift!==undefined;if(_stargift)flags|=16384;var _floodskipNumber=v.floodskipNumber!==undefined;if(_floodskipNumber)flags|=32768;var _starrefCommissionPermille=v.starrefCommissionPermille!==undefined;if(_starrefCommissionPermille)flags|=65536;var _starrefPeer=v.starrefPeer!==undefined;var _starrefAmount=v.starrefAmount!==undefined;var _flags_17=_starrefPeer||_starrefAmount;if(_flags_17)flags|=131072;if(v.stargiftUpgrade===true)flags|=262144;var _paidMessages=v.paidMessages!==undefined;if(_paidMessages)flags|=524288;var _premiumGiftMonths=v.premiumGiftMonths!==undefined;if(_premiumGiftMonths)flags|=1048576;if(v.businessTransfer===true)flags|=2097152;w.uint(flags);w.string(h(v,'id'));w.object(h(v,'stars'));w.int(h(v,'date'));w.object(h(v,'peer'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_photo)w.object(v.photo);if(_flags_5)w.int(v.transactionDate);if(_flags_5)w.string(v.transactionUrl);if(_botPayload)w.bytes(v.botPayload);if(_msgId)w.int(v.msgId);if(_extendedMedia)w.vector(w.object,v.extendedMedia);if(_subscriptionPeriod)w.int(v.subscriptionPeriod);if(_giveawayPostId)w.int(v.giveawayPostId);if(_stargift)w.object(v.stargift);if(_floodskipNumber)w.int(v.floodskipNumber);if(_starrefCommissionPermille)w.int(v.starrefCommissionPermille);if(_flags_17)w.object(v.starrefPeer);if(_flags_17)w.object(v.starrefAmount);if(_paidMessages)w.int(v.paidMessages);if(_premiumGiftMonths)w.int(v.premiumGiftMonths);},
|
|
1359
1369
|
'payments.starsStatus':function(w,v){w.uint(1822222573);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;var _subscriptions=v.subscriptions&&v.subscriptions.length;if(_subscriptions)flags|=2;var _subscriptionsNextOffset=v.subscriptionsNextOffset!==undefined;if(_subscriptionsNextOffset)flags|=4;var _history=v.history&&v.history.length;if(_history)flags|=8;var _subscriptionsMissingBalance=v.subscriptionsMissingBalance!==undefined;if(_subscriptionsMissingBalance)flags|=16;w.uint(flags);w.object(h(v,'balance'));if(_subscriptions)w.vector(w.object,v.subscriptions);if(_subscriptionsNextOffset)w.string(v.subscriptionsNextOffset);if(_subscriptionsMissingBalance)w.long(v.subscriptionsMissingBalance);if(_history)w.vector(w.object,v.history);if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1360
1370
|
'foundStory':function(w,v){w.uint(3900361664);w.object(h(v,'peer'));w.object(h(v,'story'));},
|
|
1361
1371
|
'stories.foundStories':function(w,v){w.uint(3806230327);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,'stories'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
@@ -1415,6 +1425,12 @@ var m={
|
|
|
1415
1425
|
'requirementToContactEmpty':function(w){w.uint(84580409);},
|
|
1416
1426
|
'requirementToContactPremium':function(w){w.uint(3850495209);},
|
|
1417
1427
|
'requirementToContactPaidMessages':function(w,v){w.uint(3036053139);w.long(h(v,'starsAmount'));},
|
|
1428
|
+
'businessBotRights':function(w,v){w.uint(2690796791);var flags=0;if(v.reply===true)flags|=1;if(v.readMessages===true)flags|=2;if(v.deleteSentMessages===true)flags|=4;if(v.deleteReceivedMessages===true)flags|=8;if(v.editName===true)flags|=16;if(v.editBio===true)flags|=32;if(v.editProfilePhoto===true)flags|=64;if(v.editUsername===true)flags|=128;if(v.viewGifts===true)flags|=256;if(v.sellGifts===true)flags|=512;if(v.changeGiftSettings===true)flags|=1024;if(v.transferAndUpgradeGifts===true)flags|=2048;if(v.transferStars===true)flags|=4096;if(v.manageStories===true)flags|=8192;w.uint(flags);},
|
|
1429
|
+
'disallowedGiftsSettings':function(w,v){w.uint(1911715524);var flags=0;if(v.disallowUnlimitedStargifts===true)flags|=1;if(v.disallowLimitedStargifts===true)flags|=2;if(v.disallowUniqueStargifts===true)flags|=4;if(v.disallowPremiumGifts===true)flags|=8;w.uint(flags);},
|
|
1430
|
+
'sponsoredPeer':function(w,v){w.uint(3331786963);var flags=0;var _sponsorInfo=v.sponsorInfo!==undefined;if(_sponsorInfo)flags|=1;var _additionalInfo=v.additionalInfo!==undefined;if(_additionalInfo)flags|=2;w.uint(flags);w.bytes(h(v,'randomId'));w.object(h(v,'peer'));if(_sponsorInfo)w.string(v.sponsorInfo);if(_additionalInfo)w.string(v.additionalInfo);},
|
|
1431
|
+
'contacts.sponsoredPeersEmpty':function(w){w.uint(3929191601);},
|
|
1432
|
+
'contacts.sponsoredPeers':function(w,v){w.uint(3942852740);w.vector(w.object,h(v,'peers'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1433
|
+
'phoneCallDiscardReasonAllowGroupCall':function(w,v){w.uint(2950871097);w.bytes(h(v,'encryptedKey'));},
|
|
1418
1434
|
'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);},
|
|
1419
1435
|
'emojiStatusUntil':function(w,v){w.uint(4197492935);w.long(h(v,'documentId'));w.int(h(v,'until'));},
|
|
1420
1436
|
'userStarGift':function(w,v){w.uint(4003764846);var flags=0;if(v.nameHidden===true)flags|=1;var _fromId=v.fromId!==undefined;if(_fromId)flags|=2;var _message=v.message!==undefined;if(_message)flags|=4;var _msgId=v.msgId!==undefined;if(_msgId)flags|=8;var _convertStars=v.convertStars!==undefined;if(_convertStars)flags|=16;if(v.unsaved===true)flags|=32;w.uint(flags);if(_fromId)w.int53(v.fromId);w.int(h(v,'date'));w.object(h(v,'gift'));if(_message)w.object(v.message);if(_msgId)w.int(v.msgId);if(_convertStars)w.long(v.convertStars);},
|
|
@@ -1555,7 +1571,7 @@ var m={
|
|
|
1555
1571
|
'account.updateBusinessLocation':function(w,v){w.uint(2657817370);var flags=0;var _address=v.address!==undefined;if(_address)flags|=1;var _geoPoint=v.geoPoint!==undefined;if(_geoPoint)flags|=2;w.uint(flags);if(_geoPoint)w.object(v.geoPoint);if(_address)w.string(v.address);},
|
|
1556
1572
|
'account.updateBusinessGreetingMessage':function(w,v){w.uint(1724755908);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;w.uint(flags);if(_message)w.object(v.message);},
|
|
1557
1573
|
'account.updateBusinessAwayMessage':function(w,v){w.uint(2724888485);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;w.uint(flags);if(_message)w.object(v.message);},
|
|
1558
|
-
'account.updateConnectedBot':function(w,v){w.uint(
|
|
1574
|
+
'account.updateConnectedBot':function(w,v){w.uint(1721797758);var flags=0;var _rights=v.rights!==undefined;if(_rights)flags|=1;if(v.deleted===true)flags|=2;w.uint(flags);if(_rights)w.object(v.rights);w.object(h(v,'bot'));w.object(h(v,'recipients'));},
|
|
1559
1575
|
'account.getConnectedBots':function(w){w.uint(1319421967);},
|
|
1560
1576
|
'account.getBotBusinessConnection':function(w,v){w.uint(1990746736);w.string(h(v,'connectionId'));},
|
|
1561
1577
|
'account.updateBusinessIntro':function(w,v){w.uint(2786381876);var flags=0;var _intro=v.intro!==undefined;if(_intro)flags|=1;w.uint(flags);if(_intro)w.object(v.intro);},
|
|
@@ -1604,6 +1620,7 @@ var m={
|
|
|
1604
1620
|
'contacts.editCloseFriends':function(w,v){w.uint(3127313904);w.vector(w.int53,h(v,'id'));},
|
|
1605
1621
|
'contacts.setBlocked':function(w,v){w.uint(2496027766);var flags=0;if(v.myStoriesFrom===true)flags|=1;w.uint(flags);w.vector(w.object,h(v,'id'));w.int(h(v,'limit'));},
|
|
1606
1622
|
'contacts.getBirthdays':function(w){w.uint(3673008228);},
|
|
1623
|
+
'contacts.getSponsoredPeers':function(w,v){w.uint(3066610579);w.string(h(v,'q'));},
|
|
1607
1624
|
'messages.getMessages':function(w,v){w.uint(1673946374);w.vector(w.object,h(v,'id'));},
|
|
1608
1625
|
'messages.getDialogs':function(w,v){w.uint(2700397391);var flags=0;if(v.excludePinned===true)flags|=1;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2;w.uint(flags);if(_folderId)w.int(v.folderId);w.int(h(v,'offsetDate'));w.int(h(v,'offsetId'));w.object(h(v,'offsetPeer'));w.int(h(v,'limit'));w.long(h(v,'hash'));},
|
|
1609
1626
|
'messages.getHistory':function(w,v){w.uint(1143203525);w.object(h(v,'peer'));w.int(h(v,'offsetId'));w.int(h(v,'offsetDate'));w.int(h(v,'addOffset'));w.int(h(v,'limit'));w.int(h(v,'maxId'));w.int(h(v,'minId'));w.long(h(v,'hash'));},
|
|
@@ -1821,9 +1838,9 @@ var m={
|
|
|
1821
1838
|
'messages.sendPaidReaction':function(w,v){w.uint(1488702288);var flags=0;var _private=v.private!==undefined;if(_private)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'count'));w.long(h(v,'randomId'));if(_private)w.object(v.private);},
|
|
1822
1839
|
'messages.togglePaidReactionPrivacy':function(w,v){w.uint(1129874869);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.object(h(v,'private'));},
|
|
1823
1840
|
'messages.getPaidReactionPrivacy':function(w){w.uint(1193563562);},
|
|
1824
|
-
'messages.viewSponsoredMessage':function(w,v){w.uint(
|
|
1825
|
-
'messages.clickSponsoredMessage':function(w,v){w.uint(
|
|
1826
|
-
'messages.reportSponsoredMessage':function(w,v){w.uint(
|
|
1841
|
+
'messages.viewSponsoredMessage':function(w,v){w.uint(647902787);w.bytes(h(v,'randomId'));},
|
|
1842
|
+
'messages.clickSponsoredMessage':function(w,v){w.uint(2184512894);var flags=0;if(v.media===true)flags|=1;if(v.fullscreen===true)flags|=2;w.uint(flags);w.bytes(h(v,'randomId'));},
|
|
1843
|
+
'messages.reportSponsoredMessage':function(w,v){w.uint(315355332);w.bytes(h(v,'randomId'));w.bytes(h(v,'option'));},
|
|
1827
1844
|
'messages.getSponsoredMessages':function(w,v){w.uint(2614293561);w.object(h(v,'peer'));},
|
|
1828
1845
|
'messages.savePreparedInlineMessage':function(w,v){w.uint(4062150447);var flags=0;var _peerTypes=v.peerTypes&&v.peerTypes.length;if(_peerTypes)flags|=1;w.uint(flags);w.object(h(v,'result'));w.object(h(v,'userId'));if(_peerTypes)w.vector(w.object,v.peerTypes);},
|
|
1829
1846
|
'messages.getPreparedInlineMessage':function(w,v){w.uint(2239675832);w.object(h(v,'bot'));w.string(h(v,'id'));},
|
|
@@ -1972,7 +1989,6 @@ var m={
|
|
|
1972
1989
|
'payments.exportInvoice':function(w,v){w.uint(261206117);w.object(h(v,'invoiceMedia'));},
|
|
1973
1990
|
'payments.assignAppStoreTransaction':function(w,v){w.uint(2163045501);w.bytes(h(v,'receipt'));w.object(h(v,'purpose'));},
|
|
1974
1991
|
'payments.assignPlayMarketTransaction':function(w,v){w.uint(3757920467);w.object(h(v,'receipt'));w.object(h(v,'purpose'));},
|
|
1975
|
-
'payments.canPurchasePremium':function(w,v){w.uint(2680266422);w.object(h(v,'purpose'));},
|
|
1976
1992
|
'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);},
|
|
1977
1993
|
'payments.checkGiftCode':function(w,v){w.uint(2387719361);w.string(h(v,'slug'));},
|
|
1978
1994
|
'payments.applyGiftCode':function(w,v){w.uint(4142032980);w.string(h(v,'slug'));},
|
|
@@ -2010,6 +2026,7 @@ var m={
|
|
|
2010
2026
|
'payments.getStarGiftWithdrawalUrl':function(w,v){w.uint(3496907688);w.object(h(v,'stargift'));w.object(h(v,'password'));},
|
|
2011
2027
|
'payments.toggleChatStarGiftNotifications':function(w,v){w.uint(1626009505);var flags=0;if(v.enabled===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
|
|
2012
2028
|
'payments.toggleStarGiftsPinnedToTop':function(w,v){w.uint(353626032);w.object(h(v,'peer'));w.vector(w.object,h(v,'stargift'));},
|
|
2029
|
+
'payments.canPurchaseStore':function(w,v){w.uint(1339842215);w.object(h(v,'purpose'));},
|
|
2013
2030
|
'stickers.createStickerSet':function(w,v){w.uint(2418125671);var flags=0;if(v.masks===true)flags|=1;var _thumb=v.thumb!==undefined;if(_thumb)flags|=4;var _software=v.software!==undefined;if(_software)flags|=8;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);},
|
|
2014
2031
|
'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
|
|
2015
2032
|
'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
|
|
@@ -2022,7 +2039,7 @@ var m={
|
|
|
2022
2039
|
'stickers.deleteStickerSet':function(w,v){w.uint(2272281492);w.object(h(v,'stickerset'));},
|
|
2023
2040
|
'stickers.replaceSticker':function(w,v){w.uint(1184253338);w.object(h(v,'sticker'));w.object(h(v,'newSticker'));},
|
|
2024
2041
|
'phone.getCallConfig':function(w){w.uint(1430593449);},
|
|
2025
|
-
'phone.requestCall':function(w,v){w.uint(
|
|
2042
|
+
'phone.requestCall':function(w,v){w.uint(1124046573);var flags=0;if(v.video===true)flags|=1;w.uint(flags);w.object(h(v,'userId'));w.int(h(v,'randomId'));w.bytes(h(v,'gAHash'));w.object(h(v,'protocol'));},
|
|
2026
2043
|
'phone.acceptCall':function(w,v){w.uint(1003664544);w.object(h(v,'peer'));w.bytes(h(v,'gB'));w.object(h(v,'protocol'));},
|
|
2027
2044
|
'phone.confirmCall':function(w,v){w.uint(788404002);w.object(h(v,'peer'));w.bytes(h(v,'gA'));w.long(h(v,'keyFingerprint'));w.object(h(v,'protocol'));},
|
|
2028
2045
|
'phone.receivedCall':function(w,v){w.uint(399855457);w.object(h(v,'peer'));},
|
|
@@ -2031,7 +2048,7 @@ var m={
|
|
|
2031
2048
|
'phone.saveCallDebug':function(w,v){w.uint(662363518);w.object(h(v,'peer'));w.object(h(v,'debug'));},
|
|
2032
2049
|
'phone.sendSignalingData':function(w,v){w.uint(4286223235);w.object(h(v,'peer'));w.bytes(h(v,'data'));},
|
|
2033
2050
|
'phone.createGroupCall':function(w,v){w.uint(1221445336);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=2;if(v.rtmpStream===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'randomId'));if(_title)w.string(v.title);if(_scheduleDate)w.int(v.scheduleDate);},
|
|
2034
|
-
'phone.joinGroupCall':function(w,v){w.uint(
|
|
2051
|
+
'phone.joinGroupCall':function(w,v){w.uint(2411016279);var flags=0;if(v.muted===true)flags|=1;var _inviteHash=v.inviteHash!==undefined;if(_inviteHash)flags|=2;if(v.videoStopped===true)flags|=4;var _publicKey=v.publicKey!==undefined;var _block=v.block!==undefined;var _flags_3=_publicKey||_block;if(_flags_3)flags|=8;w.uint(flags);w.object(h(v,'call'));w.object(h(v,'joinAs'));if(_inviteHash)w.string(v.inviteHash);if(_flags_3)w.int256(v.publicKey);if(_flags_3)w.bytes(v.block);w.object(h(v,'params'));},
|
|
2035
2052
|
'phone.leaveGroupCall':function(w,v){w.uint(1342404601);w.object(h(v,'call'));w.int(h(v,'source'));},
|
|
2036
2053
|
'phone.inviteToGroupCall':function(w,v){w.uint(2067345760);w.object(h(v,'call'));w.vector(w.object,h(v,'users'));},
|
|
2037
2054
|
'phone.discardGroupCall':function(w,v){w.uint(2054648117);w.object(h(v,'call'));},
|
|
@@ -2052,7 +2069,12 @@ var m={
|
|
|
2052
2069
|
'phone.getGroupCallStreamChannels':function(w,v){w.uint(447879488);w.object(h(v,'call'));},
|
|
2053
2070
|
'phone.getGroupCallStreamRtmpUrl':function(w,v){w.uint(3736316863);w.object(h(v,'peer'));w.boolean(h(v,'revoke'));},
|
|
2054
2071
|
'phone.saveCallLog':function(w,v){w.uint(1092913030);w.object(h(v,'peer'));w.object(h(v,'file'));},
|
|
2055
|
-
'phone.createConferenceCall':function(w,v){w.uint(
|
|
2072
|
+
'phone.createConferenceCall':function(w,v){w.uint(2097431739);var flags=0;if(v.muted===true)flags|=1;if(v.videoStopped===true)flags|=4;var _publicKey=v.publicKey!==undefined;var _block=v.block!==undefined;var _params=v.params!==undefined;var _flags_3=v.join===true||_publicKey||_block||_params;if(_flags_3)flags|=8;w.uint(flags);w.int(h(v,'randomId'));if(_flags_3)w.int256(v.publicKey);if(_flags_3)w.bytes(v.block);if(_flags_3)w.object(v.params);},
|
|
2073
|
+
'phone.deleteConferenceCallParticipants':function(w,v){w.uint(2359690533);var flags=0;if(v.onlyLeft===true)flags|=1;if(v.kick===true)flags|=2;w.uint(flags);w.object(h(v,'call'));w.vector(w.long,h(v,'ids'));w.bytes(h(v,'block'));},
|
|
2074
|
+
'phone.sendConferenceCallBroadcast':function(w,v){w.uint(3329235200);w.object(h(v,'call'));w.bytes(h(v,'block'));},
|
|
2075
|
+
'phone.inviteConferenceCallParticipant':function(w,v){w.uint(3169986181);var flags=0;if(v.video===true)flags|=1;w.uint(flags);w.object(h(v,'call'));w.object(h(v,'userId'));},
|
|
2076
|
+
'phone.declineConferenceCallInvite':function(w,v){w.uint(1011325297);w.int(h(v,'msgId'));},
|
|
2077
|
+
'phone.getGroupCallChainBlocks':function(w,v){w.uint(4003432614);w.object(h(v,'call'));w.int(h(v,'subChainId'));w.int(h(v,'offset'));w.int(h(v,'limit'));},
|
|
2056
2078
|
'langpack.getLangPack':function(w,v){w.uint(4075959050);w.string(h(v,'langPack'));w.string(h(v,'langCode'));},
|
|
2057
2079
|
'langpack.getStrings':function(w,v){w.uint(4025104387);w.string(h(v,'langPack'));w.string(h(v,'langCode'));w.vector(w.string,h(v,'keys'));},
|
|
2058
2080
|
'langpack.getDifference':function(w,v){w.uint(3449309861);w.string(h(v,'langPack'));w.string(h(v,'langCode'));w.int(h(v,'fromVersion'));},
|
|
@@ -2120,11 +2142,8 @@ var m={
|
|
|
2120
2142
|
'smsjobs.finishJob':function(w,v){w.uint(1327415076);var flags=0;var _error=v.error!==undefined;if(_error)flags|=1;w.uint(flags);w.string(h(v,'jobId'));if(_error)w.string(v.error);},
|
|
2121
2143
|
'fragment.getCollectibleInfo':function(w,v){w.uint(3189671354);w.object(h(v,'collectible'));},
|
|
2122
2144
|
'users.getIsPremiumRequiredToContact':function(w,v){w.uint(2787289616);w.vector(w.object,h(v,'id'));},
|
|
2145
|
+
'payments.canPurchasePremium':function(w,v){w.uint(2680266422);w.object(h(v,'purpose'));},
|
|
2123
2146
|
'payments.getUserStarGifts':function(w,v){w.uint(1584580577);w.object(h(v,'userId'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
2124
|
-
'channels.viewSponsoredMessage':function(w,v){w.uint(3199130516);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
|
|
2125
|
-
'channels.getSponsoredMessages':function(w,v){w.uint(3961589695);w.object(h(v,'channel'));},
|
|
2126
|
-
'channels.clickSponsoredMessage':function(w,v){w.uint(21257589);var flags=0;if(v.media===true)flags|=1;if(v.fullscreen===true)flags|=2;w.uint(flags);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
|
|
2127
|
-
'channels.reportSponsoredMessage':function(w,v){w.uint(2945447609);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));w.bytes(h(v,'option'));},
|
|
2128
2147
|
'mtcute.customMethod':function(w,v){w.raw(h(v,'bytes'));},
|
|
2129
2148
|
'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'));},
|
|
2130
2149
|
'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'));},
|
|
@@ -2230,6 +2249,8 @@ _staticSize:{
|
|
|
2230
2249
|
'messageActionChatJoinedByRequest':4,
|
|
2231
2250
|
'messageActionGiveawayResults':16,
|
|
2232
2251
|
'messageActionBoostApply':8,
|
|
2252
|
+
'messageActionPaidMessagesRefunded':16,
|
|
2253
|
+
'messageActionPaidMessagesPrice':12,
|
|
2233
2254
|
'photoEmpty':12,
|
|
2234
2255
|
'geoPointEmpty':4,
|
|
2235
2256
|
'inputNotifyUsers':4,
|
|
@@ -2563,6 +2584,7 @@ _staticSize:{
|
|
|
2563
2584
|
'peerBlocked':20,
|
|
2564
2585
|
'groupCallDiscarded':24,
|
|
2565
2586
|
'inputGroupCall':20,
|
|
2587
|
+
'inputGroupCallInviteMessage':8,
|
|
2566
2588
|
'inlineQueryPeerTypeSameBotPM':4,
|
|
2567
2589
|
'inlineQueryPeerTypePM':4,
|
|
2568
2590
|
'inlineQueryPeerTypeChat':4,
|
|
@@ -2664,6 +2686,9 @@ _staticSize:{
|
|
|
2664
2686
|
'requirementToContactEmpty':4,
|
|
2665
2687
|
'requirementToContactPremium':4,
|
|
2666
2688
|
'requirementToContactPaidMessages':12,
|
|
2689
|
+
'businessBotRights':8,
|
|
2690
|
+
'disallowedGiftsSettings':8,
|
|
2691
|
+
'contacts.sponsoredPeersEmpty':4,
|
|
2667
2692
|
'emojiStatusUntil':16,
|
|
2668
2693
|
'test.useConfigSimple':4,
|
|
2669
2694
|
'test.parseInputAppEvent':4,
|
|
@@ -2805,15 +2830,7 @@ _staticSize:{
|
|
|
2805
2830
|
'payments.getStarGiftUpgradePreview':12,
|
|
2806
2831
|
'phone.getCallConfig':4,
|
|
2807
2832
|
'phone.receivedCall':24,
|
|
2808
|
-
'phone.
|
|
2809
|
-
'phone.discardGroupCall':24,
|
|
2810
|
-
'phone.getGroupCall':28,
|
|
2811
|
-
'phone.exportGroupCallInvite':28,
|
|
2812
|
-
'phone.toggleGroupCallStartSubscription':28,
|
|
2813
|
-
'phone.startScheduledGroupCall':24,
|
|
2814
|
-
'phone.leaveGroupCallPresentation':24,
|
|
2815
|
-
'phone.getGroupCallStreamChannels':24,
|
|
2816
|
-
'phone.createConferenceCall':32,
|
|
2833
|
+
'phone.declineConferenceCallInvite':8,
|
|
2817
2834
|
'chatlists.getExportedInvites':12,
|
|
2818
2835
|
'chatlists.getChatlistUpdates':12,
|
|
2819
2836
|
'chatlists.hideChatlistUpdates':12,
|
|
@@ -2855,14 +2872,11 @@ _staticSize:{
|
|
|
2855
2872
|
'mt_ping_delay_disconnect':16,
|
|
2856
2873
|
'mt_destroy_session':12,
|
|
2857
2874
|
'mt_destroy_auth_key':4,
|
|
2858
|
-
'messageActionGroupCallScheduled':28,
|
|
2859
2875
|
'updateChatDefaultBannedRights':32,
|
|
2860
2876
|
'updateBroadcastRevenueTransactions':48,
|
|
2861
2877
|
'updateStarsBalance':20,
|
|
2862
2878
|
'channelParticipantBanned':44,
|
|
2863
2879
|
'channelAdminLogEventActionDefaultBannedRights':28,
|
|
2864
|
-
'channelAdminLogEventActionStartGroupCall':24,
|
|
2865
|
-
'channelAdminLogEventActionDiscardGroupCall':24,
|
|
2866
2880
|
},
|
|
2867
2881
|
}
|
|
2868
2882
|
exports.__tlWriterMap = m;
|