@mtcute/tl 167.0.1 → 174.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 +59 -42
- package/binary/writer.js +111 -77
- package/index.d.ts +3280 -539
- package/index.js +9 -8
- package/package.json +1 -1
package/binary/writer.js
CHANGED
|
@@ -72,22 +72,22 @@ var m={
|
|
|
72
72
|
'storage.fileMp4':function(w){w.uint(3016663268);},
|
|
73
73
|
'storage.fileWebp':function(w){w.uint(276907596);},
|
|
74
74
|
'userEmpty':function(w,v){w.uint(3552332666);w.int53(h(v,'id'));},
|
|
75
|
-
'user':function(w,v){w.uint(559694904);var flags=0;var _accessHash=v.accessHash!==undefined;if(_accessHash)flags|=1;var _firstName=v.firstName!==undefined;if(_firstName)flags|=2;var _lastName=v.lastName!==undefined;if(_lastName)flags|=4;var _username=v.username!==undefined;if(_username)flags|=8;var _phone=v.phone!==undefined;if(_phone)flags|=16;var _photo=v.photo!==undefined;if(_photo)flags|=32;var _status=v.status!==undefined;if(_status)flags|=64;if(v.self===true)flags|=1024;if(v.contact===true)flags|=2048;if(v.mutualContact===true)flags|=4096;if(v.deleted===true)flags|=8192;var _botInfoVersion=v.botInfoVersion!==undefined;var _flags_14=v.bot===true||_botInfoVersion;if(_flags_14)flags|=16384;if(v.botChatHistory===true)flags|=32768;if(v.botNochats===true)flags|=65536;if(v.verified===true)flags|=131072;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;var _flags_18=v.restricted===true||_restrictionReason;if(_flags_18)flags|=262144;var _botInlinePlaceholder=v.botInlinePlaceholder!==undefined;if(_botInlinePlaceholder)flags|=524288;if(v.min===true)flags|=1048576;if(v.botInlineGeo===true)flags|=2097152;var _langCode=v.langCode!==undefined;if(_langCode)flags|=4194304;if(v.support===true)flags|=8388608;if(v.scam===true)flags|=16777216;if(v.applyMinPhoto===true)flags|=33554432;if(v.fake===true)flags|=67108864;if(v.botAttachMenu===true)flags|=134217728;if(v.premium===true)flags|=268435456;if(v.attachMenuEnabled===true)flags|=536870912;var _emojiStatus=v.emojiStatus!==undefined;if(_emojiStatus)flags|=1073741824;w.uint(flags);var flags2=0;var _usernames=v.usernames&&v.usernames.length;if(_usernames)flags2|=1;if(v.botCanEdit===true)flags2|=2;if(v.closeFriend===true)flags2|=4;if(v.storiesHidden===true)flags2|=8;if(v.storiesUnavailable===true)flags2|=16;var _storiesMaxId=v.storiesMaxId!==undefined;if(_storiesMaxId)flags2|=32;var _color=v.color!==undefined;if(_color)flags2|=256;var _profileColor=v.profileColor!==undefined;if(_profileColor)flags2|=512;w.uint(flags2);w.int53(h(v,'id'));if(_accessHash)w.long(v.accessHash);if(_firstName)w.string(v.firstName);if(_lastName)w.string(v.lastName);if(_username)w.string(v.username);if(_phone)w.string(v.phone);if(_photo)w.object(v.photo);if(_status)w.object(v.status);if(_flags_14)w.int(v.botInfoVersion);if(_flags_18)w.vector(w.object,v.restrictionReason);if(_botInlinePlaceholder)w.string(v.botInlinePlaceholder);if(_langCode)w.string(v.langCode);if(_emojiStatus)w.object(v.emojiStatus);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);},
|
|
75
|
+
'user':function(w,v){w.uint(559694904);var flags=0;var _accessHash=v.accessHash!==undefined;if(_accessHash)flags|=1;var _firstName=v.firstName!==undefined;if(_firstName)flags|=2;var _lastName=v.lastName!==undefined;if(_lastName)flags|=4;var _username=v.username!==undefined;if(_username)flags|=8;var _phone=v.phone!==undefined;if(_phone)flags|=16;var _photo=v.photo!==undefined;if(_photo)flags|=32;var _status=v.status!==undefined;if(_status)flags|=64;if(v.self===true)flags|=1024;if(v.contact===true)flags|=2048;if(v.mutualContact===true)flags|=4096;if(v.deleted===true)flags|=8192;var _botInfoVersion=v.botInfoVersion!==undefined;var _flags_14=v.bot===true||_botInfoVersion;if(_flags_14)flags|=16384;if(v.botChatHistory===true)flags|=32768;if(v.botNochats===true)flags|=65536;if(v.verified===true)flags|=131072;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;var _flags_18=v.restricted===true||_restrictionReason;if(_flags_18)flags|=262144;var _botInlinePlaceholder=v.botInlinePlaceholder!==undefined;if(_botInlinePlaceholder)flags|=524288;if(v.min===true)flags|=1048576;if(v.botInlineGeo===true)flags|=2097152;var _langCode=v.langCode!==undefined;if(_langCode)flags|=4194304;if(v.support===true)flags|=8388608;if(v.scam===true)flags|=16777216;if(v.applyMinPhoto===true)flags|=33554432;if(v.fake===true)flags|=67108864;if(v.botAttachMenu===true)flags|=134217728;if(v.premium===true)flags|=268435456;if(v.attachMenuEnabled===true)flags|=536870912;var _emojiStatus=v.emojiStatus!==undefined;if(_emojiStatus)flags|=1073741824;w.uint(flags);var flags2=0;var _usernames=v.usernames&&v.usernames.length;if(_usernames)flags2|=1;if(v.botCanEdit===true)flags2|=2;if(v.closeFriend===true)flags2|=4;if(v.storiesHidden===true)flags2|=8;if(v.storiesUnavailable===true)flags2|=16;var _storiesMaxId=v.storiesMaxId!==undefined;if(_storiesMaxId)flags2|=32;var _color=v.color!==undefined;if(_color)flags2|=256;var _profileColor=v.profileColor!==undefined;if(_profileColor)flags2|=512;if(v.contactRequirePremium===true)flags2|=1024;w.uint(flags2);w.int53(h(v,'id'));if(_accessHash)w.long(v.accessHash);if(_firstName)w.string(v.firstName);if(_lastName)w.string(v.lastName);if(_username)w.string(v.username);if(_phone)w.string(v.phone);if(_photo)w.object(v.photo);if(_status)w.object(v.status);if(_flags_14)w.int(v.botInfoVersion);if(_flags_18)w.vector(w.object,v.restrictionReason);if(_botInlinePlaceholder)w.string(v.botInlinePlaceholder);if(_langCode)w.string(v.langCode);if(_emojiStatus)w.object(v.emojiStatus);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);},
|
|
76
76
|
'userProfilePhotoEmpty':function(w){w.uint(1326562017);},
|
|
77
77
|
'userProfilePhoto':function(w,v){w.uint(2194798342);var flags=0;if(v.hasVideo===true)flags|=1;var _strippedThumb=v.strippedThumb!==undefined;if(_strippedThumb)flags|=2;if(v.personal===true)flags|=4;w.uint(flags);w.long(h(v,'photoId'));if(_strippedThumb)w.bytes(v.strippedThumb);w.int(h(v,'dcId'));},
|
|
78
78
|
'userStatusEmpty':function(w){w.uint(164646985);},
|
|
79
79
|
'userStatusOnline':function(w,v){w.uint(3988339017);w.int(h(v,'expires'));},
|
|
80
80
|
'userStatusOffline':function(w,v){w.uint(9203775);w.int(h(v,'wasOnline'));},
|
|
81
|
-
'userStatusRecently':function(w){w.uint(
|
|
82
|
-
'userStatusLastWeek':function(w){w.uint(
|
|
83
|
-
'userStatusLastMonth':function(w){w.uint(
|
|
81
|
+
'userStatusRecently':function(w,v){w.uint(2065268168);var flags=0;if(v.byMe===true)flags|=1;w.uint(flags);},
|
|
82
|
+
'userStatusLastWeek':function(w,v){w.uint(1410997530);var flags=0;if(v.byMe===true)flags|=1;w.uint(flags);},
|
|
83
|
+
'userStatusLastMonth':function(w,v){w.uint(1703516023);var flags=0;if(v.byMe===true)flags|=1;w.uint(flags);},
|
|
84
84
|
'chatEmpty':function(w,v){w.uint(693512293);w.int53(h(v,'id'));},
|
|
85
85
|
'chat':function(w,v){w.uint(1103884886);var flags=0;if(v.creator===true)flags|=1;if(v.left===true)flags|=4;if(v.deactivated===true)flags|=32;var _migratedTo=v.migratedTo!==undefined;if(_migratedTo)flags|=64;var _adminRights=v.adminRights!==undefined;if(_adminRights)flags|=16384;var _defaultBannedRights=v.defaultBannedRights!==undefined;if(_defaultBannedRights)flags|=262144;if(v.callActive===true)flags|=8388608;if(v.callNotEmpty===true)flags|=16777216;if(v.noforwards===true)flags|=33554432;w.uint(flags);w.int53(h(v,'id'));w.string(h(v,'title'));w.object(h(v,'photo'));w.int(h(v,'participantsCount'));w.int(h(v,'date'));w.int(h(v,'version'));if(_migratedTo)w.object(v.migratedTo);if(_adminRights)w.object(v.adminRights);if(_defaultBannedRights)w.object(v.defaultBannedRights);},
|
|
86
86
|
'chatForbidden':function(w,v){w.uint(1704108455);w.int53(h(v,'id'));w.string(h(v,'title'));},
|
|
87
|
-
'channel':function(w,v){w.uint(
|
|
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
89
|
'chatFull':function(w,v){w.uint(3386052920);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;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);},
|
|
90
|
-
'channelFull':function(w,v){w.uint(
|
|
90
|
+
'channelFull':function(w,v){w.uint(1153455271);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;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(_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,14 +96,14 @@ 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(508332649);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;w.uint(flags);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(_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);},
|
|
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);},
|
|
103
103
|
'messageMediaGeo':function(w,v){w.uint(1457575028);w.object(h(v,'geo'));},
|
|
104
104
|
'messageMediaContact':function(w,v){w.uint(1882335561);w.string(h(v,'phoneNumber'));w.string(h(v,'firstName'));w.string(h(v,'lastName'));w.string(h(v,'vcard'));w.int53(h(v,'userId'));},
|
|
105
105
|
'messageMediaUnsupported':function(w){w.uint(2676290718);},
|
|
106
|
-
'messageMediaDocument':function(w,v){w.uint(1291114285);var flags=0;var _document=v.document!==undefined;if(_document)flags|=1;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=4;if(v.nopremium===true)flags|=8;if(v.spoiler===true)flags|=16;var _altDocument=v.altDocument!==undefined;if(_altDocument)flags|=32;w.uint(flags);if(_document)w.object(v.document);if(_altDocument)w.object(v.altDocument);if(_ttlSeconds)w.int(v.ttlSeconds);},
|
|
106
|
+
'messageMediaDocument':function(w,v){w.uint(1291114285);var flags=0;var _document=v.document!==undefined;if(_document)flags|=1;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=4;if(v.nopremium===true)flags|=8;if(v.spoiler===true)flags|=16;var _altDocument=v.altDocument!==undefined;if(_altDocument)flags|=32;if(v.video===true)flags|=64;if(v.round===true)flags|=128;if(v.voice===true)flags|=256;w.uint(flags);if(_document)w.object(v.document);if(_altDocument)w.object(v.altDocument);if(_ttlSeconds)w.int(v.ttlSeconds);},
|
|
107
107
|
'messageMediaWebPage':function(w,v){w.uint(3723562043);var flags=0;if(v.forceLargeMedia===true)flags|=1;if(v.forceSmallMedia===true)flags|=2;if(v.manual===true)flags|=8;if(v.safe===true)flags|=16;w.uint(flags);w.object(h(v,'webpage'));},
|
|
108
108
|
'messageMediaVenue':function(w,v){w.uint(784356159);w.object(h(v,'geo'));w.string(h(v,'title'));w.string(h(v,'address'));w.string(h(v,'provider'));w.string(h(v,'venueId'));w.string(h(v,'venueType'));},
|
|
109
109
|
'messageMediaGame':function(w,v){w.uint(4256272392);w.object(h(v,'game'));},
|
|
@@ -112,7 +112,8 @@ var m={
|
|
|
112
112
|
'messageMediaPoll':function(w,v){w.uint(1272375192);w.object(h(v,'poll'));w.object(h(v,'results'));},
|
|
113
113
|
'messageMediaDice':function(w,v){w.uint(1065280907);w.int(h(v,'value'));w.string(h(v,'emoticon'));},
|
|
114
114
|
'messageMediaStory':function(w,v){w.uint(1758159491);var flags=0;var _story=v.story!==undefined;if(_story)flags|=1;if(v.viaMention===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_story)w.object(v.story);},
|
|
115
|
-
'messageMediaGiveaway':function(w,v){w.uint(
|
|
115
|
+
'messageMediaGiveaway':function(w,v){w.uint(3668805040);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=2;if(v.winnersAreVisible===true)flags|=4;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=8;w.uint(flags);w.vector(w.int53,h(v,'channels'));if(_countriesIso2)w.vector(w.string,v.countriesIso2);if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'quantity'));w.int(h(v,'months'));w.int(h(v,'untilDate'));},
|
|
116
|
+
'messageMediaGiveawayResults':function(w,v){w.uint(3331919976);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=2;if(v.refunded===true)flags|=4;var _additionalPeersCount=v.additionalPeersCount!==undefined;if(_additionalPeersCount)flags|=8;w.uint(flags);w.long(h(v,'channelId'));if(_additionalPeersCount)w.int(v.additionalPeersCount);w.int(h(v,'launchMsgId'));w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));w.vector(w.long,h(v,'winners'));w.int(h(v,'months'));if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'untilDate'));},
|
|
116
117
|
'messageActionEmpty':function(w){w.uint(3064919984);},
|
|
117
118
|
'messageActionChatCreate':function(w,v){w.uint(3175599021);w.string(h(v,'title'));w.vector(w.int53,h(v,'users'));},
|
|
118
119
|
'messageActionChatEditTitle':function(w,v){w.uint(3047280218);w.string(h(v,'title'));},
|
|
@@ -149,11 +150,12 @@ var m={
|
|
|
149
150
|
'messageActionTopicCreate':function(w,v){w.uint(228168278);var flags=0;var _iconEmojiId=v.iconEmojiId!==undefined;if(_iconEmojiId)flags|=1;w.uint(flags);w.string(h(v,'title'));w.int(h(v,'iconColor'));if(_iconEmojiId)w.long(v.iconEmojiId);},
|
|
150
151
|
'messageActionTopicEdit':function(w,v){w.uint(3230943264);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _iconEmojiId=v.iconEmojiId!==undefined;if(_iconEmojiId)flags|=2;var _closed=v.closed!==undefined;if(_closed)flags|=4;var _hidden=v.hidden!==undefined;if(_hidden)flags|=8;w.uint(flags);if(_title)w.string(v.title);if(_iconEmojiId)w.long(v.iconEmojiId);if(_closed)w.boolean(v.closed);if(_hidden)w.boolean(v.hidden);},
|
|
151
152
|
'messageActionSuggestProfilePhoto':function(w,v){w.uint(1474192222);w.object(h(v,'photo'));},
|
|
152
|
-
'messageActionRequestedPeer':function(w,v){w.uint(
|
|
153
|
+
'messageActionRequestedPeer':function(w,v){w.uint(827428507);w.int(h(v,'buttonId'));w.vector(w.object,h(v,'peers'));},
|
|
153
154
|
'messageActionSetChatWallPaper':function(w,v){w.uint(1348510708);var flags=0;if(v.same===true)flags|=1;if(v.forBoth===true)flags|=2;w.uint(flags);w.object(h(v,'wallpaper'));},
|
|
154
|
-
'
|
|
155
|
-
'messageActionGiftCode':function(w,v){w.uint(3536837390);var flags=0;if(v.viaGiveaway===true)flags|=1;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=2;if(v.unclaimed===true)flags|=4;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);w.int(h(v,'months'));w.string(h(v,'slug'));},
|
|
155
|
+
'messageActionGiftCode':function(w,v){w.uint(1737240073);var flags=0;if(v.viaGiveaway===true)flags|=1;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=2;var _currency=v.currency!==undefined;var _amount=v.amount!==undefined;var _flags_2=v.unclaimed===true||_currency||_amount;if(_flags_2)flags|=4;var _cryptoCurrency=v.cryptoCurrency!==undefined;var _cryptoAmount=v.cryptoAmount!==undefined;var _flags_3=_cryptoCurrency||_cryptoAmount;if(_flags_3)flags|=8;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);w.int(h(v,'months'));w.string(h(v,'slug'));if(_flags_2)w.string(v.currency);if(_flags_2)w.long(v.amount);if(_flags_3)w.string(v.cryptoCurrency);if(_flags_3)w.long(v.cryptoAmount);},
|
|
156
156
|
'messageActionGiveawayLaunch':function(w){w.uint(858499565);},
|
|
157
|
+
'messageActionGiveawayResults':function(w,v){w.uint(715107781);w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));},
|
|
158
|
+
'messageActionBoostApply':function(w,v){w.uint(3422726765);w.int(h(v,'boosts'));},
|
|
157
159
|
'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);},
|
|
158
160
|
'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'));},
|
|
159
161
|
'photoEmpty':function(w,v){w.uint(590459437);w.long(h(v,'id'));},
|
|
@@ -191,7 +193,7 @@ var m={
|
|
|
191
193
|
'inputReportReasonFake':function(w){w.uint(4124956391);},
|
|
192
194
|
'inputReportReasonIllegalDrugs':function(w){w.uint(177124030);},
|
|
193
195
|
'inputReportReasonPersonalDetails':function(w){w.uint(2663876157);},
|
|
194
|
-
'userFull':function(w,v){w.uint(3115396204);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;w.uint(flags);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);},
|
|
196
|
+
'userFull':function(w,v){w.uint(3115396204);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);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);},
|
|
195
197
|
'contact':function(w,v){w.uint(341499403);w.int53(h(v,'userId'));w.boolean(h(v,'mutual'));},
|
|
196
198
|
'importedContact':function(w,v){w.uint(3242081360);w.int53(h(v,'userId'));w.long(h(v,'clientId'));},
|
|
197
199
|
'contactStatus':function(w,v){w.uint(383348795);w.int53(h(v,'userId'));w.object(h(v,'status'));},
|
|
@@ -346,6 +348,13 @@ var m={
|
|
|
346
348
|
'updateStoriesStealthMode':function(w,v){w.uint(738741697);w.object(h(v,'stealthMode'));},
|
|
347
349
|
'updateSentStoryReaction':function(w,v){w.uint(2103604867);w.object(h(v,'peer'));w.int(h(v,'storyId'));w.object(h(v,'reaction'));},
|
|
348
350
|
'updateBotChatBoost':function(w,v){w.uint(2421019804);w.object(h(v,'peer'));w.object(h(v,'boost'));w.int(h(v,'qts'));},
|
|
351
|
+
'updateChannelViewForumAsMessages':function(w,v){w.uint(129403168);w.int53(h(v,'channelId'));w.boolean(h(v,'enabled'));},
|
|
352
|
+
'updatePeerWallpaper':function(w,v){w.uint(2923368477);var flags=0;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=1;if(v.wallpaperOverridden===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));if(_wallpaper)w.object(v.wallpaper);},
|
|
353
|
+
'updateBotMessageReaction':function(w,v){w.uint(2887898062);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'date'));w.object(h(v,'actor'));w.vector(w.object,h(v,'oldReactions'));w.vector(w.object,h(v,'newReactions'));w.int(h(v,'qts'));},
|
|
354
|
+
'updateBotMessageReactions':function(w,v){w.uint(164329305);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'date'));w.vector(w.object,h(v,'reactions'));w.int(h(v,'qts'));},
|
|
355
|
+
'updateSavedDialogPinned':function(w,v){w.uint(2930744948);var flags=0;if(v.pinned===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
|
|
356
|
+
'updatePinnedSavedDialogs':function(w,v){w.uint(1751942566);var flags=0;var _order=v.order&&v.order.length;if(_order)flags|=1;w.uint(flags);if(_order)w.vector(w.object,v.order);},
|
|
357
|
+
'updateSavedReactionTags':function(w){w.uint(969307186);},
|
|
349
358
|
'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'));},
|
|
350
359
|
'updates.differenceEmpty':function(w,v){w.uint(1567990072);w.int(h(v,'date'));w.int(h(v,'seq'));},
|
|
351
360
|
'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'));},
|
|
@@ -496,7 +505,8 @@ var m={
|
|
|
496
505
|
'inputStickerSetEmojiGenericAnimations':function(w){w.uint(80008398);},
|
|
497
506
|
'inputStickerSetEmojiDefaultStatuses':function(w){w.uint(701560302);},
|
|
498
507
|
'inputStickerSetEmojiDefaultTopicIcons':function(w){w.uint(1153562857);},
|
|
499
|
-
'
|
|
508
|
+
'inputStickerSetEmojiChannelDefaultStatuses':function(w){w.uint(1232373075);},
|
|
509
|
+
'stickerSet':function(w,v){w.uint(768691932);var flags=0;var _installedDate=v.installedDate!==undefined;if(_installedDate)flags|=1;if(v.archived===true)flags|=2;if(v.official===true)flags|=4;if(v.masks===true)flags|=8;var _thumbs=v.thumbs&&v.thumbs.length;var _thumbDcId=v.thumbDcId!==undefined;var _thumbVersion=v.thumbVersion!==undefined;var _flags_4=_thumbs||_thumbDcId||_thumbVersion;if(_flags_4)flags|=16;if(v.animated===true)flags|=32;if(v.videos===true)flags|=64;if(v.emojis===true)flags|=128;var _thumbDocumentId=v.thumbDocumentId!==undefined;if(_thumbDocumentId)flags|=256;if(v.textColor===true)flags|=512;if(v.channelEmojiStatus===true)flags|=1024;w.uint(flags);if(_installedDate)w.int(v.installedDate);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_flags_4)w.vector(w.object,v.thumbs);if(_flags_4)w.int(v.thumbDcId);if(_flags_4)w.int(v.thumbVersion);if(_thumbDocumentId)w.long(v.thumbDocumentId);w.int(h(v,'count'));w.int(h(v,'hash'));},
|
|
500
510
|
'messages.stickerSet':function(w,v){w.uint(1846886166);w.object(h(v,'set'));w.vector(w.object,h(v,'packs'));w.vector(w.object,h(v,'keywords'));w.vector(w.object,h(v,'documents'));},
|
|
501
511
|
'messages.stickerSetNotModified':function(w){w.uint(3556320491);},
|
|
502
512
|
'botCommand':function(w,v){w.uint(3262826695);w.string(h(v,'command'));w.string(h(v,'description'));},
|
|
@@ -516,7 +526,7 @@ var m={
|
|
|
516
526
|
'keyboardButtonUserProfile':function(w,v){w.uint(814112961);w.string(h(v,'text'));w.int53(h(v,'userId'));},
|
|
517
527
|
'keyboardButtonWebView':function(w,v){w.uint(326529584);w.string(h(v,'text'));w.string(h(v,'url'));},
|
|
518
528
|
'keyboardButtonSimpleWebView':function(w,v){w.uint(2696958044);w.string(h(v,'text'));w.string(h(v,'url'));},
|
|
519
|
-
'keyboardButtonRequestPeer':function(w,v){w.uint(
|
|
529
|
+
'keyboardButtonRequestPeer':function(w,v){w.uint(1406648280);w.string(h(v,'text'));w.int(h(v,'buttonId'));w.object(h(v,'peerType'));w.int(h(v,'maxQuantity'));},
|
|
520
530
|
'keyboardButtonRow':function(w,v){w.uint(2002815875);w.vector(w.object,h(v,'buttons'));},
|
|
521
531
|
'replyKeyboardHide':function(w,v){w.uint(2688441221);var flags=0;if(v.selective===true)flags|=4;w.uint(flags);},
|
|
522
532
|
'replyKeyboardForceReply':function(w,v){w.uint(2259946248);var flags=0;if(v.singleUse===true)flags|=2;if(v.selective===true)flags|=4;var _placeholder=v.placeholder!==undefined;if(_placeholder)flags|=8;w.uint(flags);if(_placeholder)w.string(v.placeholder);},
|
|
@@ -596,7 +606,7 @@ var m={
|
|
|
596
606
|
'botInlineMediaResult':function(w,v){w.uint(400266251);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _document=v.document!==undefined;if(_document)flags|=2;var _title=v.title!==undefined;if(_title)flags|=4;var _description=v.description!==undefined;if(_description)flags|=8;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_photo)w.object(v.photo);if(_document)w.object(v.document);if(_title)w.string(v.title);if(_description)w.string(v.description);w.object(h(v,'sendMessage'));},
|
|
597
607
|
'messages.botResults':function(w,v){w.uint(3760321270);var flags=0;if(v.gallery===true)flags|=1;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=2;var _switchPm=v.switchPm!==undefined;if(_switchPm)flags|=4;var _switchWebview=v.switchWebview!==undefined;if(_switchWebview)flags|=8;w.uint(flags);w.long(h(v,'queryId'));if(_nextOffset)w.string(v.nextOffset);if(_switchPm)w.object(v.switchPm);if(_switchWebview)w.object(v.switchWebview);w.vector(w.object,h(v,'results'));w.int(h(v,'cacheTime'));w.vector(w.object,h(v,'users'));},
|
|
598
608
|
'exportedMessageLink':function(w,v){w.uint(1571494644);w.string(h(v,'link'));w.string(h(v,'html'));},
|
|
599
|
-
'messageFwdHeader':function(w,v){w.uint(
|
|
609
|
+
'messageFwdHeader':function(w,v){w.uint(1313731771);var flags=0;var _fromId=v.fromId!==undefined;if(_fromId)flags|=1;var _channelPost=v.channelPost!==undefined;if(_channelPost)flags|=4;var _postAuthor=v.postAuthor!==undefined;if(_postAuthor)flags|=8;var _savedFromPeer=v.savedFromPeer!==undefined;var _savedFromMsgId=v.savedFromMsgId!==undefined;var _flags_4=_savedFromPeer||_savedFromMsgId;if(_flags_4)flags|=16;var _fromName=v.fromName!==undefined;if(_fromName)flags|=32;var _psaType=v.psaType!==undefined;if(_psaType)flags|=64;if(v.imported===true)flags|=128;var _savedFromId=v.savedFromId!==undefined;if(_savedFromId)flags|=256;var _savedFromName=v.savedFromName!==undefined;if(_savedFromName)flags|=512;var _savedDate=v.savedDate!==undefined;if(_savedDate)flags|=1024;if(v.savedOut===true)flags|=2048;w.uint(flags);if(_fromId)w.object(v.fromId);if(_fromName)w.string(v.fromName);w.int(h(v,'date'));if(_channelPost)w.int(v.channelPost);if(_postAuthor)w.string(v.postAuthor);if(_flags_4)w.object(v.savedFromPeer);if(_flags_4)w.int(v.savedFromMsgId);if(_savedFromId)w.object(v.savedFromId);if(_savedFromName)w.string(v.savedFromName);if(_savedDate)w.int(v.savedDate);if(_psaType)w.string(v.psaType);},
|
|
600
610
|
'auth.codeTypeSms':function(w){w.uint(1923290508);},
|
|
601
611
|
'auth.codeTypeCall':function(w){w.uint(1948046307);},
|
|
602
612
|
'auth.codeTypeFlashCall':function(w){w.uint(577556219);},
|
|
@@ -790,8 +800,11 @@ var m={
|
|
|
790
800
|
'channelAdminLogEventActionDeleteTopic':function(w,v){w.uint(2920712457);w.object(h(v,'topic'));},
|
|
791
801
|
'channelAdminLogEventActionPinTopic':function(w,v){w.uint(1569535291);var flags=0;var _prevTopic=v.prevTopic!==undefined;if(_prevTopic)flags|=1;var _newTopic=v.newTopic!==undefined;if(_newTopic)flags|=2;w.uint(flags);if(_prevTopic)w.object(v.prevTopic);if(_newTopic)w.object(v.newTopic);},
|
|
792
802
|
'channelAdminLogEventActionToggleAntiSpam':function(w,v){w.uint(1693675004);w.boolean(h(v,'newValue'));},
|
|
793
|
-
'
|
|
794
|
-
'
|
|
803
|
+
'channelAdminLogEventActionChangePeerColor':function(w,v){w.uint(1469507456);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
804
|
+
'channelAdminLogEventActionChangeProfilePeerColor':function(w,v){w.uint(1581742885);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
805
|
+
'channelAdminLogEventActionChangeWallpaper':function(w,v){w.uint(834362706);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
806
|
+
'channelAdminLogEventActionChangeEmojiStatus':function(w,v){w.uint(1051328177);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
|
|
807
|
+
'channelAdminLogEventActionChangeEmojiStickerSet':function(w,v){w.uint(1188577451);w.object(h(v,'prevStickerset'));w.object(h(v,'newStickerset'));},
|
|
795
808
|
'channelAdminLogEvent':function(w,v){w.uint(531458253);w.long(h(v,'id'));w.int(h(v,'date'));w.int53(h(v,'userId'));w.object(h(v,'action'));},
|
|
796
809
|
'channels.adminLogResults':function(w,v){w.uint(3985307469);w.vector(w.object,h(v,'events'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
797
810
|
'channelAdminLogEventsFilter':function(w,v){w.uint(3926948580);var flags=0;if(v.join===true)flags|=1;if(v.leave===true)flags|=2;if(v.invite===true)flags|=4;if(v.ban===true)flags|=8;if(v.unban===true)flags|=16;if(v.kick===true)flags|=32;if(v.unkick===true)flags|=64;if(v.promote===true)flags|=128;if(v.demote===true)flags|=256;if(v.info===true)flags|=512;if(v.settings===true)flags|=1024;if(v.pinned===true)flags|=2048;if(v.edit===true)flags|=4096;if(v.delete===true)flags|=8192;if(v.groupCall===true)flags|=16384;if(v.invites===true)flags|=32768;if(v.send===true)flags|=65536;if(v.forums===true)flags|=131072;w.uint(flags);},
|
|
@@ -906,7 +919,7 @@ var m={
|
|
|
906
919
|
'account.wallPapersNotModified':function(w){w.uint(471437699);},
|
|
907
920
|
'account.wallPapers':function(w,v){w.uint(3452142988);w.long(h(v,'hash'));w.vector(w.object,h(v,'wallpapers'));},
|
|
908
921
|
'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);},
|
|
909
|
-
'wallPaperSettings':function(w,v){w.uint(
|
|
922
|
+
'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);},
|
|
910
923
|
'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'));},
|
|
911
924
|
'account.autoDownloadSettings':function(w,v){w.uint(1674235686);w.object(h(v,'low'));w.object(h(v,'medium'));w.object(h(v,'high'));},
|
|
912
925
|
'emojiKeyword':function(w,v){w.uint(3585325561);w.string(h(v,'keyword'));w.vector(w.string,h(v,'emoticons'));},
|
|
@@ -958,7 +971,6 @@ var m={
|
|
|
958
971
|
'statsGraphAsync':function(w,v){w.uint(1244130093);w.string(h(v,'token'));},
|
|
959
972
|
'statsGraphError':function(w,v){w.uint(3202127906);w.string(h(v,'error'));},
|
|
960
973
|
'statsGraph':function(w,v){w.uint(2393138358);var flags=0;var _zoomToken=v.zoomToken!==undefined;if(_zoomToken)flags|=1;w.uint(flags);w.object(h(v,'json'));if(_zoomToken)w.string(v.zoomToken);},
|
|
961
|
-
'messageInteractionCounters':function(w,v){w.uint(2907687357);w.int(h(v,'msgId'));w.int(h(v,'views'));w.int(h(v,'forwards'));},
|
|
962
974
|
'stats.broadcastStats':function(w,v){w.uint(963421692);w.object(h(v,'period'));w.object(h(v,'followers'));w.object(h(v,'viewsPerPost'));w.object(h(v,'sharesPerPost'));w.object(h(v,'reactionsPerPost'));w.object(h(v,'viewsPerStory'));w.object(h(v,'sharesPerStory'));w.object(h(v,'reactionsPerStory'));w.object(h(v,'enabledNotifications'));w.object(h(v,'growthGraph'));w.object(h(v,'followersGraph'));w.object(h(v,'muteGraph'));w.object(h(v,'topHoursGraph'));w.object(h(v,'interactionsGraph'));w.object(h(v,'ivInteractionsGraph'));w.object(h(v,'viewsBySourceGraph'));w.object(h(v,'newFollowersBySourceGraph'));w.object(h(v,'languagesGraph'));w.object(h(v,'reactionsByEmotionGraph'));w.object(h(v,'storyInteractionsGraph'));w.object(h(v,'storyReactionsByEmotionGraph'));w.vector(w.object,h(v,'recentPostsInteractions'));},
|
|
963
975
|
'help.promoDataEmpty':function(w,v){w.uint(2566302837);w.int(h(v,'expires'));},
|
|
964
976
|
'help.promoData':function(w,v){w.uint(2352576831);var flags=0;if(v.proxy===true)flags|=1;var _psaType=v.psaType!==undefined;if(_psaType)flags|=2;var _psaMessage=v.psaMessage!==undefined;if(_psaMessage)flags|=4;w.uint(flags);w.int(h(v,'expires'));w.object(h(v,'peer'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_psaType)w.string(v.psaType);if(_psaMessage)w.string(v.psaMessage);},
|
|
@@ -969,7 +981,7 @@ var m={
|
|
|
969
981
|
'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'));},
|
|
970
982
|
'statsGroupTopInviter':function(w,v){w.uint(1398765469);w.int53(h(v,'userId'));w.int(h(v,'invitations'));},
|
|
971
983
|
'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'));},
|
|
972
|
-
'globalPrivacySettings':function(w,v){w.uint(1934380235);var flags=0;if(v.archiveAndMuteNewNoncontactPeers===true)flags|=1;if(v.keepArchivedUnmuted===true)flags|=2;if(v.keepArchivedFolders===true)flags|=4;w.uint(flags);},
|
|
984
|
+
'globalPrivacySettings':function(w,v){w.uint(1934380235);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;w.uint(flags);},
|
|
973
985
|
'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);},
|
|
974
986
|
'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'));},
|
|
975
987
|
'help.countriesListNotModified':function(w){w.uint(2479628082);},
|
|
@@ -978,7 +990,7 @@ var m={
|
|
|
978
990
|
'messages.messageViews':function(w,v){w.uint(3066361155);w.vector(w.object,h(v,'views'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
979
991
|
'messages.discussionMessage':function(w,v){w.uint(2788431746);var flags=0;var _maxId=v.maxId!==undefined;if(_maxId)flags|=1;var _readInboxMaxId=v.readInboxMaxId!==undefined;if(_readInboxMaxId)flags|=2;var _readOutboxMaxId=v.readOutboxMaxId!==undefined;if(_readOutboxMaxId)flags|=4;w.uint(flags);w.vector(w.object,h(v,'messages'));if(_maxId)w.int(v.maxId);if(_readInboxMaxId)w.int(v.readInboxMaxId);if(_readOutboxMaxId)w.int(v.readOutboxMaxId);w.int(h(v,'unreadCount'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
980
992
|
'messageReplyHeader':function(w,v){w.uint(2948336091);var flags=0;var _replyToPeerId=v.replyToPeerId!==undefined;if(_replyToPeerId)flags|=1;var _replyToTopId=v.replyToTopId!==undefined;if(_replyToTopId)flags|=2;if(v.replyToScheduled===true)flags|=4;if(v.forumTopic===true)flags|=8;var _replyToMsgId=v.replyToMsgId!==undefined;if(_replyToMsgId)flags|=16;var _replyFrom=v.replyFrom!==undefined;if(_replyFrom)flags|=32;var _quoteText=v.quoteText!==undefined;if(_quoteText)flags|=64;var _quoteEntities=v.quoteEntities&&v.quoteEntities.length;if(_quoteEntities)flags|=128;var _replyMedia=v.replyMedia!==undefined;if(_replyMedia)flags|=256;if(v.quote===true)flags|=512;var _quoteOffset=v.quoteOffset!==undefined;if(_quoteOffset)flags|=1024;w.uint(flags);if(_replyToMsgId)w.int(v.replyToMsgId);if(_replyToPeerId)w.object(v.replyToPeerId);if(_replyFrom)w.object(v.replyFrom);if(_replyMedia)w.object(v.replyMedia);if(_replyToTopId)w.int(v.replyToTopId);if(_quoteText)w.string(v.quoteText);if(_quoteEntities)w.vector(w.object,v.quoteEntities);if(_quoteOffset)w.int(v.quoteOffset);},
|
|
981
|
-
'messageReplyStoryHeader':function(w,v){w.uint(
|
|
993
|
+
'messageReplyStoryHeader':function(w,v){w.uint(240843065);w.object(h(v,'peer'));w.int(h(v,'storyId'));},
|
|
982
994
|
'messageReplies':function(w,v){w.uint(2211844034);var flags=0;var _channelId=v.channelId!==undefined;var _flags_0=v.comments===true||_channelId;if(_flags_0)flags|=1;var _recentRepliers=v.recentRepliers&&v.recentRepliers.length;if(_recentRepliers)flags|=2;var _maxId=v.maxId!==undefined;if(_maxId)flags|=4;var _readMaxId=v.readMaxId!==undefined;if(_readMaxId)flags|=8;w.uint(flags);w.int(h(v,'replies'));w.int(h(v,'repliesPts'));if(_recentRepliers)w.vector(w.object,v.recentRepliers);if(_flags_0)w.int53(v.channelId);if(_maxId)w.int(v.maxId);if(_readMaxId)w.int(v.readMaxId);},
|
|
983
995
|
'peerBlocked':function(w,v){w.uint(3908927508);w.object(h(v,'peerId'));w.int(h(v,'date'));},
|
|
984
996
|
'stats.messageStats':function(w,v){w.uint(2145983508);w.object(h(v,'viewsGraph'));w.object(h(v,'reactionsByEmotionGraph'));},
|
|
@@ -1032,7 +1044,7 @@ var m={
|
|
|
1032
1044
|
'messages.peerSettings':function(w,v){w.uint(1753266509);w.object(h(v,'settings'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1033
1045
|
'auth.loggedOut':function(w,v){w.uint(3282207583);var flags=0;var _futureAuthToken=v.futureAuthToken!==undefined;if(_futureAuthToken)flags|=1;w.uint(flags);if(_futureAuthToken)w.bytes(v.futureAuthToken);},
|
|
1034
1046
|
'reactionCount':function(w,v){w.uint(2748435328);var flags=0;var _chosenOrder=v.chosenOrder!==undefined;if(_chosenOrder)flags|=1;w.uint(flags);if(_chosenOrder)w.int(v.chosenOrder);w.object(h(v,'reaction'));w.int(h(v,'count'));},
|
|
1035
|
-
'messageReactions':function(w,v){w.uint(1328256121);var flags=0;if(v.min===true)flags|=1;var _recentReactions=v.recentReactions&&v.recentReactions.length;if(_recentReactions)flags|=2;if(v.canSeeList===true)flags|=4;w.uint(flags);w.vector(w.object,h(v,'results'));if(_recentReactions)w.vector(w.object,v.recentReactions);},
|
|
1047
|
+
'messageReactions':function(w,v){w.uint(1328256121);var flags=0;if(v.min===true)flags|=1;var _recentReactions=v.recentReactions&&v.recentReactions.length;if(_recentReactions)flags|=2;if(v.canSeeList===true)flags|=4;if(v.reactionsAsTags===true)flags|=8;w.uint(flags);w.vector(w.object,h(v,'results'));if(_recentReactions)w.vector(w.object,v.recentReactions);},
|
|
1036
1048
|
'messages.messageReactionsList':function(w,v){w.uint(834488621);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,'reactions'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
|
|
1037
1049
|
'availableReaction':function(w,v){w.uint(3229084673);var flags=0;if(v.inactive===true)flags|=1;var _aroundAnimation=v.aroundAnimation!==undefined;var _centerIcon=v.centerIcon!==undefined;var _flags_1=_aroundAnimation||_centerIcon;if(_flags_1)flags|=2;if(v.premium===true)flags|=4;w.uint(flags);w.string(h(v,'reaction'));w.string(h(v,'title'));w.object(h(v,'staticIcon'));w.object(h(v,'appearAnimation'));w.object(h(v,'selectAnimation'));w.object(h(v,'activateAnimation'));w.object(h(v,'effectAnimation'));if(_flags_1)w.object(v.aroundAnimation);if(_flags_1)w.object(v.centerIcon);},
|
|
1038
1050
|
'messages.availableReactionsNotModified':function(w){w.uint(2668042583);},
|
|
@@ -1075,7 +1087,7 @@ var m={
|
|
|
1075
1087
|
'inputStorePaymentPremiumSubscription':function(w,v){w.uint(2792693350);var flags=0;if(v.restore===true)flags|=1;if(v.upgrade===true)flags|=2;w.uint(flags);},
|
|
1076
1088
|
'inputStorePaymentGiftPremium':function(w,v){w.uint(1634697192);w.object(h(v,'userId'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1077
1089
|
'inputStorePaymentPremiumGiftCode':function(w,v){w.uint(2743099199);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);w.vector(w.object,h(v,'users'));if(_boostPeer)w.object(v.boostPeer);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1078
|
-
'inputStorePaymentPremiumGiveaway':function(w,v){w.uint(
|
|
1090
|
+
'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'));},
|
|
1079
1091
|
'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);},
|
|
1080
1092
|
'paymentFormMethod':function(w,v){w.uint(2298016283);w.string(h(v,'url'));w.string(h(v,'title'));},
|
|
1081
1093
|
'emojiStatusEmpty':function(w){w.uint(769727150);},
|
|
@@ -1148,15 +1160,17 @@ var m={
|
|
|
1148
1160
|
'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);},
|
|
1149
1161
|
'storyItemDeleted':function(w,v){w.uint(1374088783);w.int(h(v,'id'));},
|
|
1150
1162
|
'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'));},
|
|
1151
|
-
'storyItem':function(w,v){w.uint(
|
|
1163
|
+
'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);},
|
|
1152
1164
|
'stories.allStoriesNotModified':function(w,v){w.uint(291044926);var flags=0;w.uint(flags);w.string(h(v,'state'));w.object(h(v,'stealthMode'));},
|
|
1153
1165
|
'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'));},
|
|
1154
1166
|
'stories.stories':function(w,v){w.uint(1574486984);w.int(h(v,'count'));w.vector(w.object,h(v,'stories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1155
1167
|
'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);},
|
|
1156
|
-
'
|
|
1168
|
+
'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'));},
|
|
1169
|
+
'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'));},
|
|
1170
|
+
'stories.storyViewsList':function(w,v){w.uint(1507299269);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.int(h(v,'viewsCount'));w.int(h(v,'forwardsCount'));w.int(h(v,'reactionsCount'));w.vector(w.object,h(v,'views'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
|
|
1157
1171
|
'stories.storyViews':function(w,v){w.uint(3734957341);w.vector(w.object,h(v,'views'));w.vector(w.object,h(v,'users'));},
|
|
1158
1172
|
'inputReplyToMessage':function(w,v){w.uint(583071445);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;var _replyToPeerId=v.replyToPeerId!==undefined;if(_replyToPeerId)flags|=2;var _quoteText=v.quoteText!==undefined;if(_quoteText)flags|=4;var _quoteEntities=v.quoteEntities&&v.quoteEntities.length;if(_quoteEntities)flags|=8;var _quoteOffset=v.quoteOffset!==undefined;if(_quoteOffset)flags|=16;w.uint(flags);w.int(h(v,'replyToMsgId'));if(_topMsgId)w.int(v.topMsgId);if(_replyToPeerId)w.object(v.replyToPeerId);if(_quoteText)w.string(v.quoteText);if(_quoteEntities)w.vector(w.object,v.quoteEntities);if(_quoteOffset)w.int(v.quoteOffset);},
|
|
1159
|
-
'inputReplyToStory':function(w,v){w.uint(
|
|
1173
|
+
'inputReplyToStory':function(w,v){w.uint(1484862010);w.object(h(v,'peer'));w.int(h(v,'storyId'));},
|
|
1160
1174
|
'exportedStoryLink':function(w,v){w.uint(1070138683);w.string(h(v,'link'));},
|
|
1161
1175
|
'storiesStealthMode':function(w,v){w.uint(1898850301);var flags=0;var _activeUntilDate=v.activeUntilDate!==undefined;if(_activeUntilDate)flags|=1;var _cooldownUntilDate=v.cooldownUntilDate!==undefined;if(_cooldownUntilDate)flags|=2;w.uint(flags);if(_activeUntilDate)w.int(v.activeUntilDate);if(_cooldownUntilDate)w.int(v.cooldownUntilDate);},
|
|
1162
1176
|
'mediaAreaCoordinates':function(w,v){w.uint(64088654);w.double(h(v,'x'));w.double(h(v,'y'));w.double(h(v,'w'));w.double(h(v,'h'));w.double(h(v,'rotation'));},
|
|
@@ -1164,22 +1178,21 @@ var m={
|
|
|
1164
1178
|
'inputMediaAreaVenue':function(w,v){w.uint(2994872703);w.object(h(v,'coordinates'));w.long(h(v,'queryId'));w.string(h(v,'resultId'));},
|
|
1165
1179
|
'mediaAreaGeoPoint':function(w,v){w.uint(3750443810);w.object(h(v,'coordinates'));w.object(h(v,'geo'));},
|
|
1166
1180
|
'mediaAreaSuggestedReaction':function(w,v){w.uint(340088945);var flags=0;if(v.dark===true)flags|=1;if(v.flipped===true)flags|=2;w.uint(flags);w.object(h(v,'coordinates'));w.object(h(v,'reaction'));},
|
|
1181
|
+
'mediaAreaChannelPost':function(w,v){w.uint(1996756655);w.object(h(v,'coordinates'));w.int53(h(v,'channelId'));w.int(h(v,'msgId'));},
|
|
1182
|
+
'inputMediaAreaChannelPost':function(w,v){w.uint(577893055);w.object(h(v,'coordinates'));w.object(h(v,'channel'));w.int(h(v,'msgId'));},
|
|
1167
1183
|
'peerStories':function(w,v){w.uint(2587224473);var flags=0;var _maxReadId=v.maxReadId!==undefined;if(_maxReadId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_maxReadId)w.int(v.maxReadId);w.vector(w.object,h(v,'stories'));},
|
|
1168
1184
|
'stories.peerStories':function(w,v){w.uint(3404105576);w.object(h(v,'stories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1169
1185
|
'messages.webPage':function(w,v){w.uint(4250800829);w.object(h(v,'webpage'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1170
1186
|
'premiumGiftCodeOption':function(w,v){w.uint(629052971);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;var _storeQuantity=v.storeQuantity!==undefined;if(_storeQuantity)flags|=2;w.uint(flags);w.int(h(v,'users'));w.int(h(v,'months'));if(_storeProduct)w.string(v.storeProduct);if(_storeQuantity)w.int(v.storeQuantity);w.string(h(v,'currency'));w.long(h(v,'amount'));},
|
|
1171
|
-
'payments.checkedGiftCode':function(w,v){w.uint(
|
|
1187
|
+
'payments.checkedGiftCode':function(w,v){w.uint(675942550);var flags=0;var _toId=v.toId!==undefined;if(_toId)flags|=1;var _usedDate=v.usedDate!==undefined;if(_usedDate)flags|=2;if(v.viaGiveaway===true)flags|=4;var _giveawayMsgId=v.giveawayMsgId!==undefined;if(_giveawayMsgId)flags|=8;var _fromId=v.fromId!==undefined;if(_fromId)flags|=16;w.uint(flags);if(_fromId)w.object(v.fromId);if(_giveawayMsgId)w.int(v.giveawayMsgId);if(_toId)w.long(v.toId);w.int(h(v,'date'));w.int(h(v,'months'));if(_usedDate)w.int(v.usedDate);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1172
1188
|
'payments.giveawayInfo':function(w,v){w.uint(1130879648);var flags=0;if(v.participating===true)flags|=1;var _joinedTooEarlyDate=v.joinedTooEarlyDate!==undefined;if(_joinedTooEarlyDate)flags|=2;var _adminDisallowedChatId=v.adminDisallowedChatId!==undefined;if(_adminDisallowedChatId)flags|=4;if(v.preparingResults===true)flags|=8;var _disallowedCountry=v.disallowedCountry!==undefined;if(_disallowedCountry)flags|=16;w.uint(flags);w.int(h(v,'startDate'));if(_joinedTooEarlyDate)w.int(v.joinedTooEarlyDate);if(_adminDisallowedChatId)w.long(v.adminDisallowedChatId);if(_disallowedCountry)w.string(v.disallowedCountry);},
|
|
1173
1189
|
'payments.giveawayInfoResults':function(w,v){w.uint(13456752);var flags=0;var _giftCodeSlug=v.giftCodeSlug!==undefined;var _flags_0=v.winner===true||_giftCodeSlug;if(_flags_0)flags|=1;if(v.refunded===true)flags|=2;w.uint(flags);w.int(h(v,'startDate'));if(_flags_0)w.string(v.giftCodeSlug);w.int(h(v,'finishDate'));w.int(h(v,'winnersCount'));w.int(h(v,'activatedCount'));},
|
|
1174
1190
|
'prepaidGiveaway':function(w,v){w.uint(2991824212);w.long(h(v,'id'));w.int(h(v,'months'));w.int(h(v,'quantity'));w.int(h(v,'date'));},
|
|
1175
|
-
'boost':function(w,v){w.uint(706514033);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;if(v.gift===true)flags|=2;var _giveawayMsgId=v.giveawayMsgId!==undefined;var _flags_2=v.giveaway===true||_giveawayMsgId;if(_flags_2)flags|=4;if(v.unclaimed===true)flags|=8;var _usedGiftSlug=v.usedGiftSlug!==undefined;if(_usedGiftSlug)flags|=16;var _multiplier=v.multiplier!==undefined;if(_multiplier)flags|=32;w.uint(flags);w.string(h(v,'id'));if(_userId)w.
|
|
1191
|
+
'boost':function(w,v){w.uint(706514033);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;if(v.gift===true)flags|=2;var _giveawayMsgId=v.giveawayMsgId!==undefined;var _flags_2=v.giveaway===true||_giveawayMsgId;if(_flags_2)flags|=4;if(v.unclaimed===true)flags|=8;var _usedGiftSlug=v.usedGiftSlug!==undefined;if(_usedGiftSlug)flags|=16;var _multiplier=v.multiplier!==undefined;if(_multiplier)flags|=32;w.uint(flags);w.string(h(v,'id'));if(_userId)w.int53(v.userId);if(_flags_2)w.int(v.giveawayMsgId);w.int(h(v,'date'));w.int(h(v,'expires'));if(_usedGiftSlug)w.string(v.usedGiftSlug);if(_multiplier)w.int(v.multiplier);},
|
|
1176
1192
|
'premium.boostsList':function(w,v){w.uint(2264424764);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,'boosts'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
|
|
1177
1193
|
'myBoost':function(w,v){w.uint(3293069660);var flags=0;var _peer=v.peer!==undefined;if(_peer)flags|=1;var _cooldownUntilDate=v.cooldownUntilDate!==undefined;if(_cooldownUntilDate)flags|=2;w.uint(flags);w.int(h(v,'slot'));if(_peer)w.object(v.peer);w.int(h(v,'date'));w.int(h(v,'expires'));if(_cooldownUntilDate)w.int(v.cooldownUntilDate);},
|
|
1178
1194
|
'premium.myBoosts':function(w,v){w.uint(2598512866);w.vector(w.object,h(v,'myBoosts'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1179
1195
|
'premium.boostsStatus':function(w,v){w.uint(1230586490);var flags=0;var _nextLevelBoosts=v.nextLevelBoosts!==undefined;if(_nextLevelBoosts)flags|=1;var _premiumAudience=v.premiumAudience!==undefined;if(_premiumAudience)flags|=2;var _myBoostSlots=v.myBoostSlots&&v.myBoostSlots.length;var _flags_2=v.myBoost===true||_myBoostSlots;if(_flags_2)flags|=4;var _prepaidGiveaways=v.prepaidGiveaways&&v.prepaidGiveaways.length;if(_prepaidGiveaways)flags|=8;var _giftBoosts=v.giftBoosts!==undefined;if(_giftBoosts)flags|=16;w.uint(flags);w.int(h(v,'level'));w.int(h(v,'currentLevelBoosts'));w.int(h(v,'boosts'));if(_giftBoosts)w.int(v.giftBoosts);if(_nextLevelBoosts)w.int(v.nextLevelBoosts);if(_premiumAudience)w.object(v.premiumAudience);w.string(h(v,'boostUrl'));if(_prepaidGiveaways)w.vector(w.object,v.prepaidGiveaways);if(_flags_2)w.vector(w.int,v.myBoostSlots);},
|
|
1180
|
-
'messageActionGiveawayResults':function(w,v){w.uint(715107781);w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));},
|
|
1181
|
-
'updateChannelViewForumAsMessages':function(w,v){w.uint(129403168);w.int53(h(v,'channelId'));w.boolean(h(v,'enabled'));},
|
|
1182
|
-
'updatePeerWallpaper':function(w,v){w.uint(2923368477);var flags=0;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=1;if(v.wallpaperOverridden===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));if(_wallpaper)w.object(v.wallpaper);},
|
|
1183
1196
|
'storyFwdHeader':function(w,v){w.uint(3089555792);var flags=0;var _from=v.from!==undefined;if(_from)flags|=1;var _fromName=v.fromName!==undefined;if(_fromName)flags|=2;var _storyId=v.storyId!==undefined;if(_storyId)flags|=4;if(v.modified===true)flags|=8;w.uint(flags);if(_from)w.object(v.from);if(_fromName)w.string(v.fromName);if(_storyId)w.int(v.storyId);},
|
|
1184
1197
|
'postInteractionCountersMessage':function(w,v){w.uint(3875901055);w.int(h(v,'msgId'));w.int(h(v,'views'));w.int(h(v,'forwards'));w.int(h(v,'reactions'));},
|
|
1185
1198
|
'postInteractionCountersStory':function(w,v){w.uint(2319978023);w.int(h(v,'storyId'));w.int(h(v,'views'));w.int(h(v,'forwards'));w.int(h(v,'reactions'));},
|
|
@@ -1190,17 +1203,21 @@ var m={
|
|
|
1190
1203
|
'peerColor':function(w,v){w.uint(3041614543);var flags=0;var _color=v.color!==undefined;if(_color)flags|=1;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=2;w.uint(flags);if(_color)w.int(v.color);if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1191
1204
|
'help.peerColorSet':function(w,v){w.uint(639736408);w.vector(w.int,h(v,'colors'));},
|
|
1192
1205
|
'help.peerColorProfileSet':function(w,v){w.uint(1987928555);w.vector(w.int,h(v,'paletteColors'));w.vector(w.int,h(v,'bgColors'));w.vector(w.int,h(v,'storyColors'));},
|
|
1193
|
-
'help.peerColorOption':function(w,v){w.uint(
|
|
1206
|
+
'help.peerColorOption':function(w,v){w.uint(2917953214);var flags=0;if(v.hidden===true)flags|=1;var _colors=v.colors!==undefined;if(_colors)flags|=2;var _darkColors=v.darkColors!==undefined;if(_darkColors)flags|=4;var _channelMinLevel=v.channelMinLevel!==undefined;if(_channelMinLevel)flags|=8;var _groupMinLevel=v.groupMinLevel!==undefined;if(_groupMinLevel)flags|=16;w.uint(flags);w.int(h(v,'colorId'));if(_colors)w.object(v.colors);if(_darkColors)w.object(v.darkColors);if(_channelMinLevel)w.int(v.channelMinLevel);if(_groupMinLevel)w.int(v.groupMinLevel);},
|
|
1194
1207
|
'help.peerColorsNotModified':function(w){w.uint(732034510);},
|
|
1195
1208
|
'help.peerColors':function(w,v){w.uint(16313608);w.int(h(v,'hash'));w.vector(w.object,h(v,'colors'));},
|
|
1196
|
-
'
|
|
1197
|
-
'
|
|
1198
|
-
'
|
|
1199
|
-
'stories.
|
|
1200
|
-
'
|
|
1201
|
-
'
|
|
1202
|
-
'
|
|
1203
|
-
'
|
|
1209
|
+
'storyReaction':function(w,v){w.uint(1620104917);w.object(h(v,'peerId'));w.int(h(v,'date'));w.object(h(v,'reaction'));},
|
|
1210
|
+
'storyReactionPublicForward':function(w,v){w.uint(3148555843);w.object(h(v,'message'));},
|
|
1211
|
+
'storyReactionPublicRepost':function(w,v){w.uint(3486322451);w.object(h(v,'peerId'));w.object(h(v,'story'));},
|
|
1212
|
+
'stories.storyReactionsList':function(w,v){w.uint(2858383516);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,'reactions'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
|
|
1213
|
+
'savedDialog':function(w,v){w.uint(3179793260);var flags=0;if(v.pinned===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'topMessage'));},
|
|
1214
|
+
'messages.savedDialogs':function(w,v){w.uint(4164608545);w.vector(w.object,h(v,'dialogs'));w.vector(w.object,h(v,'messages'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1215
|
+
'messages.savedDialogsSlice':function(w,v){w.uint(1153080793);w.int(h(v,'count'));w.vector(w.object,h(v,'dialogs'));w.vector(w.object,h(v,'messages'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
|
|
1216
|
+
'messages.savedDialogsNotModified':function(w,v){w.uint(3223285736);w.int(h(v,'count'));},
|
|
1217
|
+
'savedReactionTag':function(w,v){w.uint(3413112872);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;w.uint(flags);w.object(h(v,'reaction'));if(_title)w.string(v.title);w.int(h(v,'count'));},
|
|
1218
|
+
'messages.savedReactionTagsNotModified':function(w){w.uint(2291882479);},
|
|
1219
|
+
'messages.savedReactionTags':function(w,v){w.uint(844731658);w.vector(w.object,h(v,'tags'));w.long(h(v,'hash'));},
|
|
1220
|
+
'outboxReadDate':function(w,v){w.uint(1001931436);w.int(h(v,'date'));},
|
|
1204
1221
|
'test.useError':function(w){w.uint(4000689921);},
|
|
1205
1222
|
'test.useConfigSimple':function(w){w.uint(4189565501);},
|
|
1206
1223
|
'test.parseInputAppEvent':function(w){w.uint(3138226161);},
|
|
@@ -1212,7 +1229,7 @@ var m={
|
|
|
1212
1229
|
'invokeWithMessagesRange':function(w,v){w.uint(911373810);w.object(h(v,'range'));w.object(h(v,'query'));},
|
|
1213
1230
|
'invokeWithTakeout':function(w,v){w.uint(2896821550);w.long(h(v,'takeoutId'));w.object(h(v,'query'));},
|
|
1214
1231
|
'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'));},
|
|
1215
|
-
'auth.signUp':function(w,v){w.uint(
|
|
1232
|
+
'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'));},
|
|
1216
1233
|
'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);},
|
|
1217
1234
|
'auth.logOut':function(w){w.uint(1047706137);},
|
|
1218
1235
|
'auth.resetAuthorizations':function(w){w.uint(2678787354);},
|
|
@@ -1323,9 +1340,12 @@ var m={
|
|
|
1323
1340
|
'account.invalidateSignInCodes':function(w,v){w.uint(3398101178);w.vector(w.string,h(v,'codes'));},
|
|
1324
1341
|
'account.updateColor':function(w,v){w.uint(2096079197);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);if(_color)w.int(v.color);if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
|
|
1325
1342
|
'account.getDefaultBackgroundEmojis':function(w,v){w.uint(2785720782);w.long(h(v,'hash'));},
|
|
1343
|
+
'account.getChannelDefaultEmojiStatuses':function(w,v){w.uint(1999087573);w.long(h(v,'hash'));},
|
|
1344
|
+
'account.getChannelRestrictedStatusEmojis':function(w,v){w.uint(900325589);w.long(h(v,'hash'));},
|
|
1326
1345
|
'users.getUsers':function(w,v){w.uint(227648840);w.vector(w.object,h(v,'id'));},
|
|
1327
1346
|
'users.getFullUser':function(w,v){w.uint(3054459160);w.object(h(v,'id'));},
|
|
1328
1347
|
'users.setSecureValueErrors':function(w,v){w.uint(2429064373);w.object(h(v,'id'));w.vector(w.object,h(v,'errors'));},
|
|
1348
|
+
'users.getIsPremiumRequiredToContact':function(w,v){w.uint(2787289616);w.vector(w.object,h(v,'id'));},
|
|
1329
1349
|
'contacts.getContactIDs':function(w,v){w.uint(2061264541);w.long(h(v,'hash'));},
|
|
1330
1350
|
'contacts.getStatuses':function(w){w.uint(3299038190);},
|
|
1331
1351
|
'contacts.getContacts':function(w,v){w.uint(1574346258);w.long(h(v,'hash'));},
|
|
@@ -1354,7 +1374,7 @@ var m={
|
|
|
1354
1374
|
'messages.getMessages':function(w,v){w.uint(1673946374);w.vector(w.object,h(v,'id'));},
|
|
1355
1375
|
'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'));},
|
|
1356
1376
|
'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'));},
|
|
1357
|
-
'messages.search':function(w,v){w.uint(
|
|
1377
|
+
'messages.search':function(w,v){w.uint(703497338);var flags=0;var _fromId=v.fromId!==undefined;if(_fromId)flags|=1;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=2;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=4;var _savedReaction=v.savedReaction&&v.savedReaction.length;if(_savedReaction)flags|=8;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'q'));if(_fromId)w.object(v.fromId);if(_savedPeerId)w.object(v.savedPeerId);if(_savedReaction)w.vector(w.object,v.savedReaction);if(_topMsgId)w.int(v.topMsgId);w.object(h(v,'filter'));w.int(h(v,'minDate'));w.int(h(v,'maxDate'));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'));w.long(h(v,'hash'));},
|
|
1358
1378
|
'messages.readHistory':function(w,v){w.uint(238054714);w.object(h(v,'peer'));w.int(h(v,'maxId'));},
|
|
1359
1379
|
'messages.deleteHistory':function(w,v){w.uint(2962199082);var flags=0;if(v.justClear===true)flags|=1;if(v.revoke===true)flags|=2;var _minDate=v.minDate!==undefined;if(_minDate)flags|=4;var _maxDate=v.maxDate!==undefined;if(_maxDate)flags|=8;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'maxId'));if(_minDate)w.int(v.minDate);if(_maxDate)w.int(v.maxDate);},
|
|
1360
1380
|
'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'));},
|
|
@@ -1457,7 +1477,7 @@ var m={
|
|
|
1457
1477
|
'messages.getEmojiKeywordsDifference':function(w,v){w.uint(352892591);w.string(h(v,'langCode'));w.int(h(v,'fromVersion'));},
|
|
1458
1478
|
'messages.getEmojiKeywordsLanguages':function(w,v){w.uint(1318675378);w.vector(w.string,h(v,'langCodes'));},
|
|
1459
1479
|
'messages.getEmojiURL':function(w,v){w.uint(3585149990);w.string(h(v,'langCode'));},
|
|
1460
|
-
'messages.getSearchCounters':function(w,v){w.uint(
|
|
1480
|
+
'messages.getSearchCounters':function(w,v){w.uint(465367808);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=4;w.uint(flags);w.object(h(v,'peer'));if(_savedPeerId)w.object(v.savedPeerId);if(_topMsgId)w.int(v.topMsgId);w.vector(w.object,h(v,'filters'));},
|
|
1461
1481
|
'messages.requestUrlAuth':function(w,v){w.uint(428848198);var flags=0;var _peer=v.peer!==undefined;var _msgId=v.msgId!==undefined;var _buttonId=v.buttonId!==undefined;var _flags_1=_peer||_msgId||_buttonId;if(_flags_1)flags|=2;var _url=v.url!==undefined;if(_url)flags|=4;w.uint(flags);if(_flags_1)w.object(v.peer);if(_flags_1)w.int(v.msgId);if(_flags_1)w.int(v.buttonId);if(_url)w.string(v.url);},
|
|
1462
1482
|
'messages.acceptUrlAuth':function(w,v){w.uint(2972479781);var flags=0;if(v.writeAllowed===true)flags|=1;var _peer=v.peer!==undefined;var _msgId=v.msgId!==undefined;var _buttonId=v.buttonId!==undefined;var _flags_1=_peer||_msgId||_buttonId;if(_flags_1)flags|=2;var _url=v.url!==undefined;if(_url)flags|=4;w.uint(flags);if(_flags_1)w.object(v.peer);if(_flags_1)w.int(v.msgId);if(_flags_1)w.int(v.buttonId);if(_url)w.string(v.url);},
|
|
1463
1483
|
'messages.hidePeerSettingsBar':function(w,v){w.uint(1336717624);w.object(h(v,'peer'));},
|
|
@@ -1493,8 +1513,8 @@ var m={
|
|
|
1493
1513
|
'messages.checkHistoryImportPeer':function(w,v){w.uint(1573261059);w.object(h(v,'peer'));},
|
|
1494
1514
|
'messages.setChatTheme':function(w,v){w.uint(3862683967);w.object(h(v,'peer'));w.string(h(v,'emoticon'));},
|
|
1495
1515
|
'messages.getMessageReadParticipants':function(w,v){w.uint(834782287);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1496
|
-
'messages.getSearchResultsCalendar':function(w,v){w.uint(
|
|
1497
|
-
'messages.getSearchResultsPositions':function(w,v){w.uint(
|
|
1516
|
+
'messages.getSearchResultsCalendar':function(w,v){w.uint(1789130429);var flags=0;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=4;w.uint(flags);w.object(h(v,'peer'));if(_savedPeerId)w.object(v.savedPeerId);w.object(h(v,'filter'));w.int(h(v,'offsetId'));w.int(h(v,'offsetDate'));},
|
|
1517
|
+
'messages.getSearchResultsPositions':function(w,v){w.uint(2625580816);var flags=0;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=4;w.uint(flags);w.object(h(v,'peer'));if(_savedPeerId)w.object(v.savedPeerId);w.object(h(v,'filter'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
|
|
1498
1518
|
'messages.hideChatJoinRequest':function(w,v){w.uint(2145904661);var flags=0;if(v.approved===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'userId'));},
|
|
1499
1519
|
'messages.hideAllChatJoinRequests':function(w,v){w.uint(3766875370);var flags=0;if(v.approved===true)flags|=1;var _link=v.link!==undefined;if(_link)flags|=2;w.uint(flags);w.object(h(v,'peer'));if(_link)w.string(v.link);},
|
|
1500
1520
|
'messages.toggleNoForwards':function(w,v){w.uint(2971578274);w.object(h(v,'peer'));w.boolean(h(v,'enabled'));},
|
|
@@ -1529,7 +1549,7 @@ var m={
|
|
|
1529
1549
|
'messages.getExtendedMedia':function(w,v){w.uint(2230847508);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1530
1550
|
'messages.setDefaultHistoryTTL':function(w,v){w.uint(2662667333);w.int(h(v,'period'));},
|
|
1531
1551
|
'messages.getDefaultHistoryTTL':function(w){w.uint(1703637384);},
|
|
1532
|
-
'messages.sendBotRequestedPeer':function(w,v){w.uint(
|
|
1552
|
+
'messages.sendBotRequestedPeer':function(w,v){w.uint(2444415072);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'buttonId'));w.vector(w.object,h(v,'requestedPeers'));},
|
|
1533
1553
|
'messages.getEmojiGroups':function(w,v){w.uint(1955122779);w.int(h(v,'hash'));},
|
|
1534
1554
|
'messages.getEmojiStatusGroups':function(w,v){w.uint(785209037);w.int(h(v,'hash'));},
|
|
1535
1555
|
'messages.getEmojiProfilePhotoGroups':function(w,v){w.uint(564480243);w.int(h(v,'hash'));},
|
|
@@ -1538,6 +1558,17 @@ var m={
|
|
|
1538
1558
|
'messages.getBotApp':function(w,v){w.uint(889046467);w.object(h(v,'app'));w.long(h(v,'hash'));},
|
|
1539
1559
|
'messages.requestAppWebView':function(w,v){w.uint(2354723644);var flags=0;if(v.writeAllowed===true)flags|=1;var _startParam=v.startParam!==undefined;if(_startParam)flags|=2;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'app'));if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));},
|
|
1540
1560
|
'messages.setChatWallPaper':function(w,v){w.uint(2415577825);var flags=0;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=1;var _id=v.id!==undefined;if(_id)flags|=2;var _settings=v.settings!==undefined;if(_settings)flags|=4;if(v.forBoth===true)flags|=8;if(v.revert===true)flags|=16;w.uint(flags);w.object(h(v,'peer'));if(_wallpaper)w.object(v.wallpaper);if(_settings)w.object(v.settings);if(_id)w.int(v.id);},
|
|
1561
|
+
'messages.searchEmojiStickerSets':function(w,v){w.uint(2461288780);var flags=0;if(v.excludeFeatured===true)flags|=1;w.uint(flags);w.string(h(v,'q'));w.long(h(v,'hash'));},
|
|
1562
|
+
'messages.getSavedDialogs':function(w,v){w.uint(1401016858);var flags=0;if(v.excludePinned===true)flags|=1;w.uint(flags);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'));},
|
|
1563
|
+
'messages.getSavedHistory':function(w,v){w.uint(1033519437);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'));},
|
|
1564
|
+
'messages.deleteSavedHistory':function(w,v){w.uint(1855459371);var flags=0;var _minDate=v.minDate!==undefined;if(_minDate)flags|=4;var _maxDate=v.maxDate!==undefined;if(_maxDate)flags|=8;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'maxId'));if(_minDate)w.int(v.minDate);if(_maxDate)w.int(v.maxDate);},
|
|
1565
|
+
'messages.getPinnedSavedDialogs':function(w){w.uint(3594360032);},
|
|
1566
|
+
'messages.toggleSavedDialogPin':function(w,v){w.uint(2894183390);var flags=0;if(v.pinned===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
|
|
1567
|
+
'messages.reorderPinnedSavedDialogs':function(w,v){w.uint(2339464583);var flags=0;if(v.force===true)flags|=1;w.uint(flags);w.vector(w.object,h(v,'order'));},
|
|
1568
|
+
'messages.getSavedReactionTags':function(w,v){w.uint(909631579);var flags=0;var _peer=v.peer!==undefined;if(_peer)flags|=1;w.uint(flags);if(_peer)w.object(v.peer);w.long(h(v,'hash'));},
|
|
1569
|
+
'messages.updateSavedReactionTag':function(w,v){w.uint(1613331948);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;w.uint(flags);w.object(h(v,'reaction'));if(_title)w.string(v.title);},
|
|
1570
|
+
'messages.getDefaultTagReactions':function(w,v){w.uint(3187225640);w.long(h(v,'hash'));},
|
|
1571
|
+
'messages.getOutboxReadDate':function(w,v){w.uint(2353790557);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
|
|
1541
1572
|
'updates.getState':function(w){w.uint(3990128682);},
|
|
1542
1573
|
'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);},
|
|
1543
1574
|
'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'));},
|
|
@@ -1559,7 +1590,6 @@ var m={
|
|
|
1559
1590
|
'help.getAppUpdate':function(w,v){w.uint(1378703997);w.string(h(v,'source'));},
|
|
1560
1591
|
'help.getInviteText':function(w){w.uint(1295590211);},
|
|
1561
1592
|
'help.getSupport':function(w){w.uint(2631862477);},
|
|
1562
|
-
'help.getAppChangelog':function(w,v){w.uint(2417028975);w.string(h(v,'prevAppVersion'));},
|
|
1563
1593
|
'help.setBotUpdatesStatus':function(w,v){w.uint(3961704397);w.int(h(v,'pendingUpdatesCount'));w.string(h(v,'message'));},
|
|
1564
1594
|
'help.getCdnConfig':function(w){w.uint(1375900482);},
|
|
1565
1595
|
'help.getRecentMeUrls':function(w,v){w.uint(1036054804);w.string(h(v,'referer'));},
|
|
@@ -1577,6 +1607,8 @@ var m={
|
|
|
1577
1607
|
'help.dismissSuggestion':function(w,v){w.uint(4111317665);w.object(h(v,'peer'));w.string(h(v,'suggestion'));},
|
|
1578
1608
|
'help.getCountriesList':function(w,v){w.uint(1935116200);w.string(h(v,'langCode'));w.int(h(v,'hash'));},
|
|
1579
1609
|
'help.getPremiumPromo':function(w){w.uint(3088815060);},
|
|
1610
|
+
'help.getPeerColors':function(w,v){w.uint(3665884207);w.int(h(v,'hash'));},
|
|
1611
|
+
'help.getPeerProfileColors':function(w,v){w.uint(2882513405);w.int(h(v,'hash'));},
|
|
1580
1612
|
'channels.readHistory':function(w,v){w.uint(3423619383);w.object(h(v,'channel'));w.int(h(v,'maxId'));},
|
|
1581
1613
|
'channels.deleteMessages':function(w,v){w.uint(2227305806);w.object(h(v,'channel'));w.vector(w.int,h(v,'id'));},
|
|
1582
1614
|
'channels.reportSpam':function(w,v){w.uint(4098523925);w.object(h(v,'channel'));w.object(h(v,'participant'));w.vector(w.int,h(v,'id'));},
|
|
@@ -1633,7 +1665,12 @@ var m={
|
|
|
1633
1665
|
'channels.reportAntiSpamFalsePositive':function(w,v){w.uint(2823857811);w.object(h(v,'channel'));w.int(h(v,'msgId'));},
|
|
1634
1666
|
'channels.toggleParticipantsHidden':function(w,v){w.uint(1785624660);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
|
|
1635
1667
|
'channels.clickSponsoredMessage':function(w,v){w.uint(414170259);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
|
|
1636
|
-
'channels.updateColor':function(w,v){w.uint(
|
|
1668
|
+
'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);},
|
|
1669
|
+
'channels.toggleViewForumAsMessages':function(w,v){w.uint(2537077525);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
|
|
1670
|
+
'channels.getChannelRecommendations':function(w,v){w.uint(2209811863);w.object(h(v,'channel'));},
|
|
1671
|
+
'channels.updateEmojiStatus':function(w,v){w.uint(4040418984);w.object(h(v,'channel'));w.object(h(v,'emojiStatus'));},
|
|
1672
|
+
'channels.setBoostsToUnblockRestrictions':function(w,v){w.uint(2906234094);w.object(h(v,'channel'));w.int(h(v,'boosts'));},
|
|
1673
|
+
'channels.setEmojiStickers':function(w,v){w.uint(1020866743);w.object(h(v,'channel'));w.object(h(v,'stickerset'));},
|
|
1637
1674
|
'bots.sendCustomRequest':function(w,v){w.uint(2854709741);w.string(h(v,'customMethod'));w.object(h(v,'params'));},
|
|
1638
1675
|
'bots.answerWebhookJSONQuery':function(w,v){w.uint(3860938573);w.long(h(v,'queryId'));w.object(h(v,'data'));},
|
|
1639
1676
|
'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'));},
|
|
@@ -1716,8 +1753,10 @@ var m={
|
|
|
1716
1753
|
'stats.getBroadcastStats':function(w,v){w.uint(2873246746);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));},
|
|
1717
1754
|
'stats.loadAsyncGraph':function(w,v){w.uint(1646092192);var flags=0;var _x=v.x!==undefined;if(_x)flags|=1;w.uint(flags);w.string(h(v,'token'));if(_x)w.long(v.x);},
|
|
1718
1755
|
'stats.getMegagroupStats':function(w,v){w.uint(3705636359);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));},
|
|
1719
|
-
'stats.getMessagePublicForwards':function(w,v){w.uint(
|
|
1756
|
+
'stats.getMessagePublicForwards':function(w,v){w.uint(1595212100);w.object(h(v,'channel'));w.int(h(v,'msgId'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1720
1757
|
'stats.getMessageStats':function(w,v){w.uint(3068175349);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'channel'));w.int(h(v,'msgId'));},
|
|
1758
|
+
'stats.getStoryStats':function(w,v){w.uint(927985472);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));},
|
|
1759
|
+
'stats.getStoryPublicForwards':function(w,v){w.uint(2789441270);w.object(h(v,'peer'));w.int(h(v,'id'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1721
1760
|
'chatlists.exportChatlistInvite':function(w,v){w.uint(2222081934);w.object(h(v,'chatlist'));w.string(h(v,'title'));w.vector(w.object,h(v,'peers'));},
|
|
1722
1761
|
'chatlists.deleteExportedInvite':function(w,v){w.uint(1906072670);w.object(h(v,'chatlist'));w.string(h(v,'slug'));},
|
|
1723
1762
|
'chatlists.editExportedInvite':function(w,v){w.uint(1698543165);var flags=0;var _title=v.title!==undefined;if(_title)flags|=2;var _peers=v.peers&&v.peers.length;if(_peers)flags|=4;w.uint(flags);w.object(h(v,'chatlist'));w.string(h(v,'slug'));if(_title)w.string(v.title);if(_peers)w.vector(w.object,v.peers);},
|
|
@@ -1741,7 +1780,7 @@ var m={
|
|
|
1741
1780
|
'stories.toggleAllStoriesHidden':function(w,v){w.uint(2082822084);w.boolean(h(v,'hidden'));},
|
|
1742
1781
|
'stories.readStories':function(w,v){w.uint(2773932744);w.object(h(v,'peer'));w.int(h(v,'maxId'));},
|
|
1743
1782
|
'stories.incrementStoryViews':function(w,v){w.uint(2986511099);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1744
|
-
'stories.getStoryViewsList':function(w,v){w.uint(2127707223);var flags=0;if(v.justContacts===true)flags|=1;var _q=v.q!==undefined;if(_q)flags|=2;if(v.reactionsFirst===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));if(_q)w.string(v.q);w.int(h(v,'id'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1783
|
+
'stories.getStoryViewsList':function(w,v){w.uint(2127707223);var flags=0;if(v.justContacts===true)flags|=1;var _q=v.q!==undefined;if(_q)flags|=2;if(v.reactionsFirst===true)flags|=4;if(v.forwardsFirst===true)flags|=8;w.uint(flags);w.object(h(v,'peer'));if(_q)w.string(v.q);w.int(h(v,'id'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1745
1784
|
'stories.getStoriesViews':function(w,v){w.uint(685862088);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
|
|
1746
1785
|
'stories.exportStoryLink':function(w,v){w.uint(2072899360);w.object(h(v,'peer'));w.int(h(v,'id'));},
|
|
1747
1786
|
'stories.report':function(w,v){w.uint(421788300);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));w.object(h(v,'reason'));w.string(h(v,'message'));},
|
|
@@ -1752,22 +1791,12 @@ var m={
|
|
|
1752
1791
|
'stories.getPeerMaxIDs':function(w,v){w.uint(1398375363);w.vector(w.object,h(v,'id'));},
|
|
1753
1792
|
'stories.getChatsToSend':function(w){w.uint(2775223136);},
|
|
1754
1793
|
'stories.togglePeerStoriesHidden':function(w,v){w.uint(3171161540);w.object(h(v,'peer'));w.boolean(h(v,'hidden'));},
|
|
1794
|
+
'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'));},
|
|
1755
1795
|
'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'));},
|
|
1756
1796
|
'premium.getMyBoosts':function(w){w.uint(199719754);},
|
|
1757
1797
|
'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'));},
|
|
1758
1798
|
'premium.getBoostsStatus':function(w,v){w.uint(70197089);w.object(h(v,'peer'));},
|
|
1759
1799
|
'premium.getUserBoosts':function(w,v){w.uint(965037343);w.object(h(v,'peer'));w.object(h(v,'userId'));},
|
|
1760
|
-
'messages.searchEmojiStickerSets':function(w,v){w.uint(2461288780);var flags=0;if(v.excludeFeatured===true)flags|=1;w.uint(flags);w.string(h(v,'q'));w.long(h(v,'hash'));},
|
|
1761
|
-
'help.getPeerColors':function(w,v){w.uint(3665884207);w.int(h(v,'hash'));},
|
|
1762
|
-
'help.getPeerProfileColors':function(w,v){w.uint(2882513405);w.int(h(v,'hash'));},
|
|
1763
|
-
'channels.toggleViewForumAsMessages':function(w,v){w.uint(2537077525);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
|
|
1764
|
-
'channels.getChannelRecommendations':function(w,v){w.uint(2209811863);w.object(h(v,'channel'));},
|
|
1765
|
-
'stats.getStoryStats':function(w,v){w.uint(927985472);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));},
|
|
1766
|
-
'stats.getStoryPublicForwards':function(w,v){w.uint(2789441270);w.object(h(v,'peer'));w.int(h(v,'id'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1767
|
-
'stories.getBoostsStatus':function(w,v){w.uint(1279562866);w.object(h(v,'peer'));},
|
|
1768
|
-
'stories.getBoostersList':function(w,v){w.uint(863959424);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
|
|
1769
|
-
'stories.canApplyBoost':function(w,v){w.uint(3674587581);w.object(h(v,'peer'));},
|
|
1770
|
-
'stories.applyBoost':function(w,v){w.uint(4070407211);w.object(h(v,'peer'));},
|
|
1771
1800
|
'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'));},
|
|
1772
1801
|
'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'));},
|
|
1773
1802
|
'mt_p_q_inner_data_temp_dc':function(w,v){w.uint(1459478408);w.bytes(h(v,'pq'));w.bytes(h(v,'p'));w.bytes(h(v,'q'));w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.int256(h(v,'newNonce'));w.int(h(v,'dc'));w.int(h(v,'expiresIn'));},
|
|
@@ -1848,9 +1877,9 @@ _staticSize:{
|
|
|
1848
1877
|
'userStatusEmpty':4,
|
|
1849
1878
|
'userStatusOnline':8,
|
|
1850
1879
|
'userStatusOffline':8,
|
|
1851
|
-
'userStatusRecently':
|
|
1852
|
-
'userStatusLastWeek':
|
|
1853
|
-
'userStatusLastMonth':
|
|
1880
|
+
'userStatusRecently':8,
|
|
1881
|
+
'userStatusLastWeek':8,
|
|
1882
|
+
'userStatusLastMonth':8,
|
|
1854
1883
|
'chatEmpty':12,
|
|
1855
1884
|
'chatParticipant':24,
|
|
1856
1885
|
'chatParticipantCreator':12,
|
|
@@ -1870,8 +1899,9 @@ _staticSize:{
|
|
|
1870
1899
|
'messageActionContactSignUp':4,
|
|
1871
1900
|
'messageActionGeoProximityReached':32,
|
|
1872
1901
|
'messageActionChatJoinedByRequest':4,
|
|
1873
|
-
'messageActionRequestedPeer':20,
|
|
1874
1902
|
'messageActionGiveawayLaunch':4,
|
|
1903
|
+
'messageActionGiveawayResults':12,
|
|
1904
|
+
'messageActionBoostApply':8,
|
|
1875
1905
|
'photoEmpty':12,
|
|
1876
1906
|
'geoPointEmpty':4,
|
|
1877
1907
|
'inputNotifyUsers':4,
|
|
@@ -1950,6 +1980,8 @@ _staticSize:{
|
|
|
1950
1980
|
'updateGroupInvitePrivacyForbidden':12,
|
|
1951
1981
|
'updateReadStories':20,
|
|
1952
1982
|
'updateStoryID':16,
|
|
1983
|
+
'updateChannelViewForumAsMessages':16,
|
|
1984
|
+
'updateSavedReactionTags':4,
|
|
1953
1985
|
'updates.state':24,
|
|
1954
1986
|
'updates.differenceEmpty':12,
|
|
1955
1987
|
'updates.differenceTooLong':8,
|
|
@@ -2035,6 +2067,7 @@ _staticSize:{
|
|
|
2035
2067
|
'inputStickerSetEmojiGenericAnimations':4,
|
|
2036
2068
|
'inputStickerSetEmojiDefaultStatuses':4,
|
|
2037
2069
|
'inputStickerSetEmojiDefaultTopicIcons':4,
|
|
2070
|
+
'inputStickerSetEmojiChannelDefaultStatuses':4,
|
|
2038
2071
|
'messages.stickerSetNotModified':4,
|
|
2039
2072
|
'replyKeyboardHide':8,
|
|
2040
2073
|
'messageEntityUnknown':12,
|
|
@@ -2118,8 +2151,6 @@ _staticSize:{
|
|
|
2118
2151
|
'channelAdminLogEventActionToggleNoForwards':8,
|
|
2119
2152
|
'channelAdminLogEventActionToggleForum':8,
|
|
2120
2153
|
'channelAdminLogEventActionToggleAntiSpam':8,
|
|
2121
|
-
'channelAdminLogEventActionChangeColor':12,
|
|
2122
|
-
'channelAdminLogEventActionChangeBackgroundEmoji':20,
|
|
2123
2154
|
'channelAdminLogEventsFilter':8,
|
|
2124
2155
|
'popularContact':16,
|
|
2125
2156
|
'messages.favedStickersNotModified':4,
|
|
@@ -2183,14 +2214,13 @@ _staticSize:{
|
|
|
2183
2214
|
'statsDateRangeDays':12,
|
|
2184
2215
|
'statsAbsValueAndPrev':20,
|
|
2185
2216
|
'statsPercentValue':20,
|
|
2186
|
-
'messageInteractionCounters':16,
|
|
2187
2217
|
'help.promoDataEmpty':8,
|
|
2188
2218
|
'statsGroupTopPoster':20,
|
|
2189
2219
|
'statsGroupTopAdmin':24,
|
|
2190
2220
|
'statsGroupTopInviter':16,
|
|
2191
2221
|
'globalPrivacySettings':8,
|
|
2192
2222
|
'help.countriesListNotModified':4,
|
|
2193
|
-
'messageReplyStoryHeader':
|
|
2223
|
+
'messageReplyStoryHeader':20,
|
|
2194
2224
|
'peerBlocked':20,
|
|
2195
2225
|
'groupCallDiscarded':24,
|
|
2196
2226
|
'inputGroupCall':20,
|
|
@@ -2253,15 +2283,15 @@ _staticSize:{
|
|
|
2253
2283
|
'storyItemDeleted':8,
|
|
2254
2284
|
'storyItemSkipped':20,
|
|
2255
2285
|
'mediaAreaCoordinates':44,
|
|
2286
|
+
'mediaAreaChannelPost':60,
|
|
2256
2287
|
'prepaidGiveaway':24,
|
|
2257
|
-
'messageActionGiveawayResults':12,
|
|
2258
|
-
'updateChannelViewForumAsMessages':16,
|
|
2259
2288
|
'postInteractionCountersMessage':20,
|
|
2260
2289
|
'postInteractionCountersStory':20,
|
|
2261
2290
|
'help.peerColorsNotModified':4,
|
|
2262
|
-
'
|
|
2263
|
-
'
|
|
2264
|
-
'
|
|
2291
|
+
'savedDialog':24,
|
|
2292
|
+
'messages.savedDialogsNotModified':8,
|
|
2293
|
+
'messages.savedReactionTagsNotModified':4,
|
|
2294
|
+
'outboxReadDate':8,
|
|
2265
2295
|
'test.useError':4,
|
|
2266
2296
|
'test.useConfigSimple':4,
|
|
2267
2297
|
'test.parseInputAppEvent':4,
|
|
@@ -2308,6 +2338,8 @@ _staticSize:{
|
|
|
2308
2338
|
'account.getAutoSaveSettings':4,
|
|
2309
2339
|
'account.deleteAutoSaveExceptions':4,
|
|
2310
2340
|
'account.getDefaultBackgroundEmojis':12,
|
|
2341
|
+
'account.getChannelDefaultEmojiStatuses':12,
|
|
2342
|
+
'account.getChannelRestrictedStatusEmojis':12,
|
|
2311
2343
|
'contacts.getContactIDs':12,
|
|
2312
2344
|
'contacts.getStatuses':4,
|
|
2313
2345
|
'contacts.getContacts':12,
|
|
@@ -2357,6 +2389,8 @@ _staticSize:{
|
|
|
2357
2389
|
'messages.getEmojiGroups':8,
|
|
2358
2390
|
'messages.getEmojiStatusGroups':8,
|
|
2359
2391
|
'messages.getEmojiProfilePhotoGroups':8,
|
|
2392
|
+
'messages.getPinnedSavedDialogs':4,
|
|
2393
|
+
'messages.getDefaultTagReactions':12,
|
|
2360
2394
|
'updates.getState':4,
|
|
2361
2395
|
'help.getConfig':4,
|
|
2362
2396
|
'help.getNearestDc':4,
|
|
@@ -2369,6 +2403,8 @@ _staticSize:{
|
|
|
2369
2403
|
'help.getSupportName':4,
|
|
2370
2404
|
'help.getPromoData':4,
|
|
2371
2405
|
'help.getPremiumPromo':4,
|
|
2406
|
+
'help.getPeerColors':8,
|
|
2407
|
+
'help.getPeerProfileColors':8,
|
|
2372
2408
|
'channels.getAdminedPublicChannels':8,
|
|
2373
2409
|
'channels.getLeftChannels':8,
|
|
2374
2410
|
'channels.getGroupsForDiscussion':4,
|
|
@@ -2397,8 +2433,6 @@ _staticSize:{
|
|
|
2397
2433
|
'stories.getAllReadPeerStories':4,
|
|
2398
2434
|
'stories.getChatsToSend':4,
|
|
2399
2435
|
'premium.getMyBoosts':4,
|
|
2400
|
-
'help.getPeerColors':8,
|
|
2401
|
-
'help.getPeerProfileColors':8,
|
|
2402
2436
|
'mt_dh_gen_ok':52,
|
|
2403
2437
|
'mt_dh_gen_retry':52,
|
|
2404
2438
|
'mt_dh_gen_fail':52,
|