@mtcute/tl 177.0.0 → 181.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 +44 -15
- package/binary/writer.js +90 -24
- package/index.d.ts +487 -82
- package/index.js +13 -3
- package/package.json +1 -2
package/binary/writer.js
CHANGED
|
@@ -35,7 +35,7 @@ var m={
|
|
|
35
35
|
'inputMediaPhotoExternal':function(w,v){w.uint(3854302746);var flags=0;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=1;if(v.spoiler===true)flags|=2;w.uint(flags);w.string(h(v,'url'));if(_ttlSeconds)w.int(v.ttlSeconds);},
|
|
36
36
|
'inputMediaDocumentExternal':function(w,v){w.uint(4216511641);var flags=0;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=1;if(v.spoiler===true)flags|=2;w.uint(flags);w.string(h(v,'url'));if(_ttlSeconds)w.int(v.ttlSeconds);},
|
|
37
37
|
'inputMediaGame':function(w,v){w.uint(3544138739);w.object(h(v,'id'));},
|
|
38
|
-
'inputMediaInvoice':function(w,v){w.uint(
|
|
38
|
+
'inputMediaInvoice':function(w,v){w.uint(1080028941);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _startParam=v.startParam!==undefined;if(_startParam)flags|=2;var _extendedMedia=v.extendedMedia!==undefined;if(_extendedMedia)flags|=4;var _provider=v.provider!==undefined;if(_provider)flags|=8;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'));if(_provider)w.string(v.provider);w.object(h(v,'providerData'));if(_startParam)w.string(v.startParam);if(_extendedMedia)w.object(v.extendedMedia);},
|
|
39
39
|
'inputMediaGeoLive':function(w,v){w.uint(2535434307);var flags=0;if(v.stopped===true)flags|=1;var _period=v.period!==undefined;if(_period)flags|=2;var _heading=v.heading!==undefined;if(_heading)flags|=4;var _proximityNotificationRadius=v.proximityNotificationRadius!==undefined;if(_proximityNotificationRadius)flags|=8;w.uint(flags);w.object(h(v,'geoPoint'));if(_heading)w.int(v.heading);if(_period)w.int(v.period);if(_proximityNotificationRadius)w.int(v.proximityNotificationRadius);},
|
|
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'));},
|
|
@@ -86,8 +86,8 @@ var m={
|
|
|
86
86
|
'chatForbidden':function(w,v){w.uint(1704108455);w.int53(h(v,'id'));w.string(h(v,'title'));},
|
|
87
87
|
'channel':function(w,v){w.uint(179174543);var flags=0;if(v.creator===true)flags|=1;if(v.left===true)flags|=4;if(v.broadcast===true)flags|=32;var _username=v.username!==undefined;if(_username)flags|=64;if(v.verified===true)flags|=128;if(v.megagroup===true)flags|=256;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;var _flags_9=v.restricted===true||_restrictionReason;if(_flags_9)flags|=512;if(v.signatures===true)flags|=2048;if(v.min===true)flags|=4096;var _accessHash=v.accessHash!==undefined;if(_accessHash)flags|=8192;var _adminRights=v.adminRights!==undefined;if(_adminRights)flags|=16384;var _bannedRights=v.bannedRights!==undefined;if(_bannedRights)flags|=32768;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=131072;var _defaultBannedRights=v.defaultBannedRights!==undefined;if(_defaultBannedRights)flags|=262144;if(v.scam===true)flags|=524288;if(v.hasLink===true)flags|=1048576;if(v.hasGeo===true)flags|=2097152;if(v.slowmodeEnabled===true)flags|=4194304;if(v.callActive===true)flags|=8388608;if(v.callNotEmpty===true)flags|=16777216;if(v.fake===true)flags|=33554432;if(v.gigagroup===true)flags|=67108864;if(v.noforwards===true)flags|=134217728;if(v.joinToSend===true)flags|=268435456;if(v.joinRequest===true)flags|=536870912;if(v.forum===true)flags|=1073741824;w.uint(flags);var flags2=0;var _usernames=v.usernames&&v.usernames.length;if(_usernames)flags2|=1;if(v.storiesHidden===true)flags2|=2;if(v.storiesHiddenMin===true)flags2|=4;if(v.storiesUnavailable===true)flags2|=8;var _storiesMaxId=v.storiesMaxId!==undefined;if(_storiesMaxId)flags2|=16;var _color=v.color!==undefined;if(_color)flags2|=128;var _profileColor=v.profileColor!==undefined;if(_profileColor)flags2|=256;var _emojiStatus=v.emojiStatus!==undefined;if(_emojiStatus)flags2|=512;var _level=v.level!==undefined;if(_level)flags2|=1024;w.uint(flags2);w.int53(h(v,'id'));if(_accessHash)w.long(v.accessHash);w.string(h(v,'title'));if(_username)w.string(v.username);w.object(h(v,'photo'));w.int(h(v,'date'));if(_flags_9)w.vector(w.object,v.restrictionReason);if(_adminRights)w.object(v.adminRights);if(_bannedRights)w.object(v.bannedRights);if(_defaultBannedRights)w.object(v.defaultBannedRights);if(_participantsCount)w.int(v.participantsCount);if(_usernames)w.vector(w.object,v.usernames);if(_storiesMaxId)w.int(v.storiesMaxId);if(_color)w.object(v.color);if(_profileColor)w.object(v.profileColor);if(_emojiStatus)w.object(v.emojiStatus);if(_level)w.int(v.level);},
|
|
88
88
|
'channelForbidden':function(w,v){w.uint(399807445);var flags=0;if(v.broadcast===true)flags|=32;if(v.megagroup===true)flags|=256;var _untilDate=v.untilDate!==undefined;if(_untilDate)flags|=65536;w.uint(flags);w.int53(h(v,'id'));w.long(h(v,'accessHash'));w.string(h(v,'title'));if(_untilDate)w.int(v.untilDate);},
|
|
89
|
-
'chatFull':function(w,v){w.uint(
|
|
90
|
-
'channelFull':function(w,v){w.uint(
|
|
89
|
+
'chatFull':function(w,v){w.uint(640893467);var flags=0;var _chatPhoto=v.chatPhoto!==undefined;if(_chatPhoto)flags|=4;var _botInfo=v.botInfo&&v.botInfo.length;if(_botInfo)flags|=8;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=64;if(v.canSetUsername===true)flags|=128;if(v.hasScheduled===true)flags|=256;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _call=v.call!==undefined;if(_call)flags|=4096;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8192;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16384;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=32768;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=65536;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_17=_requestsPending||_recentRequesters;if(_flags_17)flags|=131072;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=262144;if(v.translationsDisabled===true)flags|=524288;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags|=1048576;w.uint(flags);w.int53(h(v,'id'));w.string(h(v,'about'));w.object(h(v,'participants'));if(_chatPhoto)w.object(v.chatPhoto);w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);if(_botInfo)w.vector(w.object,v.botInfo);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_folderId)w.int(v.folderId);if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_17)w.int(v.requestsPending);if(_flags_17)w.vector(w.long,v.recentRequesters);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);},
|
|
90
|
+
'channelFull':function(w,v){w.uint(3148559501);var flags=0;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=1;var _adminsCount=v.adminsCount!==undefined;if(_adminsCount)flags|=2;var _kickedCount=v.kickedCount!==undefined;var _bannedCount=v.bannedCount!==undefined;var _flags_2=_kickedCount||_bannedCount;if(_flags_2)flags|=4;if(v.canViewParticipants===true)flags|=8;var _migratedFromChatId=v.migratedFromChatId!==undefined;var _migratedFromMaxId=v.migratedFromMaxId!==undefined;var _flags_4=_migratedFromChatId||_migratedFromMaxId;if(_flags_4)flags|=16;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=32;if(v.canSetUsername===true)flags|=64;if(v.canSetStickers===true)flags|=128;var _stickerset=v.stickerset!==undefined;if(_stickerset)flags|=256;var _availableMinId=v.availableMinId!==undefined;if(_availableMinId)flags|=512;if(v.hiddenPrehistory===true)flags|=1024;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _statsDc=v.statsDc!==undefined;if(_statsDc)flags|=4096;var _onlineCount=v.onlineCount!==undefined;if(_onlineCount)flags|=8192;var _linkedChatId=v.linkedChatId!==undefined;if(_linkedChatId)flags|=16384;var _location=v.location!==undefined;if(_location)flags|=32768;if(v.canSetLocation===true)flags|=65536;var _slowmodeSeconds=v.slowmodeSeconds!==undefined;if(_slowmodeSeconds)flags|=131072;var _slowmodeNextSendDate=v.slowmodeNextSendDate!==undefined;if(_slowmodeNextSendDate)flags|=262144;if(v.hasScheduled===true)flags|=524288;if(v.canViewStats===true)flags|=1048576;var _call=v.call!==undefined;if(_call)flags|=2097152;if(v.blocked===true)flags|=4194304;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8388608;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16777216;var _pendingSuggestions=v.pendingSuggestions&&v.pendingSuggestions.length;if(_pendingSuggestions)flags|=33554432;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=67108864;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=134217728;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_28=_requestsPending||_recentRequesters;if(_flags_28)flags|=268435456;var _defaultSendAs=v.defaultSendAs!==undefined;if(_defaultSendAs)flags|=536870912;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=1073741824;w.uint(flags);var flags2=0;if(v.canDeleteChannel===true)flags2|=1;if(v.antispam===true)flags2|=2;if(v.participantsHidden===true)flags2|=4;if(v.translationsDisabled===true)flags2|=8;var _stories=v.stories!==undefined;if(_stories)flags2|=16;if(v.storiesPinnedAvailable===true)flags2|=32;if(v.viewForumAsMessages===true)flags2|=64;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags2|=128;var _boostsApplied=v.boostsApplied!==undefined;if(_boostsApplied)flags2|=256;var _boostsUnrestrict=v.boostsUnrestrict!==undefined;if(_boostsUnrestrict)flags2|=512;var _emojiset=v.emojiset!==undefined;if(_emojiset)flags2|=1024;if(v.restrictedSponsored===true)flags2|=2048;if(v.canViewRevenue===true)flags2|=4096;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags2|=8192;w.uint(flags2);w.int53(h(v,'id'));w.string(h(v,'about'));if(_participantsCount)w.int(v.participantsCount);if(_adminsCount)w.int(v.adminsCount);if(_flags_2)w.int(v.kickedCount);if(_flags_2)w.int(v.bannedCount);if(_onlineCount)w.int(v.onlineCount);w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.object(h(v,'chatPhoto'));w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);w.vector(w.object,h(v,'botInfo'));if(_flags_4)w.long(v.migratedFromChatId);if(_flags_4)w.int(v.migratedFromMaxId);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_stickerset)w.object(v.stickerset);if(_availableMinId)w.int(v.availableMinId);if(_folderId)w.int(v.folderId);if(_linkedChatId)w.int53(v.linkedChatId);if(_location)w.object(v.location);if(_slowmodeSeconds)w.int(v.slowmodeSeconds);if(_slowmodeNextSendDate)w.int(v.slowmodeNextSendDate);if(_statsDc)w.int(v.statsDc);w.int(h(v,'pts'));if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_pendingSuggestions)w.vector(w.string,v.pendingSuggestions);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_28)w.int(v.requestsPending);if(_flags_28)w.vector(w.long,v.recentRequesters);if(_defaultSendAs)w.object(v.defaultSendAs);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);if(_stories)w.object(v.stories);if(_wallpaper)w.object(v.wallpaper);if(_boostsApplied)w.int(v.boostsApplied);if(_boostsUnrestrict)w.int(v.boostsUnrestrict);if(_emojiset)w.object(v.emojiset);},
|
|
91
91
|
'chatParticipant':function(w,v){w.uint(3224190983);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
|
|
92
92
|
'chatParticipantCreator':function(w,v){w.uint(3832270564);w.int53(h(v,'userId'));},
|
|
93
93
|
'chatParticipantAdmin':function(w,v){w.uint(2694004571);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
|
|
@@ -96,7 +96,7 @@ var m={
|
|
|
96
96
|
'chatPhotoEmpty':function(w){w.uint(935395612);},
|
|
97
97
|
'chatPhoto':function(w,v){w.uint(476978193);var flags=0;if(v.hasVideo===true)flags|=1;var _strippedThumb=v.strippedThumb!==undefined;if(_strippedThumb)flags|=2;w.uint(flags);w.long(h(v,'photoId'));if(_strippedThumb)w.bytes(v.strippedThumb);w.int(h(v,'dcId'));},
|
|
98
98
|
'messageEmpty':function(w,v){w.uint(2426849924);var flags=0;var _peerId=v.peerId!==undefined;if(_peerId)flags|=1;w.uint(flags);w.int(h(v,'id'));if(_peerId)w.object(v.peerId);},
|
|
99
|
-
'message':function(w,v){w.uint(
|
|
99
|
+
'message':function(w,v){w.uint(2486456898);var flags=0;if(v.out===true)flags|=2;var _fwdFrom=v.fwdFrom!==undefined;if(_fwdFrom)flags|=4;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=8;if(v.mentioned===true)flags|=16;if(v.mediaUnread===true)flags|=32;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=64;var _entities=v.entities&&v.entities.length;if(_entities)flags|=128;var _fromId=v.fromId!==undefined;if(_fromId)flags|=256;var _media=v.media!==undefined;if(_media)flags|=512;var _views=v.views!==undefined;var _forwards=v.forwards!==undefined;var _flags_10=_views||_forwards;if(_flags_10)flags|=1024;var _viaBotId=v.viaBotId!==undefined;if(_viaBotId)flags|=2048;if(v.silent===true)flags|=8192;if(v.post===true)flags|=16384;var _editDate=v.editDate!==undefined;if(_editDate)flags|=32768;var _postAuthor=v.postAuthor!==undefined;if(_postAuthor)flags|=65536;var _groupedId=v.groupedId!==undefined;if(_groupedId)flags|=131072;if(v.fromScheduled===true)flags|=262144;if(v.legacy===true)flags|=524288;var _reactions=v.reactions!==undefined;if(_reactions)flags|=1048576;if(v.editHide===true)flags|=2097152;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;if(_restrictionReason)flags|=4194304;var _replies=v.replies!==undefined;if(_replies)flags|=8388608;if(v.pinned===true)flags|=16777216;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=33554432;if(v.noforwards===true)flags|=67108864;if(v.invertMedia===true)flags|=134217728;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=268435456;var _fromBoostsApplied=v.fromBoostsApplied!==undefined;if(_fromBoostsApplied)flags|=536870912;var _quickReplyShortcutId=v.quickReplyShortcutId!==undefined;if(_quickReplyShortcutId)flags|=1073741824;w.uint(flags);var flags2=0;var _viaBusinessBotId=v.viaBusinessBotId!==undefined;if(_viaBusinessBotId)flags2|=1;if(v.offline===true)flags2|=2;var _effect=v.effect!==undefined;if(_effect)flags2|=4;var _factcheck=v.factcheck!==undefined;if(_factcheck)flags2|=8;w.uint(flags2);w.int(h(v,'id'));if(_fromId)w.object(v.fromId);if(_fromBoostsApplied)w.int(v.fromBoostsApplied);w.object(h(v,'peerId'));if(_savedPeerId)w.object(v.savedPeerId);if(_fwdFrom)w.object(v.fwdFrom);if(_viaBotId)w.int53(v.viaBotId);if(_viaBusinessBotId)w.int53(v.viaBusinessBotId);if(_replyTo)w.object(v.replyTo);w.int(h(v,'date'));w.string(h(v,'message'));if(_media)w.object(v.media);if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_flags_10)w.int(v.views);if(_flags_10)w.int(v.forwards);if(_replies)w.object(v.replies);if(_editDate)w.int(v.editDate);if(_postAuthor)w.string(v.postAuthor);if(_groupedId)w.long(v.groupedId);if(_reactions)w.object(v.reactions);if(_restrictionReason)w.vector(w.object,v.restrictionReason);if(_ttlPeriod)w.int(v.ttlPeriod);if(_quickReplyShortcutId)w.int(v.quickReplyShortcutId);if(_effect)w.long(v.effect);if(_factcheck)w.object(v.factcheck);},
|
|
100
100
|
'messageService':function(w,v){w.uint(721967202);var flags=0;if(v.out===true)flags|=2;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=8;if(v.mentioned===true)flags|=16;if(v.mediaUnread===true)flags|=32;var _fromId=v.fromId!==undefined;if(_fromId)flags|=256;if(v.silent===true)flags|=8192;if(v.post===true)flags|=16384;if(v.legacy===true)flags|=524288;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=33554432;w.uint(flags);w.int(h(v,'id'));if(_fromId)w.object(v.fromId);w.object(h(v,'peerId'));if(_replyTo)w.object(v.replyTo);w.int(h(v,'date'));w.object(h(v,'action'));if(_ttlPeriod)w.int(v.ttlPeriod);},
|
|
101
101
|
'messageMediaEmpty':function(w){w.uint(1038967584);},
|
|
102
102
|
'messageMediaPhoto':function(w,v){w.uint(1766936791);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=4;if(v.spoiler===true)flags|=8;w.uint(flags);if(_photo)w.object(v.photo);if(_ttlSeconds)w.int(v.ttlSeconds);},
|
|
@@ -194,7 +194,7 @@ var m={
|
|
|
194
194
|
'inputReportReasonFake':function(w){w.uint(4124956391);},
|
|
195
195
|
'inputReportReasonIllegalDrugs':function(w){w.uint(177124030);},
|
|
196
196
|
'inputReportReasonPersonalDetails':function(w){w.uint(2663876157);},
|
|
197
|
-
'userFull':function(w,v){w.uint(3432609568);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;var _premiumGifts=v.premiumGifts&&v.premiumGifts.length;if(_premiumGifts)flags|=524288;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;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(_premiumGifts)w.vector(w.object,v.premiumGifts);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);},
|
|
197
|
+
'userFull':function(w,v){w.uint(3432609568);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;var _premiumGifts=v.premiumGifts&&v.premiumGifts.length;if(_premiumGifts)flags|=524288;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;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(_premiumGifts)w.vector(w.object,v.premiumGifts);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);},
|
|
198
198
|
'contact':function(w,v){w.uint(341499403);w.int53(h(v,'userId'));w.boolean(h(v,'mutual'));},
|
|
199
199
|
'importedContact':function(w,v){w.uint(3242081360);w.int53(h(v,'userId'));w.long(h(v,'clientId'));},
|
|
200
200
|
'contactStatus':function(w,v){w.uint(383348795);w.int53(h(v,'userId'));w.object(h(v,'status'));},
|
|
@@ -365,6 +365,9 @@ var m={
|
|
|
365
365
|
'updateBotNewBusinessMessage':function(w,v){w.uint(2648388732);var flags=0;var _replyToMessage=v.replyToMessage!==undefined;if(_replyToMessage)flags|=1;w.uint(flags);w.string(h(v,'connectionId'));w.object(h(v,'message'));if(_replyToMessage)w.object(v.replyToMessage);w.int(h(v,'qts'));},
|
|
366
366
|
'updateBotEditBusinessMessage':function(w,v){w.uint(132077692);var flags=0;var _replyToMessage=v.replyToMessage!==undefined;if(_replyToMessage)flags|=1;w.uint(flags);w.string(h(v,'connectionId'));w.object(h(v,'message'));if(_replyToMessage)w.object(v.replyToMessage);w.int(h(v,'qts'));},
|
|
367
367
|
'updateBotDeleteBusinessMessage':function(w,v){w.uint(2687146030);w.string(h(v,'connectionId'));w.object(h(v,'peer'));w.vector(w.int,h(v,'messages'));w.int(h(v,'qts'));},
|
|
368
|
+
'updateNewStoryReaction':function(w,v){w.uint(405070859);w.int(h(v,'storyId'));w.object(h(v,'peer'));w.object(h(v,'reaction'));},
|
|
369
|
+
'updateBroadcastRevenueTransactions':function(w,v){w.uint(3755565557);w.object(h(v,'peer'));w.object(h(v,'balances'));},
|
|
370
|
+
'updateStarsBalance':function(w,v){w.uint(263737752);w.long(h(v,'balance'));},
|
|
368
371
|
'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'));},
|
|
369
372
|
'updates.differenceEmpty':function(w,v){w.uint(1567990072);w.int(h(v,'date'));w.int(h(v,'seq'));},
|
|
370
373
|
'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'));},
|
|
@@ -567,7 +570,7 @@ var m={
|
|
|
567
570
|
'messageEntityBankCard':function(w,v){w.uint(1981704948);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
568
571
|
'messageEntitySpoiler':function(w,v){w.uint(852137487);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
569
572
|
'messageEntityCustomEmoji':function(w,v){w.uint(3369010680);w.int(h(v,'offset'));w.int(h(v,'length'));w.long(h(v,'documentId'));},
|
|
570
|
-
'messageEntityBlockquote':function(w,v){w.uint(
|
|
573
|
+
'messageEntityBlockquote':function(w,v){w.uint(4056722092);var flags=0;if(v.collapsed===true)flags|=1;w.uint(flags);w.int(h(v,'offset'));w.int(h(v,'length'));},
|
|
571
574
|
'inputChannelEmpty':function(w){w.uint(4002160262);},
|
|
572
575
|
'inputChannel':function(w,v){w.uint(4082822184);w.int53(h(v,'channelId'));w.long(h(v,'accessHash'));},
|
|
573
576
|
'inputChannelFromMessage':function(w,v){w.uint(1536380829);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int53(h(v,'channelId'));},
|
|
@@ -635,7 +638,9 @@ var m={
|
|
|
635
638
|
'auth.sentCodeTypeEmailCode':function(w,v){w.uint(4098946459);var flags=0;if(v.appleSigninAllowed===true)flags|=1;if(v.googleSigninAllowed===true)flags|=2;var _resetAvailablePeriod=v.resetAvailablePeriod!==undefined;if(_resetAvailablePeriod)flags|=8;var _resetPendingDate=v.resetPendingDate!==undefined;if(_resetPendingDate)flags|=16;w.uint(flags);w.string(h(v,'emailPattern'));w.int(h(v,'length'));if(_resetAvailablePeriod)w.int(v.resetAvailablePeriod);if(_resetPendingDate)w.int(v.resetPendingDate);},
|
|
636
639
|
'auth.sentCodeTypeSetUpEmailRequired':function(w,v){w.uint(2773032426);var flags=0;if(v.appleSigninAllowed===true)flags|=1;if(v.googleSigninAllowed===true)flags|=2;w.uint(flags);},
|
|
637
640
|
'auth.sentCodeTypeFragmentSms':function(w,v){w.uint(3646315577);w.string(h(v,'url'));w.int(h(v,'length'));},
|
|
638
|
-
'auth.sentCodeTypeFirebaseSms':function(w,v){w.uint(
|
|
641
|
+
'auth.sentCodeTypeFirebaseSms':function(w,v){w.uint(331943703);var flags=0;var _nonce=v.nonce!==undefined;if(_nonce)flags|=1;var _receipt=v.receipt!==undefined;var _pushTimeout=v.pushTimeout!==undefined;var _flags_1=_receipt||_pushTimeout;if(_flags_1)flags|=2;var _playIntegrityNonce=v.playIntegrityNonce!==undefined;if(_playIntegrityNonce)flags|=4;w.uint(flags);if(_nonce)w.bytes(v.nonce);if(_playIntegrityNonce)w.bytes(v.playIntegrityNonce);if(_flags_1)w.string(v.receipt);if(_flags_1)w.int(v.pushTimeout);w.int(h(v,'length'));},
|
|
642
|
+
'auth.sentCodeTypeSmsWord':function(w,v){w.uint(2752949377);var flags=0;var _beginning=v.beginning!==undefined;if(_beginning)flags|=1;w.uint(flags);if(_beginning)w.string(v.beginning);},
|
|
643
|
+
'auth.sentCodeTypeSmsPhrase':function(w,v){w.uint(3010958511);var flags=0;var _beginning=v.beginning!==undefined;if(_beginning)flags|=1;w.uint(flags);if(_beginning)w.string(v.beginning);},
|
|
639
644
|
'messages.botCallbackAnswer':function(w,v){w.uint(911761060);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;if(v.alert===true)flags|=2;var _url=v.url!==undefined;if(_url)flags|=4;if(v.hasUrl===true)flags|=8;if(v.nativeUi===true)flags|=16;w.uint(flags);if(_message)w.string(v.message);if(_url)w.string(v.url);w.int(h(v,'cacheTime'));},
|
|
640
645
|
'messages.messageEditData':function(w,v){w.uint(649453030);var flags=0;if(v.caption===true)flags|=1;w.uint(flags);},
|
|
641
646
|
'inputBotInlineMessageID':function(w,v){w.uint(2299280777);w.int(h(v,'dcId'));w.long(h(v,'id'));w.long(h(v,'accessHash'));},
|
|
@@ -740,10 +745,12 @@ var m={
|
|
|
740
745
|
'inputWebFileAudioAlbumThumbLocation':function(w,v){w.uint(4100974884);var flags=0;var _document=v.document!==undefined;if(_document)flags|=1;var _title=v.title!==undefined;var _performer=v.performer!==undefined;var _flags_1=_title||_performer;if(_flags_1)flags|=2;if(v.small===true)flags|=4;w.uint(flags);if(_document)w.object(v.document);if(_flags_1)w.string(v.title);if(_flags_1)w.string(v.performer);},
|
|
741
746
|
'upload.webFile':function(w,v){w.uint(568808380);w.int(h(v,'size'));w.string(h(v,'mimeType'));w.object(h(v,'fileType'));w.int(h(v,'mtime'));w.bytes(h(v,'bytes'));},
|
|
742
747
|
'payments.paymentForm':function(w,v){w.uint(2684716881);var flags=0;var _savedInfo=v.savedInfo!==undefined;if(_savedInfo)flags|=1;var _savedCredentials=v.savedCredentials&&v.savedCredentials.length;if(_savedCredentials)flags|=2;if(v.canSaveCredentials===true)flags|=4;if(v.passwordMissing===true)flags|=8;var _nativeProvider=v.nativeProvider!==undefined;var _nativeParams=v.nativeParams!==undefined;var _flags_4=_nativeProvider||_nativeParams;if(_flags_4)flags|=16;var _photo=v.photo!==undefined;if(_photo)flags|=32;var _additionalMethods=v.additionalMethods&&v.additionalMethods.length;if(_additionalMethods)flags|=64;w.uint(flags);w.long(h(v,'formId'));w.int53(h(v,'botId'));w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.long(h(v,'providerId'));w.string(h(v,'url'));if(_flags_4)w.string(v.nativeProvider);if(_flags_4)w.object(v.nativeParams);if(_additionalMethods)w.vector(w.object,v.additionalMethods);if(_savedInfo)w.object(v.savedInfo);if(_savedCredentials)w.vector(w.object,v.savedCredentials);w.vector(w.object,h(v,'users'));},
|
|
748
|
+
'payments.paymentFormStars':function(w,v){w.uint(2079764828);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=32;w.uint(flags);w.long(h(v,'formId'));w.int53(h(v,'botId'));w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.vector(w.object,h(v,'users'));},
|
|
743
749
|
'payments.validatedRequestedInfo':function(w,v){w.uint(3510966403);var flags=0;var _id=v.id!==undefined;if(_id)flags|=1;var _shippingOptions=v.shippingOptions&&v.shippingOptions.length;if(_shippingOptions)flags|=2;w.uint(flags);if(_id)w.string(v.id);if(_shippingOptions)w.vector(w.object,v.shippingOptions);},
|
|
744
750
|
'payments.paymentResult':function(w,v){w.uint(1314881805);w.object(h(v,'updates'));},
|
|
745
751
|
'payments.paymentVerificationNeeded':function(w,v){w.uint(3628142905);w.string(h(v,'url'));},
|
|
746
752
|
'payments.paymentReceipt':function(w,v){w.uint(1891958275);var flags=0;var _info=v.info!==undefined;if(_info)flags|=1;var _shipping=v.shipping!==undefined;if(_shipping)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;var _tipAmount=v.tipAmount!==undefined;if(_tipAmount)flags|=8;w.uint(flags);w.int(h(v,'date'));w.int53(h(v,'botId'));w.long(h(v,'providerId'));w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));if(_info)w.object(v.info);if(_shipping)w.object(v.shipping);if(_tipAmount)w.long(v.tipAmount);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));w.string(h(v,'credentialsTitle'));w.vector(w.object,h(v,'users'));},
|
|
753
|
+
'payments.paymentReceiptStars':function(w,v){w.uint(3669751866);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.int(h(v,'date'));w.int53(h(v,'botId'));w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.string(h(v,'currency'));w.long(h(v,'totalAmount'));w.string(h(v,'transactionId'));w.vector(w.object,h(v,'users'));},
|
|
747
754
|
'payments.savedInfo':function(w,v){w.uint(4220511292);var flags=0;var _savedInfo=v.savedInfo!==undefined;if(_savedInfo)flags|=1;if(v.hasSavedCredentials===true)flags|=2;w.uint(flags);if(_savedInfo)w.object(v.savedInfo);},
|
|
748
755
|
'inputPaymentCredentialsSaved':function(w,v){w.uint(3238965967);w.string(h(v,'id'));w.bytes(h(v,'tmpPassword'));},
|
|
749
756
|
'inputPaymentCredentials':function(w,v){w.uint(873977640);var flags=0;if(v.save===true)flags|=1;w.uint(flags);w.object(h(v,'data'));},
|
|
@@ -920,8 +927,8 @@ var m={
|
|
|
920
927
|
'help.supportName':function(w,v){w.uint(2349199817);w.string(h(v,'name'));},
|
|
921
928
|
'help.userInfoEmpty':function(w){w.uint(4088278765);},
|
|
922
929
|
'help.userInfo':function(w,v){w.uint(32192344);w.string(h(v,'message'));w.vector(w.object,h(v,'entities'));w.string(h(v,'author'));w.int(h(v,'date'));},
|
|
923
|
-
'pollAnswer':function(w,v){w.uint(
|
|
924
|
-
'poll':function(w,v){w.uint(
|
|
930
|
+
'pollAnswer':function(w,v){w.uint(4279689930);w.object(h(v,'text'));w.bytes(h(v,'option'));},
|
|
931
|
+
'poll':function(w,v){w.uint(1484026161);w.long(h(v,'id'));var flags=0;if(v.closed===true)flags|=1;if(v.publicVoters===true)flags|=2;if(v.multipleChoice===true)flags|=4;if(v.quiz===true)flags|=8;var _closePeriod=v.closePeriod!==undefined;if(_closePeriod)flags|=16;var _closeDate=v.closeDate!==undefined;if(_closeDate)flags|=32;w.uint(flags);w.object(h(v,'question'));w.vector(w.object,h(v,'answers'));if(_closePeriod)w.int(v.closePeriod);if(_closeDate)w.int(v.closeDate);},
|
|
925
932
|
'pollAnswerVoters':function(w,v){w.uint(997055186);var flags=0;if(v.chosen===true)flags|=1;if(v.correct===true)flags|=2;w.uint(flags);w.bytes(h(v,'option'));w.int(h(v,'voters'));},
|
|
926
933
|
'pollResults':function(w,v){w.uint(2061444128);var flags=0;if(v.min===true)flags|=1;var _results=v.results&&v.results.length;if(_results)flags|=2;var _totalVoters=v.totalVoters!==undefined;if(_totalVoters)flags|=4;var _recentVoters=v.recentVoters&&v.recentVoters.length;if(_recentVoters)flags|=8;var _solution=v.solution!==undefined;var _solutionEntities=v.solutionEntities&&v.solutionEntities.length;var _flags_4=_solution||_solutionEntities;if(_flags_4)flags|=16;w.uint(flags);if(_results)w.vector(w.object,v.results);if(_totalVoters)w.int(v.totalVoters);if(_recentVoters)w.vector(w.object,v.recentVoters);if(_flags_4)w.string(v.solution);if(_flags_4)w.vector(w.object,v.solutionEntities);},
|
|
927
934
|
'chatOnlines':function(w,v){w.uint(4030849616);w.int(h(v,'onlines'));},
|
|
@@ -933,7 +940,7 @@ var m={
|
|
|
933
940
|
'inputWallPaperNoFile':function(w,v){w.uint(2524595758);w.long(h(v,'id'));},
|
|
934
941
|
'account.wallPapersNotModified':function(w){w.uint(471437699);},
|
|
935
942
|
'account.wallPapers':function(w,v){w.uint(3452142988);w.long(h(v,'hash'));w.vector(w.object,h(v,'wallpapers'));},
|
|
936
|
-
'codeSettings':function(w,v){w.uint(2904898936);var flags=0;if(v.allowFlashcall===true)flags|=1;if(v.currentNumber===true)flags|=2;if(v.allowAppHash===true)flags|=16;if(v.allowMissedCall===true)flags|=32;var _logoutTokens=v.logoutTokens&&v.logoutTokens.length;if(_logoutTokens)flags|=64;if(v.allowFirebase===true)flags|=128;var _token=v.token!==undefined;var _appSandbox=v.appSandbox!==undefined;var _flags_8=_token||_appSandbox;if(_flags_8)flags|=256;w.uint(flags);if(_logoutTokens)w.vector(w.bytes,v.logoutTokens);if(_flags_8)w.string(v.token);if(_flags_8)w.boolean(v.appSandbox);},
|
|
943
|
+
'codeSettings':function(w,v){w.uint(2904898936);var flags=0;if(v.allowFlashcall===true)flags|=1;if(v.currentNumber===true)flags|=2;if(v.allowAppHash===true)flags|=16;if(v.allowMissedCall===true)flags|=32;var _logoutTokens=v.logoutTokens&&v.logoutTokens.length;if(_logoutTokens)flags|=64;if(v.allowFirebase===true)flags|=128;var _token=v.token!==undefined;var _appSandbox=v.appSandbox!==undefined;var _flags_8=_token||_appSandbox;if(_flags_8)flags|=256;if(v.unknownNumber===true)flags|=512;w.uint(flags);if(_logoutTokens)w.vector(w.bytes,v.logoutTokens);if(_flags_8)w.string(v.token);if(_flags_8)w.boolean(v.appSandbox);},
|
|
937
944
|
'wallPaperSettings':function(w,v){w.uint(925826256);var flags=0;var _backgroundColor=v.backgroundColor!==undefined;if(_backgroundColor)flags|=1;if(v.blur===true)flags|=2;if(v.motion===true)flags|=4;var _intensity=v.intensity!==undefined;if(_intensity)flags|=8;var _secondBackgroundColor=v.secondBackgroundColor!==undefined;var _rotation=v.rotation!==undefined;var _flags_4=_secondBackgroundColor||_rotation;if(_flags_4)flags|=16;var _thirdBackgroundColor=v.thirdBackgroundColor!==undefined;if(_thirdBackgroundColor)flags|=32;var _fourthBackgroundColor=v.fourthBackgroundColor!==undefined;if(_fourthBackgroundColor)flags|=64;var _emoticon=v.emoticon!==undefined;if(_emoticon)flags|=128;w.uint(flags);if(_backgroundColor)w.int(v.backgroundColor);if(_flags_4)w.int(v.secondBackgroundColor);if(_thirdBackgroundColor)w.int(v.thirdBackgroundColor);if(_fourthBackgroundColor)w.int(v.fourthBackgroundColor);if(_intensity)w.int(v.intensity);if(_flags_4)w.int(v.rotation);if(_emoticon)w.string(v.emoticon);},
|
|
938
945
|
'autoDownloadSettings':function(w,v){w.uint(3131405864);var flags=0;if(v.disabled===true)flags|=1;if(v.videoPreloadLarge===true)flags|=2;if(v.audioPreloadNext===true)flags|=4;if(v.phonecallsLessData===true)flags|=8;if(v.storiesPreload===true)flags|=16;w.uint(flags);w.int(h(v,'photoSizeMax'));w.int53(h(v,'videoSizeMax'));w.int53(h(v,'fileSizeMax'));w.int(h(v,'videoUploadMaxbitrate'));w.int(h(v,'smallQueueActiveOperationsMax'));w.int(h(v,'largeQueueActiveOperationsMax'));},
|
|
939
946
|
'account.autoDownloadSettings':function(w,v){w.uint(1674235686);w.object(h(v,'low'));w.object(h(v,'medium'));w.object(h(v,'high'));},
|
|
@@ -973,6 +980,7 @@ var m={
|
|
|
973
980
|
'themeSettings':function(w,v){w.uint(4200117972);var flags=0;var _messageColors=v.messageColors&&v.messageColors.length;if(_messageColors)flags|=1;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=2;if(v.messageColorsAnimated===true)flags|=4;var _outboxAccentColor=v.outboxAccentColor!==undefined;if(_outboxAccentColor)flags|=8;w.uint(flags);w.object(h(v,'baseTheme'));w.int(h(v,'accentColor'));if(_outboxAccentColor)w.int(v.outboxAccentColor);if(_messageColors)w.vector(w.int,v.messageColors);if(_wallpaper)w.object(v.wallpaper);},
|
|
974
981
|
'webPageAttributeTheme':function(w,v){w.uint(1421174295);var flags=0;var _documents=v.documents&&v.documents.length;if(_documents)flags|=1;var _settings=v.settings!==undefined;if(_settings)flags|=2;w.uint(flags);if(_documents)w.vector(w.object,v.documents);if(_settings)w.object(v.settings);},
|
|
975
982
|
'webPageAttributeStory':function(w,v){w.uint(781501415);var flags=0;var _story=v.story!==undefined;if(_story)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_story)w.object(v.story);},
|
|
983
|
+
'webPageAttributeStickerSet':function(w,v){w.uint(1355547603);var flags=0;if(v.emojis===true)flags|=1;if(v.textColor===true)flags|=2;w.uint(flags);w.vector(w.object,h(v,'stickers'));},
|
|
976
984
|
'messages.votesList':function(w,v){w.uint(1218005070);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,'votes'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
|
|
977
985
|
'bankCardOpenUrl':function(w,v){w.uint(4117234314);w.string(h(v,'url'));w.string(h(v,'name'));},
|
|
978
986
|
'payments.bankCardData':function(w,v){w.uint(1042605427);w.string(h(v,'title'));w.vector(w.object,h(v,'openUrls'));},
|
|
@@ -1047,7 +1055,7 @@ var m={
|
|
|
1047
1055
|
'account.resetPasswordFailedWait':function(w,v){w.uint(3816265825);w.int(h(v,'retryDate'));},
|
|
1048
1056
|
'account.resetPasswordRequestedWait':function(w,v){w.uint(3924819069);w.int(h(v,'untilDate'));},
|
|
1049
1057
|
'account.resetPasswordOk':function(w){w.uint(3911636542);},
|
|
1050
|
-
'sponsoredMessage':function(w,v){w.uint(
|
|
1058
|
+
'sponsoredMessage':function(w,v){w.uint(3186488678);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;if(v.recommended===true)flags|=32;var _photo=v.photo!==undefined;if(_photo)flags|=64;var _sponsorInfo=v.sponsorInfo!==undefined;if(_sponsorInfo)flags|=128;var _additionalInfo=v.additionalInfo!==undefined;if(_additionalInfo)flags|=256;if(v.canReport===true)flags|=4096;var _color=v.color!==undefined;if(_color)flags|=8192;w.uint(flags);w.bytes(h(v,'randomId'));w.string(h(v,'url'));w.string(h(v,'title'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_photo)w.object(v.photo);if(_color)w.object(v.color);w.string(h(v,'buttonText'));if(_sponsorInfo)w.string(v.sponsorInfo);if(_additionalInfo)w.string(v.additionalInfo);},
|
|
1051
1059
|
'messages.sponsoredMessages':function(w,v){w.uint(3387825543);var flags=0;var _postsBetween=v.postsBetween!==undefined;if(_postsBetween)flags|=1;w.uint(flags);if(_postsBetween)w.int(v.postsBetween);w.vector(w.object,h(v,'messages'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1052
1060
|
'messages.sponsoredMessagesEmpty':function(w){w.uint(406407439);},
|
|
1053
1061
|
'searchResultsCalendarPeriod':function(w,v){w.uint(3383776159);w.int(h(v,'date'));w.int(h(v,'minMsgId'));w.int(h(v,'maxMsgId'));w.int(h(v,'count'));},
|
|
@@ -1096,6 +1104,7 @@ var m={
|
|
|
1096
1104
|
'inputInvoiceMessage':function(w,v){w.uint(3317000281);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1097
1105
|
'inputInvoiceSlug':function(w,v){w.uint(3274099439);w.string(h(v,'slug'));},
|
|
1098
1106
|
'inputInvoicePremiumGiftCode':function(w,v){w.uint(2560125965);w.object(h(v,'purpose'));w.object(h(v,'option'));},
|
|
1107
|
+
'inputInvoiceStars':function(w,v){w.uint(497236696);w.object(h(v,'option'));},
|
|
1099
1108
|
'payments.exportedInvoice':function(w,v){w.uint(2932919257);w.string(h(v,'url'));},
|
|
1100
1109
|
'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);},
|
|
1101
1110
|
'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'));},
|
|
@@ -1103,6 +1112,7 @@ var m={
|
|
|
1103
1112
|
'inputStorePaymentGiftPremium':function(w,v){w.uint(1634697192);w.object(h(v,'userId'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1104
1113
|
'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'));},
|
|
1105
1114
|
'inputStorePaymentPremiumGiveaway':function(w,v){w.uint(369444042);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.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'));},
|
|
1115
|
+
'inputStorePaymentStars':function(w,v){w.uint(1326377183);var flags=0;w.uint(flags);w.long(h(v,'stars'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1106
1116
|
'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);},
|
|
1107
1117
|
'paymentFormMethod':function(w,v){w.uint(2298016283);w.string(h(v,'url'));w.string(h(v,'title'));},
|
|
1108
1118
|
'emojiStatusEmpty':function(w){w.uint(769727150);},
|
|
@@ -1143,6 +1153,8 @@ var m={
|
|
|
1143
1153
|
'emojiListNotModified':function(w){w.uint(1209970170);},
|
|
1144
1154
|
'emojiList':function(w,v){w.uint(2048790993);w.long(h(v,'hash'));w.vector(w.long,h(v,'documentId'));},
|
|
1145
1155
|
'emojiGroup':function(w,v){w.uint(2056961449);w.string(h(v,'title'));w.long(h(v,'iconEmojiId'));w.vector(w.string,h(v,'emoticons'));},
|
|
1156
|
+
'emojiGroupGreeting':function(w,v){w.uint(2161274055);w.string(h(v,'title'));w.long(h(v,'iconEmojiId'));w.vector(w.string,h(v,'emoticons'));},
|
|
1157
|
+
'emojiGroupPremium':function(w,v){w.uint(154914612);w.string(h(v,'title'));w.long(h(v,'iconEmojiId'));},
|
|
1146
1158
|
'messages.emojiGroupsNotModified':function(w){w.uint(1874111879);},
|
|
1147
1159
|
'messages.emojiGroups':function(w,v){w.uint(2283780427);w.int(h(v,'hash'));w.vector(w.object,h(v,'groups'));},
|
|
1148
1160
|
'textWithEntities':function(w,v){w.uint(1964978502);w.string(h(v,'text'));w.vector(w.object,h(v,'entities'));},
|
|
@@ -1171,14 +1183,13 @@ var m={
|
|
|
1171
1183
|
'messagePeerVote':function(w,v){w.uint(3066834268);w.object(h(v,'peer'));w.bytes(h(v,'option'));w.int(h(v,'date'));},
|
|
1172
1184
|
'messagePeerVoteInputOption':function(w,v){w.uint(1959634180);w.object(h(v,'peer'));w.int(h(v,'date'));},
|
|
1173
1185
|
'messagePeerVoteMultiple':function(w,v){w.uint(1177089766);w.object(h(v,'peer'));w.vector(w.bytes,h(v,'options'));w.int(h(v,'date'));},
|
|
1174
|
-
'sponsoredWebPage':function(w,v){w.uint(1035529315);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;w.uint(flags);w.string(h(v,'url'));w.string(h(v,'siteName'));if(_photo)w.object(v.photo);},
|
|
1175
1186
|
'storyViews':function(w,v){w.uint(2371443926);var flags=0;var _recentViewers=v.recentViewers&&v.recentViewers.length;if(_recentViewers)flags|=1;if(v.hasViewers===true)flags|=2;var _forwardsCount=v.forwardsCount!==undefined;if(_forwardsCount)flags|=4;var _reactions=v.reactions&&v.reactions.length;if(_reactions)flags|=8;var _reactionsCount=v.reactionsCount!==undefined;if(_reactionsCount)flags|=16;w.uint(flags);w.int(h(v,'viewsCount'));if(_forwardsCount)w.int(v.forwardsCount);if(_reactions)w.vector(w.object,v.reactions);if(_reactionsCount)w.int(v.reactionsCount);if(_recentViewers)w.vector(w.int53,v.recentViewers);},
|
|
1176
1187
|
'storyItemDeleted':function(w,v){w.uint(1374088783);w.int(h(v,'id'));},
|
|
1177
1188
|
'storyItemSkipped':function(w,v){w.uint(4289579283);var flags=0;if(v.closeFriends===true)flags|=256;w.uint(flags);w.int(h(v,'id'));w.int(h(v,'date'));w.int(h(v,'expireDate'));},
|
|
1178
1189
|
'storyItem':function(w,v){w.uint(2041735716);var flags=0;var _caption=v.caption!==undefined;if(_caption)flags|=1;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _privacy=v.privacy&&v.privacy.length;if(_privacy)flags|=4;var _views=v.views!==undefined;if(_views)flags|=8;if(v.pinned===true)flags|=32;if(v.public===true)flags|=128;if(v.closeFriends===true)flags|=256;if(v.min===true)flags|=512;if(v.noforwards===true)flags|=1024;if(v.edited===true)flags|=2048;if(v.contacts===true)flags|=4096;if(v.selectedContacts===true)flags|=8192;var _mediaAreas=v.mediaAreas&&v.mediaAreas.length;if(_mediaAreas)flags|=16384;var _sentReaction=v.sentReaction!==undefined;if(_sentReaction)flags|=32768;if(v.out===true)flags|=65536;var _fwdFrom=v.fwdFrom!==undefined;if(_fwdFrom)flags|=131072;var _fromId=v.fromId!==undefined;if(_fromId)flags|=262144;w.uint(flags);w.int(h(v,'id'));w.int(h(v,'date'));if(_fromId)w.object(v.fromId);if(_fwdFrom)w.object(v.fwdFrom);w.int(h(v,'expireDate'));if(_caption)w.string(v.caption);if(_entities)w.vector(w.object,v.entities);w.object(h(v,'media'));if(_mediaAreas)w.vector(w.object,v.mediaAreas);if(_privacy)w.vector(w.object,v.privacy);if(_views)w.object(v.views);if(_sentReaction)w.object(v.sentReaction);},
|
|
1179
1190
|
'stories.allStoriesNotModified':function(w,v){w.uint(291044926);var flags=0;w.uint(flags);w.string(h(v,'state'));w.object(h(v,'stealthMode'));},
|
|
1180
1191
|
'stories.allStories':function(w,v){w.uint(1862033025);var flags=0;if(v.hasMore===true)flags|=1;w.uint(flags);w.int(h(v,'count'));w.string(h(v,'state'));w.vector(w.object,h(v,'peerStories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));w.object(h(v,'stealthMode'));},
|
|
1181
|
-
'stories.stories':function(w,v){w.uint(
|
|
1192
|
+
'stories.stories':function(w,v){w.uint(1673780490);var flags=0;var _pinnedToTop=v.pinnedToTop&&v.pinnedToTop.length;if(_pinnedToTop)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'stories'));if(_pinnedToTop)w.vector(w.int,v.pinnedToTop);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1182
1193
|
'storyView':function(w,v){w.uint(2965236421);var flags=0;if(v.blocked===true)flags|=1;if(v.blockedMyStoriesFrom===true)flags|=2;var _reaction=v.reaction!==undefined;if(_reaction)flags|=4;w.uint(flags);w.int53(h(v,'userId'));w.int(h(v,'date'));if(_reaction)w.object(v.reaction);},
|
|
1183
1194
|
'storyViewPublicForward':function(w,v){w.uint(2424530699);var flags=0;if(v.blocked===true)flags|=1;if(v.blockedMyStoriesFrom===true)flags|=2;w.uint(flags);w.object(h(v,'message'));},
|
|
1184
1195
|
'storyViewPublicRepost':function(w,v){w.uint(3178549065);var flags=0;if(v.blocked===true)flags|=1;if(v.blockedMyStoriesFrom===true)flags|=2;w.uint(flags);w.object(h(v,'peerId'));w.object(h(v,'story'));},
|
|
@@ -1279,21 +1290,41 @@ var m={
|
|
|
1279
1290
|
'account.resolvedBusinessChatLinks':function(w,v){w.uint(2586029857);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1280
1291
|
'requestedPeerUser':function(w,v){w.uint(3593466986);var flags=0;var _firstName=v.firstName!==undefined;var _lastName=v.lastName!==undefined;var _flags_0=_firstName||_lastName;if(_flags_0)flags|=1;var _username=v.username!==undefined;if(_username)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.int53(h(v,'userId'));if(_flags_0)w.string(v.firstName);if(_flags_0)w.string(v.lastName);if(_username)w.string(v.username);if(_photo)w.object(v.photo);},
|
|
1281
1292
|
'requestedPeerChat':function(w,v){w.uint(1929860175);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.int53(h(v,'chatId'));if(_title)w.string(v.title);if(_photo)w.object(v.photo);},
|
|
1282
|
-
'requestedPeerChannel':function(w,v){w.uint(2342781924);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _username=v.username!==undefined;if(_username)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.
|
|
1293
|
+
'requestedPeerChannel':function(w,v){w.uint(2342781924);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _username=v.username!==undefined;if(_username)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.int53(h(v,'channelId'));if(_title)w.string(v.title);if(_username)w.string(v.username);if(_photo)w.object(v.photo);},
|
|
1283
1294
|
'sponsoredMessageReportOption':function(w,v){w.uint(1124938064);w.string(h(v,'text'));w.bytes(h(v,'option'));},
|
|
1284
1295
|
'channels.sponsoredMessageReportResultChooseOption':function(w,v){w.uint(2221907522);w.string(h(v,'title'));w.vector(w.object,h(v,'options'));},
|
|
1285
1296
|
'channels.sponsoredMessageReportResultAdsHidden':function(w){w.uint(1044107055);},
|
|
1286
1297
|
'channels.sponsoredMessageReportResultReported':function(w){w.uint(2910423113);},
|
|
1287
|
-
'stats.broadcastRevenueStats':function(w,v){w.uint(
|
|
1298
|
+
'stats.broadcastRevenueStats':function(w,v){w.uint(1409802903);w.object(h(v,'topHoursGraph'));w.object(h(v,'revenueGraph'));w.object(h(v,'balances'));w.double(h(v,'usdRate'));},
|
|
1288
1299
|
'stats.broadcastRevenueWithdrawalUrl':function(w,v){w.uint(3966080823);w.string(h(v,'url'));},
|
|
1289
1300
|
'broadcastRevenueTransactionProceeds':function(w,v){w.uint(1434332356);w.long(h(v,'amount'));w.int(h(v,'fromDate'));w.int(h(v,'toDate'));},
|
|
1290
1301
|
'broadcastRevenueTransactionWithdrawal':function(w,v){w.uint(1515784568);var flags=0;if(v.pending===true)flags|=1;var _transactionDate=v.transactionDate!==undefined;var _transactionUrl=v.transactionUrl!==undefined;var _flags_1=_transactionDate||_transactionUrl;if(_flags_1)flags|=2;if(v.failed===true)flags|=4;w.uint(flags);w.long(h(v,'amount'));w.int(h(v,'date'));w.string(h(v,'provider'));if(_flags_1)w.int(v.transactionDate);if(_flags_1)w.string(v.transactionUrl);},
|
|
1291
1302
|
'broadcastRevenueTransactionRefund':function(w,v){w.uint(1121127726);w.long(h(v,'amount'));w.int(h(v,'date'));w.string(h(v,'provider'));},
|
|
1292
1303
|
'stats.broadcastRevenueTransactions':function(w,v){w.uint(2266334310);w.int(h(v,'count'));w.vector(w.object,h(v,'transactions'));},
|
|
1304
|
+
'reactionNotificationsFromContacts':function(w){w.uint(3133384218);},
|
|
1305
|
+
'reactionNotificationsFromAll':function(w){w.uint(1268654752);},
|
|
1306
|
+
'reactionsNotifySettings':function(w,v){w.uint(1457736048);var flags=0;var _messagesNotifyFrom=v.messagesNotifyFrom!==undefined;if(_messagesNotifyFrom)flags|=1;var _storiesNotifyFrom=v.storiesNotifyFrom!==undefined;if(_storiesNotifyFrom)flags|=2;w.uint(flags);if(_messagesNotifyFrom)w.object(v.messagesNotifyFrom);if(_storiesNotifyFrom)w.object(v.storiesNotifyFrom);w.object(h(v,'sound'));w.boolean(h(v,'showPreviews'));},
|
|
1307
|
+
'broadcastRevenueBalances':function(w,v){w.uint(2218324422);w.long(h(v,'currentBalance'));w.long(h(v,'availableBalance'));w.long(h(v,'overallRevenue'));},
|
|
1308
|
+
'availableEffect':function(w,v){w.uint(2479088254);var flags=0;var _staticIconId=v.staticIconId!==undefined;if(_staticIconId)flags|=1;var _effectAnimationId=v.effectAnimationId!==undefined;if(_effectAnimationId)flags|=2;if(v.premiumRequired===true)flags|=4;w.uint(flags);w.long(h(v,'id'));w.string(h(v,'emoticon'));if(_staticIconId)w.long(v.staticIconId);w.long(h(v,'effectStickerId'));if(_effectAnimationId)w.long(v.effectAnimationId);},
|
|
1309
|
+
'messages.availableEffectsNotModified':function(w){w.uint(3522009691);},
|
|
1310
|
+
'messages.availableEffects':function(w,v){w.uint(3185271150);w.int(h(v,'hash'));w.vector(w.object,h(v,'effects'));w.vector(w.object,h(v,'documents'));},
|
|
1311
|
+
'factCheck':function(w,v){w.uint(3097230543);var flags=0;if(v.needCheck===true)flags|=1;var _country=v.country!==undefined;var _text=v.text!==undefined;var _flags_1=_country||_text;if(_flags_1)flags|=2;w.uint(flags);if(_flags_1)w.string(v.country);if(_flags_1)w.object(v.text);w.long(h(v,'hash'));},
|
|
1312
|
+
'starsTransactionPeerUnsupported':function(w){w.uint(2515714020);},
|
|
1313
|
+
'starsTransactionPeerAppStore':function(w){w.uint(3025646453);},
|
|
1314
|
+
'starsTransactionPeerPlayMarket':function(w){w.uint(2069236235);},
|
|
1315
|
+
'starsTransactionPeerPremiumBot':function(w){w.uint(621656824);},
|
|
1316
|
+
'starsTransactionPeerFragment':function(w){w.uint(3912227074);},
|
|
1317
|
+
'starsTransactionPeer':function(w,v){w.uint(3624771933);w.object(h(v,'peer'));},
|
|
1318
|
+
'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'));},
|
|
1319
|
+
'starsTransaction':function(w,v){w.uint(3429923250);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;w.uint(flags);w.string(h(v,'id'));w.long(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);},
|
|
1320
|
+
'payments.starsStatus':function(w,v){w.uint(2364862048);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.long(h(v,'balance'));w.vector(w.object,h(v,'history'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1293
1321
|
'updateGroupInvitePrivacyForbidden':function(w,v){w.uint(3438316246);w.int53(h(v,'userId'));},
|
|
1322
|
+
'sponsoredWebPage':function(w,v){w.uint(1035529315);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;w.uint(flags);w.string(h(v,'url'));w.string(h(v,'siteName'));if(_photo)w.object(v.photo);},
|
|
1294
1323
|
'test.useConfigSimple':function(w){w.uint(4189565501);},
|
|
1295
1324
|
'test.parseInputAppEvent':function(w){w.uint(3138226161);},
|
|
1296
1325
|
'invokeWithBusinessConnectionPrefix':function(w,v){w.uint(3710427022);w.string(h(v,'connectionId'));},
|
|
1326
|
+
'invokeWithGooglePlayIntegrityPrefix':function(w,v){w.uint(502868356);w.string(h(v,'nonce'));w.string(h(v,'token'));},
|
|
1327
|
+
'invokeWithApnsSecretPrefix':function(w,v){w.uint(229528824);w.string(h(v,'nonce'));w.string(h(v,'secret'));},
|
|
1297
1328
|
'invokeAfterMsg':function(w,v){w.uint(3416209197);w.long(h(v,'msgId'));w.object(h(v,'query'));},
|
|
1298
1329
|
'invokeAfterMsgs':function(w,v){w.uint(1036301552);w.vector(w.long,h(v,'msgIds'));w.object(h(v,'query'));},
|
|
1299
1330
|
'initConnection':function(w,v){w.uint(3251461801);var flags=0;var _proxy=v.proxy!==undefined;if(_proxy)flags|=1;var _params=v.params!==undefined;if(_params)flags|=2;w.uint(flags);w.int(h(v,'apiId'));w.string(h(v,'deviceModel'));w.string(h(v,'systemVersion'));w.string(h(v,'appVersion'));w.string(h(v,'systemLangCode'));w.string(h(v,'langPack'));w.string(h(v,'langCode'));if(_proxy)w.object(v.proxy);if(_params)w.object(v.params);w.object(h(v,'query'));},
|
|
@@ -1302,6 +1333,8 @@ var m={
|
|
|
1302
1333
|
'invokeWithMessagesRange':function(w,v){w.uint(911373810);w.object(h(v,'range'));w.object(h(v,'query'));},
|
|
1303
1334
|
'invokeWithTakeout':function(w,v){w.uint(2896821550);w.long(h(v,'takeoutId'));w.object(h(v,'query'));},
|
|
1304
1335
|
'invokeWithBusinessConnection':function(w,v){w.uint(3710427022);w.string(h(v,'connectionId'));w.object(h(v,'query'));},
|
|
1336
|
+
'invokeWithGooglePlayIntegrity':function(w,v){w.uint(502868356);w.string(h(v,'nonce'));w.string(h(v,'token'));w.object(h(v,'query'));},
|
|
1337
|
+
'invokeWithApnsSecret':function(w,v){w.uint(229528824);w.string(h(v,'nonce'));w.string(h(v,'secret'));w.object(h(v,'query'));},
|
|
1305
1338
|
'auth.sendCode':function(w,v){w.uint(2792825935);w.string(h(v,'phoneNumber'));w.int(h(v,'apiId'));w.string(h(v,'apiHash'));w.object(h(v,'settings'));},
|
|
1306
1339
|
'auth.signUp':function(w,v){w.uint(2865215255);var flags=0;if(v.noJoinedNotifications===true)flags|=1;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));w.string(h(v,'firstName'));w.string(h(v,'lastName'));},
|
|
1307
1340
|
'auth.signIn':function(w,v){w.uint(2371004753);var flags=0;var _phoneCode=v.phoneCode!==undefined;if(_phoneCode)flags|=1;var _emailVerification=v.emailVerification!==undefined;if(_emailVerification)flags|=2;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));if(_phoneCode)w.string(v.phoneCode);if(_emailVerification)w.object(v.emailVerification);},
|
|
@@ -1314,7 +1347,7 @@ var m={
|
|
|
1314
1347
|
'auth.checkPassword':function(w,v){w.uint(3515567382);w.object(h(v,'password'));},
|
|
1315
1348
|
'auth.requestPasswordRecovery':function(w){w.uint(3633822822);},
|
|
1316
1349
|
'auth.recoverPassword':function(w,v){w.uint(923364464);var flags=0;var _newSettings=v.newSettings!==undefined;if(_newSettings)flags|=1;w.uint(flags);w.string(h(v,'code'));if(_newSettings)w.object(v.newSettings);},
|
|
1317
|
-
'auth.resendCode':function(w,v){w.uint(
|
|
1350
|
+
'auth.resendCode':function(w,v){w.uint(3403969827);var flags=0;var _reason=v.reason!==undefined;if(_reason)flags|=1;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));if(_reason)w.string(v.reason);},
|
|
1318
1351
|
'auth.cancelCode':function(w,v){w.uint(520357240);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));},
|
|
1319
1352
|
'auth.dropTempAuthKeys':function(w,v){w.uint(2387124616);w.vector(w.long,h(v,'exceptAuthKeys'));},
|
|
1320
1353
|
'auth.exportLoginToken':function(w,v){w.uint(3084944894);w.int(h(v,'apiId'));w.string(h(v,'apiHash'));w.vector(w.long,h(v,'exceptIds'));},
|
|
@@ -1322,8 +1355,9 @@ var m={
|
|
|
1322
1355
|
'auth.acceptLoginToken':function(w,v){w.uint(3902057805);w.bytes(h(v,'token'));},
|
|
1323
1356
|
'auth.checkRecoveryPassword':function(w,v){w.uint(221691769);w.string(h(v,'code'));},
|
|
1324
1357
|
'auth.importWebTokenAuthorization':function(w,v){w.uint(767062953);w.int(h(v,'apiId'));w.string(h(v,'apiHash'));w.string(h(v,'webAuthToken'));},
|
|
1325
|
-
'auth.requestFirebaseSms':function(w,v){w.uint(
|
|
1358
|
+
'auth.requestFirebaseSms':function(w,v){w.uint(2386109982);var flags=0;var _safetyNetToken=v.safetyNetToken!==undefined;if(_safetyNetToken)flags|=1;var _iosPushSecret=v.iosPushSecret!==undefined;if(_iosPushSecret)flags|=2;var _playIntegrityToken=v.playIntegrityToken!==undefined;if(_playIntegrityToken)flags|=4;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));if(_safetyNetToken)w.string(v.safetyNetToken);if(_playIntegrityToken)w.string(v.playIntegrityToken);if(_iosPushSecret)w.string(v.iosPushSecret);},
|
|
1326
1359
|
'auth.resetLoginEmail':function(w,v){w.uint(2123760019);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));},
|
|
1360
|
+
'auth.reportMissingCode':function(w,v){w.uint(3416125430);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));w.string(h(v,'mnc'));},
|
|
1327
1361
|
'account.registerDevice':function(w,v){w.uint(3968205178);var flags=0;if(v.noMuted===true)flags|=1;w.uint(flags);w.int(h(v,'tokenType'));w.string(h(v,'token'));w.boolean(h(v,'appSandbox'));w.bytes(h(v,'secret'));w.vector(w.int53,h(v,'otherUids'));},
|
|
1328
1362
|
'account.unregisterDevice':function(w,v){w.uint(1779249670);w.int(h(v,'tokenType'));w.string(h(v,'token'));w.vector(w.int53,h(v,'otherUids'));},
|
|
1329
1363
|
'account.updateNotifySettings':function(w,v){w.uint(2227067795);w.object(h(v,'peer'));w.object(h(v,'settings'));},
|
|
@@ -1433,6 +1467,9 @@ var m={
|
|
|
1433
1467
|
'account.getBusinessChatLinks':function(w){w.uint(1869667809);},
|
|
1434
1468
|
'account.resolveBusinessChatLink':function(w,v){w.uint(1418913262);w.string(h(v,'slug'));},
|
|
1435
1469
|
'account.updatePersonalChannel':function(w,v){w.uint(3645048288);w.object(h(v,'channel'));},
|
|
1470
|
+
'account.toggleSponsoredMessages':function(w,v){w.uint(3118048141);w.boolean(h(v,'enabled'));},
|
|
1471
|
+
'account.getReactionsNotifySettings':function(w){w.uint(115172684);},
|
|
1472
|
+
'account.setReactionsNotifySettings':function(w,v){w.uint(829220168);w.object(h(v,'settings'));},
|
|
1436
1473
|
'users.getUsers':function(w,v){w.uint(227648840);w.vector(w.object,h(v,'id'));},
|
|
1437
1474
|
'users.getFullUser':function(w,v){w.uint(3054459160);w.object(h(v,'id'));},
|
|
1438
1475
|
'users.setSecureValueErrors':function(w,v){w.uint(2429064373);w.object(h(v,'id'));w.vector(w.object,h(v,'errors'));},
|
|
@@ -1472,8 +1509,8 @@ var m={
|
|
|
1472
1509
|
'messages.deleteMessages':function(w,v){w.uint(3851326930);var flags=0;if(v.revoke===true)flags|=1;w.uint(flags);w.vector(w.int,h(v,'id'));},
|
|
1473
1510
|
'messages.receivedMessages':function(w,v){w.uint(94983360);w.int(h(v,'maxId'));},
|
|
1474
1511
|
'messages.setTyping':function(w,v){w.uint(1486110434);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_topMsgId)w.int(v.topMsgId);w.object(h(v,'action'));},
|
|
1475
|
-
'messages.sendMessage':function(w,v){w.uint(
|
|
1476
|
-
'messages.sendMedia':function(w,v){w.uint(
|
|
1512
|
+
'messages.sendMessage':function(w,v){w.uint(2554304325);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.noWebpage===true)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;var _effect=v.effect!==undefined;if(_effect)flags|=262144;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.string(h(v,'message'));w.long(h(v,'randomId'));if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);if(_effect)w.long(v.effect);},
|
|
1513
|
+
'messages.sendMedia':function(w,v){w.uint(2018673486);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;var _effect=v.effect!==undefined;if(_effect)flags|=262144;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.object(h(v,'media'));w.string(h(v,'message'));w.long(h(v,'randomId'));if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);if(_effect)w.long(v.effect);},
|
|
1477
1514
|
'messages.forwardMessages':function(w,v){w.uint(3573781000);var flags=0;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.withMyScore===true)flags|=256;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=512;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;if(v.dropAuthor===true)flags|=2048;if(v.dropMediaCaptions===true)flags|=4096;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;w.uint(flags);w.object(h(v,'fromPeer'));w.vector(w.int,h(v,'id'));w.vector(w.long,h(v,'randomId'));w.object(h(v,'toPeer'));if(_topMsgId)w.int(v.topMsgId);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);},
|
|
1478
1515
|
'messages.reportSpam':function(w,v){w.uint(3474297563);w.object(h(v,'peer'));},
|
|
1479
1516
|
'messages.getPeerSettings':function(w,v){w.uint(4024018594);w.object(h(v,'peer'));},
|
|
@@ -1510,7 +1547,7 @@ var m={
|
|
|
1510
1547
|
'messages.getMessagesViews':function(w,v){w.uint(1468322785);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));w.boolean(h(v,'increment'));},
|
|
1511
1548
|
'messages.editChatAdmin':function(w,v){w.uint(2824589762);w.int53(h(v,'chatId'));w.object(h(v,'userId'));w.boolean(h(v,'isAdmin'));},
|
|
1512
1549
|
'messages.migrateChat':function(w,v){w.uint(2726777625);w.int53(h(v,'chatId'));},
|
|
1513
|
-
'messages.searchGlobal':function(w,v){w.uint(1271290010);var flags=0;var _folderId=v.folderId!==undefined;if(_folderId)flags|=1;w.uint(flags);if(_folderId)w.int(v.folderId);w.string(h(v,'q'));w.object(h(v,'filter'));w.int(h(v,'minDate'));w.int(h(v,'maxDate'));w.int(h(v,'offsetRate'));w.object(h(v,'offsetPeer'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
|
|
1550
|
+
'messages.searchGlobal':function(w,v){w.uint(1271290010);var flags=0;var _folderId=v.folderId!==undefined;if(_folderId)flags|=1;if(v.broadcastsOnly===true)flags|=2;w.uint(flags);if(_folderId)w.int(v.folderId);w.string(h(v,'q'));w.object(h(v,'filter'));w.int(h(v,'minDate'));w.int(h(v,'maxDate'));w.int(h(v,'offsetRate'));w.object(h(v,'offsetPeer'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
|
|
1514
1551
|
'messages.reorderStickerSets':function(w,v){w.uint(2016638777);var flags=0;if(v.masks===true)flags|=1;if(v.emojis===true)flags|=2;w.uint(flags);w.vector(w.long,h(v,'order'));},
|
|
1515
1552
|
'messages.getDocumentByHash':function(w,v){w.uint(2985428511);w.bytes(h(v,'sha256'));w.int53(h(v,'size'));w.string(h(v,'mimeType'));},
|
|
1516
1553
|
'messages.getSavedGifs':function(w,v){w.uint(1559270965);w.long(h(v,'hash'));},
|
|
@@ -1552,7 +1589,7 @@ var m={
|
|
|
1552
1589
|
'messages.getUnreadMentions':function(w,v){w.uint(4043827088);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_topMsgId)w.int(v.topMsgId);w.int(h(v,'offsetId'));w.int(h(v,'addOffset'));w.int(h(v,'limit'));w.int(h(v,'maxId'));w.int(h(v,'minId'));},
|
|
1553
1590
|
'messages.readMentions':function(w,v){w.uint(921026381);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_topMsgId)w.int(v.topMsgId);},
|
|
1554
1591
|
'messages.getRecentLocations':function(w,v){w.uint(1881817312);w.object(h(v,'peer'));w.int(h(v,'limit'));w.long(h(v,'hash'));},
|
|
1555
|
-
'messages.sendMultiMedia':function(w,v){w.uint(
|
|
1592
|
+
'messages.sendMultiMedia':function(w,v){w.uint(934757205);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;var _effect=v.effect!==undefined;if(_effect)flags|=262144;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.vector(w.object,h(v,'multiMedia'));if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);if(_effect)w.long(v.effect);},
|
|
1556
1593
|
'messages.uploadEncryptedFile':function(w,v){w.uint(1347929239);w.object(h(v,'peer'));w.object(h(v,'file'));},
|
|
1557
1594
|
'messages.searchStickerSets':function(w,v){w.uint(896555914);var flags=0;if(v.excludeFeatured===true)flags|=1;w.uint(flags);w.string(h(v,'q'));w.long(h(v,'hash'));},
|
|
1558
1595
|
'messages.getSplitRanges':function(w){w.uint(486505992);},
|
|
@@ -1614,7 +1651,7 @@ var m={
|
|
|
1614
1651
|
'messages.sendReaction':function(w,v){w.uint(3540875476);var flags=0;var _reaction=v.reaction&&v.reaction.length;if(_reaction)flags|=1;if(v.big===true)flags|=2;if(v.addToRecent===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));if(_reaction)w.vector(w.object,v.reaction);},
|
|
1615
1652
|
'messages.getMessagesReactions':function(w,v){w.uint(2344259814);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1616
1653
|
'messages.getMessageReactionsList':function(w,v){w.uint(1176190792);var flags=0;var _reaction=v.reaction!==undefined;if(_reaction)flags|=1;var _offset=v.offset!==undefined;if(_offset)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_reaction)w.object(v.reaction);if(_offset)w.string(v.offset);w.int(h(v,'limit'));},
|
|
1617
|
-
'messages.setChatAvailableReactions':function(w,v){w.uint(
|
|
1654
|
+
'messages.setChatAvailableReactions':function(w,v){w.uint(1511328724);var flags=0;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'availableReactions'));if(_reactionsLimit)w.int(v.reactionsLimit);},
|
|
1618
1655
|
'messages.getAvailableReactions':function(w,v){w.uint(417243308);w.int(h(v,'hash'));},
|
|
1619
1656
|
'messages.setDefaultReaction':function(w,v){w.uint(1330094102);w.object(h(v,'reaction'));},
|
|
1620
1657
|
'messages.translateText':function(w,v){w.uint(1662529584);var flags=0;var _peer=v.peer!==undefined;var _id=v.id&&v.id.length;var _flags_0=_peer||_id;if(_flags_0)flags|=1;var _text=v.text&&v.text.length;if(_text)flags|=2;w.uint(flags);if(_flags_0)w.object(v.peer);if(_flags_0)w.vector(w.int,v.id);if(_text)w.vector(w.object,v.text);w.string(h(v,'toLang'));},
|
|
@@ -1671,6 +1708,11 @@ var m={
|
|
|
1671
1708
|
'messages.deleteQuickReplyMessages':function(w,v){w.uint(3775260944);w.int(h(v,'shortcutId'));w.vector(w.int,h(v,'id'));},
|
|
1672
1709
|
'messages.toggleDialogFilterTags':function(w,v){w.uint(4247640649);w.boolean(h(v,'enabled'));},
|
|
1673
1710
|
'messages.getMyStickers':function(w,v){w.uint(3501580796);w.long(h(v,'offsetId'));w.int(h(v,'limit'));},
|
|
1711
|
+
'messages.getEmojiStickerGroups':function(w,v){w.uint(500711669);w.int(h(v,'hash'));},
|
|
1712
|
+
'messages.getAvailableEffects':function(w,v){w.uint(3735161401);w.int(h(v,'hash'));},
|
|
1713
|
+
'messages.editFactCheck':function(w,v){w.uint(92925557);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.object(h(v,'text'));},
|
|
1714
|
+
'messages.deleteFactCheck':function(w,v){w.uint(3520762892);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1715
|
+
'messages.getFactCheck':function(w,v){w.uint(3117270510);w.object(h(v,'peer'));w.vector(w.int,h(v,'msgId'));},
|
|
1674
1716
|
'updates.getState':function(w){w.uint(3990128682);},
|
|
1675
1717
|
'updates.getDifference':function(w,v){w.uint(432207715);var flags=0;var _ptsTotalLimit=v.ptsTotalLimit!==undefined;if(_ptsTotalLimit)flags|=1;var _ptsLimit=v.ptsLimit!==undefined;if(_ptsLimit)flags|=2;var _qtsLimit=v.qtsLimit!==undefined;if(_qtsLimit)flags|=4;w.uint(flags);w.int(h(v,'pts'));if(_ptsLimit)w.int(v.ptsLimit);if(_ptsTotalLimit)w.int(v.ptsTotalLimit);w.int(h(v,'date'));w.int(h(v,'qts'));if(_qtsLimit)w.int(v.qtsLimit);},
|
|
1676
1718
|
'updates.getChannelDifference':function(w,v){w.uint(51854712);var flags=0;if(v.force===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));w.object(h(v,'filter'));w.int(h(v,'pts'));w.int(h(v,'limit'));},
|
|
@@ -1770,12 +1812,13 @@ var m={
|
|
|
1770
1812
|
'channels.clickSponsoredMessage':function(w,v){w.uint(414170259);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
|
|
1771
1813
|
'channels.updateColor':function(w,v){w.uint(3635033713);var flags=0;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=1;if(v.forProfile===true)flags|=2;var _color=v.color!==undefined;if(_color)flags|=4;w.uint(flags);w.object(h(v,'channel'));if(_color)w.int(v.color);if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1772
1814
|
'channels.toggleViewForumAsMessages':function(w,v){w.uint(2537077525);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
|
|
1773
|
-
'channels.getChannelRecommendations':function(w,v){w.uint(
|
|
1815
|
+
'channels.getChannelRecommendations':function(w,v){w.uint(631707458);var flags=0;var _channel=v.channel!==undefined;if(_channel)flags|=1;w.uint(flags);if(_channel)w.object(v.channel);},
|
|
1774
1816
|
'channels.updateEmojiStatus':function(w,v){w.uint(4040418984);w.object(h(v,'channel'));w.object(h(v,'emojiStatus'));},
|
|
1775
1817
|
'channels.setBoostsToUnblockRestrictions':function(w,v){w.uint(2906234094);w.object(h(v,'channel'));w.int(h(v,'boosts'));},
|
|
1776
1818
|
'channels.setEmojiStickers':function(w,v){w.uint(1020866743);w.object(h(v,'channel'));w.object(h(v,'stickerset'));},
|
|
1777
1819
|
'channels.reportSponsoredMessage':function(w,v){w.uint(2945447609);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));w.bytes(h(v,'option'));},
|
|
1778
1820
|
'channels.restrictSponsoredMessages':function(w,v){w.uint(2598966553);w.object(h(v,'channel'));w.boolean(h(v,'restricted'));},
|
|
1821
|
+
'channels.searchPosts':function(w,v){w.uint(3516897403);w.string(h(v,'hashtag'));w.int(h(v,'offsetRate'));w.object(h(v,'offsetPeer'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
|
|
1779
1822
|
'bots.sendCustomRequest':function(w,v){w.uint(2854709741);w.string(h(v,'customMethod'));w.object(h(v,'params'));},
|
|
1780
1823
|
'bots.answerWebhookJSONQuery':function(w,v){w.uint(3860938573);w.long(h(v,'queryId'));w.object(h(v,'data'));},
|
|
1781
1824
|
'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'));},
|
|
@@ -1808,6 +1851,11 @@ var m={
|
|
|
1808
1851
|
'payments.applyGiftCode':function(w,v){w.uint(4142032980);w.string(h(v,'slug'));},
|
|
1809
1852
|
'payments.getGiveawayInfo':function(w,v){w.uint(4095972389);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1810
1853
|
'payments.launchPrepaidGiveaway':function(w,v){w.uint(1609928480);w.object(h(v,'peer'));w.long(h(v,'giveawayId'));w.object(h(v,'purpose'));},
|
|
1854
|
+
'payments.getStarsTopupOptions':function(w){w.uint(3222194131);},
|
|
1855
|
+
'payments.getStarsStatus':function(w,v){w.uint(273665959);w.object(h(v,'peer'));},
|
|
1856
|
+
'payments.getStarsTransactions':function(w,v){w.uint(1731904249);var flags=0;if(v.inbound===true)flags|=1;if(v.outbound===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));},
|
|
1857
|
+
'payments.sendStarsForm':function(w,v){w.uint(45839133);var flags=0;w.uint(flags);w.long(h(v,'formId'));w.object(h(v,'invoice'));},
|
|
1858
|
+
'payments.refundStarsCharge':function(w,v){w.uint(632196938);w.object(h(v,'userId'));w.string(h(v,'chargeId'));},
|
|
1811
1859
|
'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);},
|
|
1812
1860
|
'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
|
|
1813
1861
|
'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
|
|
@@ -1901,6 +1949,7 @@ var m={
|
|
|
1901
1949
|
'stories.getChatsToSend':function(w){w.uint(2775223136);},
|
|
1902
1950
|
'stories.togglePeerStoriesHidden':function(w,v){w.uint(3171161540);w.object(h(v,'peer'));w.boolean(h(v,'hidden'));},
|
|
1903
1951
|
'stories.getStoryReactionsList':function(w,v){w.uint(3115485215);var flags=0;var _reaction=v.reaction!==undefined;if(_reaction)flags|=1;var _offset=v.offset!==undefined;if(_offset)flags|=2;if(v.forwardsFirst===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_reaction)w.object(v.reaction);if(_offset)w.string(v.offset);w.int(h(v,'limit'));},
|
|
1952
|
+
'stories.togglePinnedToTop':function(w,v){w.uint(187268763);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1904
1953
|
'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'));},
|
|
1905
1954
|
'premium.getMyBoosts':function(w){w.uint(199719754);},
|
|
1906
1955
|
'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'));},
|
|
@@ -2099,6 +2148,7 @@ _staticSize:{
|
|
|
2099
2148
|
'updateChannelViewForumAsMessages':16,
|
|
2100
2149
|
'updateSavedReactionTags':4,
|
|
2101
2150
|
'updateDeleteQuickReply':8,
|
|
2151
|
+
'updateStarsBalance':12,
|
|
2102
2152
|
'updates.state':24,
|
|
2103
2153
|
'updates.differenceEmpty':12,
|
|
2104
2154
|
'updates.differenceTooLong':8,
|
|
@@ -2208,7 +2258,7 @@ _staticSize:{
|
|
|
2208
2258
|
'messageEntityBankCard':12,
|
|
2209
2259
|
'messageEntitySpoiler':12,
|
|
2210
2260
|
'messageEntityCustomEmoji':20,
|
|
2211
|
-
'messageEntityBlockquote':
|
|
2261
|
+
'messageEntityBlockquote':16,
|
|
2212
2262
|
'inputChannelEmpty':4,
|
|
2213
2263
|
'inputChannel':20,
|
|
2214
2264
|
'messageRange':12,
|
|
@@ -2424,6 +2474,16 @@ _staticSize:{
|
|
|
2424
2474
|
'channels.sponsoredMessageReportResultAdsHidden':4,
|
|
2425
2475
|
'channels.sponsoredMessageReportResultReported':4,
|
|
2426
2476
|
'broadcastRevenueTransactionProceeds':20,
|
|
2477
|
+
'reactionNotificationsFromContacts':4,
|
|
2478
|
+
'reactionNotificationsFromAll':4,
|
|
2479
|
+
'broadcastRevenueBalances':28,
|
|
2480
|
+
'messages.availableEffectsNotModified':4,
|
|
2481
|
+
'starsTransactionPeerUnsupported':4,
|
|
2482
|
+
'starsTransactionPeerAppStore':4,
|
|
2483
|
+
'starsTransactionPeerPlayMarket':4,
|
|
2484
|
+
'starsTransactionPeerPremiumBot':4,
|
|
2485
|
+
'starsTransactionPeerFragment':4,
|
|
2486
|
+
'starsTransactionPeer':16,
|
|
2427
2487
|
'updateGroupInvitePrivacyForbidden':12,
|
|
2428
2488
|
'test.useConfigSimple':4,
|
|
2429
2489
|
'test.parseInputAppEvent':4,
|
|
@@ -2474,6 +2534,8 @@ _staticSize:{
|
|
|
2474
2534
|
'account.getChannelRestrictedStatusEmojis':12,
|
|
2475
2535
|
'account.getConnectedBots':4,
|
|
2476
2536
|
'account.getBusinessChatLinks':4,
|
|
2537
|
+
'account.toggleSponsoredMessages':8,
|
|
2538
|
+
'account.getReactionsNotifySettings':4,
|
|
2477
2539
|
'contacts.getContactIDs':12,
|
|
2478
2540
|
'contacts.getStatuses':4,
|
|
2479
2541
|
'contacts.getContacts':12,
|
|
@@ -2530,6 +2592,8 @@ _staticSize:{
|
|
|
2530
2592
|
'messages.deleteQuickReplyShortcut':8,
|
|
2531
2593
|
'messages.toggleDialogFilterTags':8,
|
|
2532
2594
|
'messages.getMyStickers':16,
|
|
2595
|
+
'messages.getEmojiStickerGroups':8,
|
|
2596
|
+
'messages.getAvailableEffects':8,
|
|
2533
2597
|
'updates.getState':4,
|
|
2534
2598
|
'help.getConfig':4,
|
|
2535
2599
|
'help.getNearestDc':4,
|
|
@@ -2553,6 +2617,7 @@ _staticSize:{
|
|
|
2553
2617
|
'bots.setBotGroupDefaultAdminRights':12,
|
|
2554
2618
|
'payments.getSavedInfo':4,
|
|
2555
2619
|
'payments.clearSavedInfo':8,
|
|
2620
|
+
'payments.getStarsTopupOptions':4,
|
|
2556
2621
|
'phone.getCallConfig':4,
|
|
2557
2622
|
'phone.receivedCall':24,
|
|
2558
2623
|
'phone.discardCall':44,
|
|
@@ -2607,6 +2672,7 @@ _staticSize:{
|
|
|
2607
2672
|
'mt_destroy_auth_key':4,
|
|
2608
2673
|
'messageActionGroupCallScheduled':28,
|
|
2609
2674
|
'updateChatDefaultBannedRights':32,
|
|
2675
|
+
'updateBroadcastRevenueTransactions':44,
|
|
2610
2676
|
'channelParticipantBanned':44,
|
|
2611
2677
|
'channelAdminLogEventActionDefaultBannedRights':28,
|
|
2612
2678
|
'channelAdminLogEventActionStartGroupCall':24,
|