@mtcute/tl 0.1.0 → 0.18.0-rc.5

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/binary/writer.js CHANGED
@@ -24,6 +24,7 @@ var m={
24
24
  'inputPhoneContact':function(w,v){w.uint(4086478836);w.long(h(v,'clientId'));w.string(h(v,'phone'));w.string(h(v,'firstName'));w.string(h(v,'lastName'));},
25
25
  'inputFile':function(w,v){w.uint(4113560191);w.long(h(v,'id'));w.int(h(v,'parts'));w.string(h(v,'name'));w.string(h(v,'md5Checksum'));},
26
26
  'inputFileBig':function(w,v){w.uint(4199484341);w.long(h(v,'id'));w.int(h(v,'parts'));w.string(h(v,'name'));},
27
+ 'inputFileStoryDocument':function(w,v){w.uint(1658620744);w.object(h(v,'id'));},
27
28
  'inputMediaEmpty':function(w){w.uint(2523198847);},
28
29
  'inputMediaUploadedPhoto':function(w,v){w.uint(505969924);var flags=0;var _stickers=v.stickers&&v.stickers.length;if(_stickers)flags|=1;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=2;if(v.spoiler===true)flags|=4;w.uint(flags);w.object(h(v,'file'));if(_stickers)w.vector(w.object,v.stickers);if(_ttlSeconds)w.int(v.ttlSeconds);},
29
30
  'inputMediaPhoto':function(w,v){w.uint(3015312949);var flags=0;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=1;if(v.spoiler===true)flags|=2;w.uint(flags);w.object(h(v,'id'));if(_ttlSeconds)w.int(v.ttlSeconds);},
@@ -35,11 +36,13 @@ var m={
35
36
  'inputMediaPhotoExternal':function(w,v){w.uint(3854302746);var flags=0;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=1;if(v.spoiler===true)flags|=2;w.uint(flags);w.string(h(v,'url'));if(_ttlSeconds)w.int(v.ttlSeconds);},
36
37
  'inputMediaDocumentExternal':function(w,v){w.uint(4216511641);var flags=0;var _ttlSeconds=v.ttlSeconds!==undefined;if(_ttlSeconds)flags|=1;if(v.spoiler===true)flags|=2;w.uint(flags);w.string(h(v,'url'));if(_ttlSeconds)w.int(v.ttlSeconds);},
37
38
  'inputMediaGame':function(w,v){w.uint(3544138739);w.object(h(v,'id'));},
38
- 'inputMediaInvoice':function(w,v){w.uint(2394269397);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _startParam=v.startParam!==undefined;if(_startParam)flags|=2;var _extendedMedia=v.extendedMedia!==undefined;if(_extendedMedia)flags|=4;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.bytes(h(v,'payload'));w.string(h(v,'provider'));w.object(h(v,'providerData'));if(_startParam)w.string(v.startParam);if(_extendedMedia)w.object(v.extendedMedia);},
39
+ 'inputMediaInvoice':function(w,v){w.uint(1080028941);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _startParam=v.startParam!==undefined;if(_startParam)flags|=2;var _extendedMedia=v.extendedMedia!==undefined;if(_extendedMedia)flags|=4;var _provider=v.provider!==undefined;if(_provider)flags|=8;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.bytes(h(v,'payload'));if(_provider)w.string(v.provider);w.object(h(v,'providerData'));if(_startParam)w.string(v.startParam);if(_extendedMedia)w.object(v.extendedMedia);},
39
40
  'inputMediaGeoLive':function(w,v){w.uint(2535434307);var flags=0;if(v.stopped===true)flags|=1;var _period=v.period!==undefined;if(_period)flags|=2;var _heading=v.heading!==undefined;if(_heading)flags|=4;var _proximityNotificationRadius=v.proximityNotificationRadius!==undefined;if(_proximityNotificationRadius)flags|=8;w.uint(flags);w.object(h(v,'geoPoint'));if(_heading)w.int(v.heading);if(_period)w.int(v.period);if(_proximityNotificationRadius)w.int(v.proximityNotificationRadius);},
40
41
  'inputMediaPoll':function(w,v){w.uint(261416433);var flags=0;var _correctAnswers=v.correctAnswers&&v.correctAnswers.length;if(_correctAnswers)flags|=1;var _solution=v.solution!==undefined;var _solutionEntities=v.solutionEntities&&v.solutionEntities.length;var _flags_1=_solution||_solutionEntities;if(_flags_1)flags|=2;w.uint(flags);w.object(h(v,'poll'));if(_correctAnswers)w.vector(w.bytes,v.correctAnswers);if(_flags_1)w.string(v.solution);if(_flags_1)w.vector(w.object,v.solutionEntities);},
41
42
  'inputMediaDice':function(w,v){w.uint(3866083195);w.string(h(v,'emoticon'));},
42
43
  'inputMediaStory':function(w,v){w.uint(2315114360);w.object(h(v,'peer'));w.int(h(v,'id'));},
44
+ 'inputMediaWebPage':function(w,v){w.uint(3256584265);var flags=0;if(v.forceLargeMedia===true)flags|=1;if(v.forceSmallMedia===true)flags|=2;if(v.optional===true)flags|=4;w.uint(flags);w.string(h(v,'url'));},
45
+ 'inputMediaPaidMedia':function(w,v){w.uint(3289396102);var flags=0;var _payload=v.payload!==undefined;if(_payload)flags|=1;w.uint(flags);w.long(h(v,'starsAmount'));w.vector(w.object,h(v,'extendedMedia'));if(_payload)w.string(v.payload);},
43
46
  'inputChatPhotoEmpty':function(w){w.uint(480546647);},
44
47
  'inputChatUploadedPhoto':function(w,v){w.uint(3184373440);var flags=0;var _file=v.file!==undefined;if(_file)flags|=1;var _video=v.video!==undefined;if(_video)flags|=2;var _videoStartTs=v.videoStartTs!==undefined;if(_videoStartTs)flags|=4;var _videoEmojiMarkup=v.videoEmojiMarkup!==undefined;if(_videoEmojiMarkup)flags|=8;w.uint(flags);if(_file)w.object(v.file);if(_video)w.object(v.video);if(_videoStartTs)w.double(v.videoStartTs);if(_videoEmojiMarkup)w.object(v.videoEmojiMarkup);},
45
48
  'inputChatPhoto':function(w,v){w.uint(2303962423);w.object(h(v,'id'));},
@@ -71,22 +74,22 @@ var m={
71
74
  'storage.fileMp4':function(w){w.uint(3016663268);},
72
75
  'storage.fileWebp':function(w){w.uint(276907596);},
73
76
  'userEmpty':function(w,v){w.uint(3552332666);w.int53(h(v,'id'));},
74
- 'user':function(w,v){w.uint(3948949285);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 _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags2|=64;var _color=v.color!==undefined;if(_color)flags2|=128;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.int(v.color);if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
77
+ 'user':function(w,v){w.uint(2201046986);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;if(v.botBusiness===true)flags2|=2048;var _botActiveUsers=v.botActiveUsers!==undefined;if(_botActiveUsers)flags2|=4096;if(v.botHasMainApp===true)flags2|=8192;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);if(_botActiveUsers)w.int(v.botActiveUsers);},
75
78
  'userProfilePhotoEmpty':function(w){w.uint(1326562017);},
76
79
  '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'));},
77
80
  'userStatusEmpty':function(w){w.uint(164646985);},
78
81
  'userStatusOnline':function(w,v){w.uint(3988339017);w.int(h(v,'expires'));},
79
82
  'userStatusOffline':function(w,v){w.uint(9203775);w.int(h(v,'wasOnline'));},
80
- 'userStatusRecently':function(w){w.uint(3798942449);},
81
- 'userStatusLastWeek':function(w){w.uint(129960444);},
82
- 'userStatusLastMonth':function(w){w.uint(2011940674);},
83
+ 'userStatusRecently':function(w,v){w.uint(2065268168);var flags=0;if(v.byMe===true)flags|=1;w.uint(flags);},
84
+ 'userStatusLastWeek':function(w,v){w.uint(1410997530);var flags=0;if(v.byMe===true)flags|=1;w.uint(flags);},
85
+ 'userStatusLastMonth':function(w,v){w.uint(1703516023);var flags=0;if(v.byMe===true)flags|=1;w.uint(flags);},
83
86
  'chatEmpty':function(w,v){w.uint(693512293);w.int53(h(v,'id'));},
84
87
  '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);},
85
88
  'chatForbidden':function(w,v){w.uint(1704108455);w.int53(h(v,'id'));w.string(h(v,'title'));},
86
- 'channel':function(w,v){w.uint(427944574);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 _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags2|=32;var _color=v.color!==undefined;if(_color)flags2|=64;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.int(v.color);if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
89
+ 'channel':function(w,v){w.uint(4265900221);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;var _subscriptionUntilDate=v.subscriptionUntilDate!==undefined;if(_subscriptionUntilDate)flags2|=2048;if(v.signatureProfiles===true)flags2|=4096;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);if(_subscriptionUntilDate)w.int(v.subscriptionUntilDate);},
87
90
  '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);},
88
- '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);},
89
- 'channelFull':function(w,v){w.uint(1915758525);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;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);},
91
+ 'chatFull':function(w,v){w.uint(640893467);var flags=0;var _chatPhoto=v.chatPhoto!==undefined;if(_chatPhoto)flags|=4;var _botInfo=v.botInfo&&v.botInfo.length;if(_botInfo)flags|=8;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=64;if(v.canSetUsername===true)flags|=128;if(v.hasScheduled===true)flags|=256;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _call=v.call!==undefined;if(_call)flags|=4096;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8192;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16384;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=32768;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=65536;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_17=_requestsPending||_recentRequesters;if(_flags_17)flags|=131072;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=262144;if(v.translationsDisabled===true)flags|=524288;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags|=1048576;w.uint(flags);w.int53(h(v,'id'));w.string(h(v,'about'));w.object(h(v,'participants'));if(_chatPhoto)w.object(v.chatPhoto);w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);if(_botInfo)w.vector(w.object,v.botInfo);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_folderId)w.int(v.folderId);if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_17)w.int(v.requestsPending);if(_flags_17)w.vector(w.long,v.recentRequesters);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);},
92
+ 'channelFull':function(w,v){w.uint(3148559501);var flags=0;var _participantsCount=v.participantsCount!==undefined;if(_participantsCount)flags|=1;var _adminsCount=v.adminsCount!==undefined;if(_adminsCount)flags|=2;var _kickedCount=v.kickedCount!==undefined;var _bannedCount=v.bannedCount!==undefined;var _flags_2=_kickedCount||_bannedCount;if(_flags_2)flags|=4;if(v.canViewParticipants===true)flags|=8;var _migratedFromChatId=v.migratedFromChatId!==undefined;var _migratedFromMaxId=v.migratedFromMaxId!==undefined;var _flags_4=_migratedFromChatId||_migratedFromMaxId;if(_flags_4)flags|=16;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=32;if(v.canSetUsername===true)flags|=64;if(v.canSetStickers===true)flags|=128;var _stickerset=v.stickerset!==undefined;if(_stickerset)flags|=256;var _availableMinId=v.availableMinId!==undefined;if(_availableMinId)flags|=512;if(v.hiddenPrehistory===true)flags|=1024;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;var _statsDc=v.statsDc!==undefined;if(_statsDc)flags|=4096;var _onlineCount=v.onlineCount!==undefined;if(_onlineCount)flags|=8192;var _linkedChatId=v.linkedChatId!==undefined;if(_linkedChatId)flags|=16384;var _location=v.location!==undefined;if(_location)flags|=32768;if(v.canSetLocation===true)flags|=65536;var _slowmodeSeconds=v.slowmodeSeconds!==undefined;if(_slowmodeSeconds)flags|=131072;var _slowmodeNextSendDate=v.slowmodeNextSendDate!==undefined;if(_slowmodeNextSendDate)flags|=262144;if(v.hasScheduled===true)flags|=524288;if(v.canViewStats===true)flags|=1048576;var _call=v.call!==undefined;if(_call)flags|=2097152;if(v.blocked===true)flags|=4194304;var _exportedInvite=v.exportedInvite!==undefined;if(_exportedInvite)flags|=8388608;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16777216;var _pendingSuggestions=v.pendingSuggestions&&v.pendingSuggestions.length;if(_pendingSuggestions)flags|=33554432;var _groupcallDefaultJoinAs=v.groupcallDefaultJoinAs!==undefined;if(_groupcallDefaultJoinAs)flags|=67108864;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=134217728;var _requestsPending=v.requestsPending!==undefined;var _recentRequesters=v.recentRequesters&&v.recentRequesters.length;var _flags_28=_requestsPending||_recentRequesters;if(_flags_28)flags|=268435456;var _defaultSendAs=v.defaultSendAs!==undefined;if(_defaultSendAs)flags|=536870912;var _availableReactions=v.availableReactions!==undefined;if(_availableReactions)flags|=1073741824;w.uint(flags);var flags2=0;if(v.canDeleteChannel===true)flags2|=1;if(v.antispam===true)flags2|=2;if(v.participantsHidden===true)flags2|=4;if(v.translationsDisabled===true)flags2|=8;var _stories=v.stories!==undefined;if(_stories)flags2|=16;if(v.storiesPinnedAvailable===true)flags2|=32;if(v.viewForumAsMessages===true)flags2|=64;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags2|=128;var _boostsApplied=v.boostsApplied!==undefined;if(_boostsApplied)flags2|=256;var _boostsUnrestrict=v.boostsUnrestrict!==undefined;if(_boostsUnrestrict)flags2|=512;var _emojiset=v.emojiset!==undefined;if(_emojiset)flags2|=1024;if(v.restrictedSponsored===true)flags2|=2048;if(v.canViewRevenue===true)flags2|=4096;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags2|=8192;if(v.paidMediaAllowed===true)flags2|=16384;if(v.canViewStarsRevenue===true)flags2|=32768;if(v.paidReactionsAvailable===true)flags2|=65536;w.uint(flags2);w.int53(h(v,'id'));w.string(h(v,'about'));if(_participantsCount)w.int(v.participantsCount);if(_adminsCount)w.int(v.adminsCount);if(_flags_2)w.int(v.kickedCount);if(_flags_2)w.int(v.bannedCount);if(_onlineCount)w.int(v.onlineCount);w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.object(h(v,'chatPhoto'));w.object(h(v,'notifySettings'));if(_exportedInvite)w.object(v.exportedInvite);w.vector(w.object,h(v,'botInfo'));if(_flags_4)w.long(v.migratedFromChatId);if(_flags_4)w.int(v.migratedFromMaxId);if(_pinnedMsgId)w.int(v.pinnedMsgId);if(_stickerset)w.object(v.stickerset);if(_availableMinId)w.int(v.availableMinId);if(_folderId)w.int(v.folderId);if(_linkedChatId)w.int53(v.linkedChatId);if(_location)w.object(v.location);if(_slowmodeSeconds)w.int(v.slowmodeSeconds);if(_slowmodeNextSendDate)w.int(v.slowmodeNextSendDate);if(_statsDc)w.int(v.statsDc);w.int(h(v,'pts'));if(_call)w.object(v.call);if(_ttlPeriod)w.int(v.ttlPeriod);if(_pendingSuggestions)w.vector(w.string,v.pendingSuggestions);if(_groupcallDefaultJoinAs)w.object(v.groupcallDefaultJoinAs);if(_themeEmoticon)w.string(v.themeEmoticon);if(_flags_28)w.int(v.requestsPending);if(_flags_28)w.vector(w.long,v.recentRequesters);if(_defaultSendAs)w.object(v.defaultSendAs);if(_availableReactions)w.object(v.availableReactions);if(_reactionsLimit)w.int(v.reactionsLimit);if(_stories)w.object(v.stories);if(_wallpaper)w.object(v.wallpaper);if(_boostsApplied)w.int(v.boostsApplied);if(_boostsUnrestrict)w.int(v.boostsUnrestrict);if(_emojiset)w.object(v.emojiset);},
90
93
  'chatParticipant':function(w,v){w.uint(3224190983);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
91
94
  'chatParticipantCreator':function(w,v){w.uint(3832270564);w.int53(h(v,'userId'));},
92
95
  'chatParticipantAdmin':function(w,v){w.uint(2694004571);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
@@ -95,14 +98,14 @@ var m={
95
98
  'chatPhotoEmpty':function(w){w.uint(935395612);},
96
99
  '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'));},
97
100
  '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);},
98
- 'message':function(w,v){w.uint(940666592);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;w.uint(flags);w.int(h(v,'id'));if(_fromId)w.object(v.fromId);w.object(h(v,'peerId'));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);},
101
+ 'message':function(w,v){w.uint(2486456898);var flags=0;if(v.out===true)flags|=2;var _fwdFrom=v.fwdFrom!==undefined;if(_fwdFrom)flags|=4;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=8;if(v.mentioned===true)flags|=16;if(v.mediaUnread===true)flags|=32;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=64;var _entities=v.entities&&v.entities.length;if(_entities)flags|=128;var _fromId=v.fromId!==undefined;if(_fromId)flags|=256;var _media=v.media!==undefined;if(_media)flags|=512;var _views=v.views!==undefined;var _forwards=v.forwards!==undefined;var _flags_10=_views||_forwards;if(_flags_10)flags|=1024;var _viaBotId=v.viaBotId!==undefined;if(_viaBotId)flags|=2048;if(v.silent===true)flags|=8192;if(v.post===true)flags|=16384;var _editDate=v.editDate!==undefined;if(_editDate)flags|=32768;var _postAuthor=v.postAuthor!==undefined;if(_postAuthor)flags|=65536;var _groupedId=v.groupedId!==undefined;if(_groupedId)flags|=131072;if(v.fromScheduled===true)flags|=262144;if(v.legacy===true)flags|=524288;var _reactions=v.reactions!==undefined;if(_reactions)flags|=1048576;if(v.editHide===true)flags|=2097152;var _restrictionReason=v.restrictionReason&&v.restrictionReason.length;if(_restrictionReason)flags|=4194304;var _replies=v.replies!==undefined;if(_replies)flags|=8388608;if(v.pinned===true)flags|=16777216;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=33554432;if(v.noforwards===true)flags|=67108864;if(v.invertMedia===true)flags|=134217728;var _savedPeerId=v.savedPeerId!==undefined;if(_savedPeerId)flags|=268435456;var _fromBoostsApplied=v.fromBoostsApplied!==undefined;if(_fromBoostsApplied)flags|=536870912;var _quickReplyShortcutId=v.quickReplyShortcutId!==undefined;if(_quickReplyShortcutId)flags|=1073741824;w.uint(flags);var flags2=0;var _viaBusinessBotId=v.viaBusinessBotId!==undefined;if(_viaBusinessBotId)flags2|=1;if(v.offline===true)flags2|=2;var _effect=v.effect!==undefined;if(_effect)flags2|=4;var _factcheck=v.factcheck!==undefined;if(_factcheck)flags2|=8;if(v.videoProcessingPending===true)flags2|=16;w.uint(flags2);w.int(h(v,'id'));if(_fromId)w.object(v.fromId);if(_fromBoostsApplied)w.int(v.fromBoostsApplied);w.object(h(v,'peerId'));if(_savedPeerId)w.object(v.savedPeerId);if(_fwdFrom)w.object(v.fwdFrom);if(_viaBotId)w.int53(v.viaBotId);if(_viaBusinessBotId)w.int53(v.viaBusinessBotId);if(_replyTo)w.object(v.replyTo);w.int(h(v,'date'));w.string(h(v,'message'));if(_media)w.object(v.media);if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_flags_10)w.int(v.views);if(_flags_10)w.int(v.forwards);if(_replies)w.object(v.replies);if(_editDate)w.int(v.editDate);if(_postAuthor)w.string(v.postAuthor);if(_groupedId)w.long(v.groupedId);if(_reactions)w.object(v.reactions);if(_restrictionReason)w.vector(w.object,v.restrictionReason);if(_ttlPeriod)w.int(v.ttlPeriod);if(_quickReplyShortcutId)w.int(v.quickReplyShortcutId);if(_effect)w.long(v.effect);if(_factcheck)w.object(v.factcheck);},
99
102
  '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);},
100
103
  'messageMediaEmpty':function(w){w.uint(1038967584);},
101
104
  '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);},
102
105
  'messageMediaGeo':function(w,v){w.uint(1457575028);w.object(h(v,'geo'));},
103
106
  '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'));},
104
107
  'messageMediaUnsupported':function(w){w.uint(2676290718);},
105
- '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);},
108
+ 'messageMediaDocument':function(w,v){w.uint(3713469397);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 _altDocuments=v.altDocuments&&v.altDocuments.length;if(_altDocuments)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(_altDocuments)w.vector(w.object,v.altDocuments);if(_ttlSeconds)w.int(v.ttlSeconds);},
106
109
  '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'));},
107
110
  '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'));},
108
111
  'messageMediaGame':function(w,v){w.uint(4256272392);w.object(h(v,'game'));},
@@ -111,6 +114,9 @@ var m={
111
114
  'messageMediaPoll':function(w,v){w.uint(1272375192);w.object(h(v,'poll'));w.object(h(v,'results'));},
112
115
  'messageMediaDice':function(w,v){w.uint(1065280907);w.int(h(v,'value'));w.string(h(v,'emoticon'));},
113
116
  '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);},
117
+ 'messageMediaGiveaway':function(w,v){w.uint(2852600811);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;var _months=v.months!==undefined;if(_months)flags|=16;var _stars=v.stars!==undefined;if(_stars)flags|=32;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'));if(_months)w.int(v.months);if(_stars)w.long(v.stars);w.int(h(v,'untilDate'));},
118
+ 'messageMediaGiveawayResults':function(w,v){w.uint(3467263649);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;var _months=v.months!==undefined;if(_months)flags|=16;var _stars=v.stars!==undefined;if(_stars)flags|=32;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'));if(_months)w.int(v.months);if(_stars)w.long(v.stars);if(_prizeDescription)w.string(v.prizeDescription);w.int(h(v,'untilDate'));},
119
+ 'messageMediaPaidMedia':function(w,v){w.uint(2827297937);w.long(h(v,'starsAmount'));w.vector(w.object,h(v,'extendedMedia'));},
114
120
  'messageActionEmpty':function(w){w.uint(3064919984);},
115
121
  'messageActionChatCreate':function(w,v){w.uint(3175599021);w.string(h(v,'title'));w.vector(w.int53,h(v,'users'));},
116
122
  'messageActionChatEditTitle':function(w,v){w.uint(3047280218);w.string(h(v,'title'));},
@@ -125,8 +131,8 @@ var m={
125
131
  'messageActionPinMessage':function(w){w.uint(2495428845);},
126
132
  'messageActionHistoryClear':function(w){w.uint(2679813636);},
127
133
  'messageActionGameScore':function(w,v){w.uint(2460428406);w.long(h(v,'gameId'));w.int(h(v,'score'));},
128
- 'messageActionPaymentSentMe':function(w,v){w.uint(2402399015);var flags=0;var _info=v.info!==undefined;if(_info)flags|=1;var _shippingOptionId=v.shippingOptionId!==undefined;if(_shippingOptionId)flags|=2;if(v.recurringInit===true)flags|=4;if(v.recurringUsed===true)flags|=8;w.uint(flags);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));w.bytes(h(v,'payload'));if(_info)w.object(v.info);if(_shippingOptionId)w.string(v.shippingOptionId);w.object(h(v,'charge'));},
129
- 'messageActionPaymentSent':function(w,v){w.uint(2518040406);var flags=0;var _invoiceSlug=v.invoiceSlug!==undefined;if(_invoiceSlug)flags|=1;if(v.recurringInit===true)flags|=4;if(v.recurringUsed===true)flags|=8;w.uint(flags);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));if(_invoiceSlug)w.string(v.invoiceSlug);},
134
+ 'messageActionPaymentSentMe':function(w,v){w.uint(4288679116);var flags=0;var _info=v.info!==undefined;if(_info)flags|=1;var _shippingOptionId=v.shippingOptionId!==undefined;if(_shippingOptionId)flags|=2;if(v.recurringInit===true)flags|=4;if(v.recurringUsed===true)flags|=8;var _subscriptionUntilDate=v.subscriptionUntilDate!==undefined;if(_subscriptionUntilDate)flags|=16;w.uint(flags);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));w.bytes(h(v,'payload'));if(_info)w.object(v.info);if(_shippingOptionId)w.string(v.shippingOptionId);w.object(h(v,'charge'));if(_subscriptionUntilDate)w.int(v.subscriptionUntilDate);},
135
+ 'messageActionPaymentSent':function(w,v){w.uint(3324293486);var flags=0;var _invoiceSlug=v.invoiceSlug!==undefined;if(_invoiceSlug)flags|=1;if(v.recurringInit===true)flags|=4;if(v.recurringUsed===true)flags|=8;var _subscriptionUntilDate=v.subscriptionUntilDate!==undefined;if(_subscriptionUntilDate)flags|=16;w.uint(flags);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));if(_invoiceSlug)w.string(v.invoiceSlug);if(_subscriptionUntilDate)w.int(v.subscriptionUntilDate);},
130
136
  'messageActionPhoneCall':function(w,v){w.uint(2162236031);var flags=0;var _reason=v.reason!==undefined;if(_reason)flags|=1;var _duration=v.duration!==undefined;if(_duration)flags|=2;if(v.video===true)flags|=4;w.uint(flags);w.long(h(v,'callId'));if(_reason)w.object(v.reason);if(_duration)w.int(v.duration);},
131
137
  'messageActionScreenshotTaken':function(w){w.uint(1200788123);},
132
138
  'messageActionCustomAction':function(w,v){w.uint(4209418070);w.string(h(v,'message'));},
@@ -143,14 +149,22 @@ var m={
143
149
  'messageActionChatJoinedByRequest':function(w){w.uint(3955008459);},
144
150
  'messageActionWebViewDataSentMe':function(w,v){w.uint(1205698681);w.string(h(v,'text'));w.string(h(v,'data'));},
145
151
  'messageActionWebViewDataSent':function(w,v){w.uint(3032714421);w.string(h(v,'text'));},
146
- 'messageActionGiftPremium':function(w,v){w.uint(3359468268);var flags=0;var _cryptoCurrency=v.cryptoCurrency!==undefined;var _cryptoAmount=v.cryptoAmount!==undefined;var _flags_0=_cryptoCurrency||_cryptoAmount;if(_flags_0)flags|=1;w.uint(flags);w.string(h(v,'currency'));w.long(h(v,'amount'));w.int(h(v,'months'));if(_flags_0)w.string(v.cryptoCurrency);if(_flags_0)w.long(v.cryptoAmount);},
152
+ 'messageActionGiftPremium':function(w,v){w.uint(1818391802);var flags=0;var _cryptoCurrency=v.cryptoCurrency!==undefined;var _cryptoAmount=v.cryptoAmount!==undefined;var _flags_0=_cryptoCurrency||_cryptoAmount;if(_flags_0)flags|=1;var _message=v.message!==undefined;if(_message)flags|=2;w.uint(flags);w.string(h(v,'currency'));w.long(h(v,'amount'));w.int(h(v,'months'));if(_flags_0)w.string(v.cryptoCurrency);if(_flags_0)w.long(v.cryptoAmount);if(_message)w.object(v.message);},
147
153
  '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);},
148
154
  '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);},
149
155
  'messageActionSuggestProfilePhoto':function(w,v){w.uint(1474192222);w.object(h(v,'photo'));},
150
- 'messageActionRequestedPeer':function(w,v){w.uint(4269225053);w.int(h(v,'buttonId'));w.object(h(v,'peer'));},
151
- 'messageActionSetChatWallPaper':function(w,v){w.uint(3158616359);w.object(h(v,'wallpaper'));},
152
- 'messageActionSetSameChatWallPaper':function(w,v){w.uint(3229121901);w.object(h(v,'wallpaper'));},
153
- '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;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);},
156
+ 'messageActionRequestedPeer':function(w,v){w.uint(827428507);w.int(h(v,'buttonId'));w.vector(w.object,h(v,'peers'));},
157
+ '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'));},
158
+ 'messageActionGiftCode':function(w,v){w.uint(1456486804);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;var _message=v.message!==undefined;if(_message)flags|=16;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);if(_message)w.object(v.message);},
159
+ 'messageActionGiveawayLaunch':function(w,v){w.uint(2819576292);var flags=0;var _stars=v.stars!==undefined;if(_stars)flags|=1;w.uint(flags);if(_stars)w.long(v.stars);},
160
+ 'messageActionGiveawayResults':function(w,v){w.uint(2279797077);var flags=0;if(v.stars===true)flags|=1;w.uint(flags);w.int(h(v,'winnersCount'));w.int(h(v,'unclaimedCount'));},
161
+ 'messageActionBoostApply':function(w,v){w.uint(3422726765);w.int(h(v,'boosts'));},
162
+ 'messageActionRequestedPeerSentMe':function(w,v){w.uint(2477987912);w.int(h(v,'buttonId'));w.vector(w.object,h(v,'peers'));},
163
+ 'messageActionPaymentRefunded':function(w,v){w.uint(1102307842);var flags=0;var _payload=v.payload!==undefined;if(_payload)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'currency'));w.long(h(v,'totalAmount'));if(_payload)w.bytes(v.payload);w.object(h(v,'charge'));},
164
+ 'messageActionGiftStars':function(w,v){w.uint(1171632161);var flags=0;var _cryptoCurrency=v.cryptoCurrency!==undefined;var _cryptoAmount=v.cryptoAmount!==undefined;var _flags_0=_cryptoCurrency||_cryptoAmount;if(_flags_0)flags|=1;var _transactionId=v.transactionId!==undefined;if(_transactionId)flags|=2;w.uint(flags);w.string(h(v,'currency'));w.long(h(v,'amount'));w.long(h(v,'stars'));if(_flags_0)w.string(v.cryptoCurrency);if(_flags_0)w.long(v.cryptoAmount);if(_transactionId)w.string(v.transactionId);},
165
+ 'messageActionPrizeStars':function(w,v){w.uint(2953594786);var flags=0;if(v.unclaimed===true)flags|=1;w.uint(flags);w.long(h(v,'stars'));w.string(h(v,'transactionId'));w.object(h(v,'boostPeer'));w.int(h(v,'giveawayMsgId'));},
166
+ 'messageActionStarGift':function(w,v){w.uint(139818551);var flags=0;if(v.nameHidden===true)flags|=1;var _message=v.message!==undefined;if(_message)flags|=2;if(v.saved===true)flags|=4;if(v.converted===true)flags|=8;var _convertStars=v.convertStars!==undefined;if(_convertStars)flags|=16;w.uint(flags);w.object(h(v,'gift'));if(_message)w.object(v.message);if(_convertStars)w.long(v.convertStars);},
167
+ 'dialog':function(w,v){w.uint(3582593222);var flags=0;var _pts=v.pts!==undefined;if(_pts)flags|=1;var _draft=v.draft!==undefined;if(_draft)flags|=2;if(v.pinned===true)flags|=4;if(v.unreadMark===true)flags|=8;var _folderId=v.folderId!==undefined;if(_folderId)flags|=16;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=32;if(v.viewForumAsMessages===true)flags|=64;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'readInboxMaxId'));w.int(h(v,'readOutboxMaxId'));w.int(h(v,'unreadCount'));w.int(h(v,'unreadMentionsCount'));w.int(h(v,'unreadReactionsCount'));w.object(h(v,'notifySettings'));if(_pts)w.int(v.pts);if(_draft)w.object(v.draft);if(_folderId)w.int(v.folderId);if(_ttlPeriod)w.int(v.ttlPeriod);},
154
168
  'dialogFolder':function(w,v){w.uint(1908216652);var flags=0;if(v.pinned===true)flags|=4;w.uint(flags);w.object(h(v,'folder'));w.object(h(v,'peer'));w.int(h(v,'topMessage'));w.int(h(v,'unreadMutedPeersCount'));w.int(h(v,'unreadUnmutedPeersCount'));w.int(h(v,'unreadMutedMessagesCount'));w.int(h(v,'unreadUnmutedMessagesCount'));},
155
169
  'photoEmpty':function(w,v){w.uint(590459437);w.long(h(v,'id'));},
156
170
  'photo':function(w,v){w.uint(4212750949);var flags=0;if(v.hasStickers===true)flags|=1;var _videoSizes=v.videoSizes&&v.videoSizes.length;if(_videoSizes)flags|=2;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.bytes(h(v,'fileReference'));w.int(h(v,'date'));w.vector(w.object,h(v,'sizes'));if(_videoSizes)w.vector(w.object,v.videoSizes);w.int(h(v,'dcId'));},
@@ -174,7 +188,7 @@ var m={
174
188
  'inputNotifyForumTopic':function(w,v){w.uint(1548122514);w.object(h(v,'peer'));w.int(h(v,'topMsgId'));},
175
189
  'inputPeerNotifySettings':function(w,v){w.uint(3402328802);var flags=0;var _showPreviews=v.showPreviews!==undefined;if(_showPreviews)flags|=1;var _silent=v.silent!==undefined;if(_silent)flags|=2;var _muteUntil=v.muteUntil!==undefined;if(_muteUntil)flags|=4;var _sound=v.sound!==undefined;if(_sound)flags|=8;var _storiesMuted=v.storiesMuted!==undefined;if(_storiesMuted)flags|=64;var _storiesHideSender=v.storiesHideSender!==undefined;if(_storiesHideSender)flags|=128;var _storiesSound=v.storiesSound!==undefined;if(_storiesSound)flags|=256;w.uint(flags);if(_showPreviews)w.boolean(v.showPreviews);if(_silent)w.boolean(v.silent);if(_muteUntil)w.int(v.muteUntil);if(_sound)w.object(v.sound);if(_storiesMuted)w.boolean(v.storiesMuted);if(_storiesHideSender)w.boolean(v.storiesHideSender);if(_storiesSound)w.object(v.storiesSound);},
176
190
  'peerNotifySettings':function(w,v){w.uint(2573347852);var flags=0;var _showPreviews=v.showPreviews!==undefined;if(_showPreviews)flags|=1;var _silent=v.silent!==undefined;if(_silent)flags|=2;var _muteUntil=v.muteUntil!==undefined;if(_muteUntil)flags|=4;var _iosSound=v.iosSound!==undefined;if(_iosSound)flags|=8;var _androidSound=v.androidSound!==undefined;if(_androidSound)flags|=16;var _otherSound=v.otherSound!==undefined;if(_otherSound)flags|=32;var _storiesMuted=v.storiesMuted!==undefined;if(_storiesMuted)flags|=64;var _storiesHideSender=v.storiesHideSender!==undefined;if(_storiesHideSender)flags|=128;var _storiesIosSound=v.storiesIosSound!==undefined;if(_storiesIosSound)flags|=256;var _storiesAndroidSound=v.storiesAndroidSound!==undefined;if(_storiesAndroidSound)flags|=512;var _storiesOtherSound=v.storiesOtherSound!==undefined;if(_storiesOtherSound)flags|=1024;w.uint(flags);if(_showPreviews)w.boolean(v.showPreviews);if(_silent)w.boolean(v.silent);if(_muteUntil)w.int(v.muteUntil);if(_iosSound)w.object(v.iosSound);if(_androidSound)w.object(v.androidSound);if(_otherSound)w.object(v.otherSound);if(_storiesMuted)w.boolean(v.storiesMuted);if(_storiesHideSender)w.boolean(v.storiesHideSender);if(_storiesIosSound)w.object(v.storiesIosSound);if(_storiesAndroidSound)w.object(v.storiesAndroidSound);if(_storiesOtherSound)w.object(v.storiesOtherSound);},
177
- 'peerSettings':function(w,v){w.uint(2769817869);var flags=0;if(v.reportSpam===true)flags|=1;if(v.addContact===true)flags|=2;if(v.blockContact===true)flags|=4;if(v.shareContact===true)flags|=8;if(v.needContactsException===true)flags|=16;if(v.reportGeo===true)flags|=32;var _geoDistance=v.geoDistance!==undefined;if(_geoDistance)flags|=64;if(v.autoarchived===true)flags|=128;if(v.inviteMembers===true)flags|=256;var _requestChatTitle=v.requestChatTitle!==undefined;var _requestChatDate=v.requestChatDate!==undefined;var _flags_9=_requestChatTitle||_requestChatDate;if(_flags_9)flags|=512;if(v.requestChatBroadcast===true)flags|=1024;w.uint(flags);if(_geoDistance)w.int(v.geoDistance);if(_flags_9)w.string(v.requestChatTitle);if(_flags_9)w.int(v.requestChatDate);},
191
+ 'peerSettings':function(w,v){w.uint(2899733598);var flags=0;if(v.reportSpam===true)flags|=1;if(v.addContact===true)flags|=2;if(v.blockContact===true)flags|=4;if(v.shareContact===true)flags|=8;if(v.needContactsException===true)flags|=16;if(v.reportGeo===true)flags|=32;var _geoDistance=v.geoDistance!==undefined;if(_geoDistance)flags|=64;if(v.autoarchived===true)flags|=128;if(v.inviteMembers===true)flags|=256;var _requestChatTitle=v.requestChatTitle!==undefined;var _requestChatDate=v.requestChatDate!==undefined;var _flags_9=_requestChatTitle||_requestChatDate;if(_flags_9)flags|=512;if(v.requestChatBroadcast===true)flags|=1024;if(v.businessBotPaused===true)flags|=2048;if(v.businessBotCanReply===true)flags|=4096;var _businessBotId=v.businessBotId!==undefined;var _businessBotManageUrl=v.businessBotManageUrl!==undefined;var _flags_13=_businessBotId||_businessBotManageUrl;if(_flags_13)flags|=8192;w.uint(flags);if(_geoDistance)w.int(v.geoDistance);if(_flags_9)w.string(v.requestChatTitle);if(_flags_9)w.int(v.requestChatDate);if(_flags_13)w.int53(v.businessBotId);if(_flags_13)w.string(v.businessBotManageUrl);},
178
192
  'wallPaper':function(w,v){w.uint(2755118061);w.long(h(v,'id'));var flags=0;if(v.creator===true)flags|=1;if(v.default===true)flags|=2;var _settings=v.settings!==undefined;if(_settings)flags|=4;if(v.pattern===true)flags|=8;if(v.dark===true)flags|=16;w.uint(flags);w.long(h(v,'accessHash'));w.string(h(v,'slug'));w.object(h(v,'document'));if(_settings)w.object(v.settings);},
179
193
  'wallPaperNoFile':function(w,v){w.uint(3766501654);w.long(h(v,'id'));var flags=0;if(v.default===true)flags|=2;var _settings=v.settings!==undefined;if(_settings)flags|=4;if(v.dark===true)flags|=16;w.uint(flags);if(_settings)w.object(v.settings);},
180
194
  'inputReportReasonSpam':function(w){w.uint(1490799288);},
@@ -187,7 +201,7 @@ var m={
187
201
  'inputReportReasonFake':function(w){w.uint(4124956391);},
188
202
  'inputReportReasonIllegalDrugs':function(w){w.uint(177124030);},
189
203
  'inputReportReasonPersonalDetails':function(w){w.uint(2663876157);},
190
- '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;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);},
204
+ 'userFull':function(w,v){w.uint(525919081);var flags=0;if(v.blocked===true)flags|=1;var _about=v.about!==undefined;if(_about)flags|=2;var _profilePhoto=v.profilePhoto!==undefined;if(_profilePhoto)flags|=4;var _botInfo=v.botInfo!==undefined;if(_botInfo)flags|=8;if(v.phoneCallsAvailable===true)flags|=16;if(v.phoneCallsPrivate===true)flags|=32;var _pinnedMsgId=v.pinnedMsgId!==undefined;if(_pinnedMsgId)flags|=64;if(v.canPinMessage===true)flags|=128;var _folderId=v.folderId!==undefined;if(_folderId)flags|=2048;if(v.hasScheduled===true)flags|=4096;if(v.videoCallsAvailable===true)flags|=8192;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=16384;var _themeEmoticon=v.themeEmoticon!==undefined;if(_themeEmoticon)flags|=32768;var _privateForwardName=v.privateForwardName!==undefined;if(_privateForwardName)flags|=65536;var _botGroupAdminRights=v.botGroupAdminRights!==undefined;if(_botGroupAdminRights)flags|=131072;var _botBroadcastAdminRights=v.botBroadcastAdminRights!==undefined;if(_botBroadcastAdminRights)flags|=262144;var _premiumGifts=v.premiumGifts&&v.premiumGifts.length;if(_premiumGifts)flags|=524288;if(v.voiceMessagesForbidden===true)flags|=1048576;var _personalPhoto=v.personalPhoto!==undefined;if(_personalPhoto)flags|=2097152;var _fallbackPhoto=v.fallbackPhoto!==undefined;if(_fallbackPhoto)flags|=4194304;if(v.translationsDisabled===true)flags|=8388608;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=16777216;var _stories=v.stories!==undefined;if(_stories)flags|=33554432;if(v.storiesPinnedAvailable===true)flags|=67108864;if(v.blockedMyStoriesFrom===true)flags|=134217728;if(v.wallpaperOverridden===true)flags|=268435456;if(v.contactRequirePremium===true)flags|=536870912;if(v.readDatesPrivate===true)flags|=1073741824;w.uint(flags);var flags2=0;var _businessWorkHours=v.businessWorkHours!==undefined;if(_businessWorkHours)flags2|=1;var _businessLocation=v.businessLocation!==undefined;if(_businessLocation)flags2|=2;var _businessGreetingMessage=v.businessGreetingMessage!==undefined;if(_businessGreetingMessage)flags2|=4;var _businessAwayMessage=v.businessAwayMessage!==undefined;if(_businessAwayMessage)flags2|=8;var _businessIntro=v.businessIntro!==undefined;if(_businessIntro)flags2|=16;var _birthday=v.birthday!==undefined;if(_birthday)flags2|=32;var _personalChannelId=v.personalChannelId!==undefined;var _personalChannelMessage=v.personalChannelMessage!==undefined;var _flags2_6=_personalChannelId||_personalChannelMessage;if(_flags2_6)flags2|=64;if(v.sponsoredEnabled===true)flags2|=128;var _stargiftsCount=v.stargiftsCount!==undefined;if(_stargiftsCount)flags2|=256;if(v.canViewRevenue===true)flags2|=512;if(v.botCanManageEmojiStatus===true)flags2|=1024;w.uint(flags2);w.int53(h(v,'id'));if(_about)w.string(v.about);w.object(h(v,'settings'));if(_personalPhoto)w.object(v.personalPhoto);if(_profilePhoto)w.object(v.profilePhoto);if(_fallbackPhoto)w.object(v.fallbackPhoto);w.object(h(v,'notifySettings'));if(_botInfo)w.object(v.botInfo);if(_pinnedMsgId)w.int(v.pinnedMsgId);w.int(h(v,'commonChatsCount'));if(_folderId)w.int(v.folderId);if(_ttlPeriod)w.int(v.ttlPeriod);if(_themeEmoticon)w.string(v.themeEmoticon);if(_privateForwardName)w.string(v.privateForwardName);if(_botGroupAdminRights)w.object(v.botGroupAdminRights);if(_botBroadcastAdminRights)w.object(v.botBroadcastAdminRights);if(_premiumGifts)w.vector(w.object,v.premiumGifts);if(_wallpaper)w.object(v.wallpaper);if(_stories)w.object(v.stories);if(_businessWorkHours)w.object(v.businessWorkHours);if(_businessLocation)w.object(v.businessLocation);if(_businessGreetingMessage)w.object(v.businessGreetingMessage);if(_businessAwayMessage)w.object(v.businessAwayMessage);if(_businessIntro)w.object(v.businessIntro);if(_birthday)w.object(v.birthday);if(_flags2_6)w.int53(v.personalChannelId);if(_flags2_6)w.int(v.personalChannelMessage);if(_stargiftsCount)w.int(v.stargiftsCount);},
191
205
  'contact':function(w,v){w.uint(341499403);w.int53(h(v,'userId'));w.boolean(h(v,'mutual'));},
192
206
  'importedContact':function(w,v){w.uint(3242081360);w.int53(h(v,'userId'));w.long(h(v,'clientId'));},
193
207
  'contactStatus':function(w,v){w.uint(383348795);w.int53(h(v,'userId'));w.object(h(v,'status'));},
@@ -292,7 +306,7 @@ var m={
292
306
  'updatePeerSettings':function(w,v){w.uint(1786671974);w.object(h(v,'peer'));w.object(h(v,'settings'));},
293
307
  'updatePeerLocated':function(w,v){w.uint(3031420848);w.vector(w.object,h(v,'peers'));},
294
308
  'updateNewScheduledMessage':function(w,v){w.uint(967122427);w.object(h(v,'message'));},
295
- 'updateDeleteScheduledMessages':function(w,v){w.uint(2424728814);w.object(h(v,'peer'));w.vector(w.int,h(v,'messages'));},
309
+ 'updateDeleteScheduledMessages':function(w,v){w.uint(4071037315);var flags=0;var _sentMessages=v.sentMessages&&v.sentMessages.length;if(_sentMessages)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.vector(w.int,h(v,'messages'));if(_sentMessages)w.vector(w.int,v.sentMessages);},
296
310
  'updateTheme':function(w,v){w.uint(2182544291);w.object(h(v,'theme'));},
297
311
  'updateGeoLiveViewed':function(w,v){w.uint(2267003193);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
298
312
  'updateLoginToken':function(w){w.uint(1448076945);},
@@ -330,17 +344,41 @@ var m={
330
344
  'updateRecentEmojiStatuses':function(w){w.uint(821314523);},
331
345
  'updateRecentReactions':function(w){w.uint(1870160884);},
332
346
  'updateMoveStickerSetToTop':function(w,v){w.uint(2264715141);var flags=0;if(v.masks===true)flags|=1;if(v.emojis===true)flags|=2;w.uint(flags);w.long(h(v,'stickerset'));},
333
- 'updateMessageExtendedMedia':function(w,v){w.uint(1517529484);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.object(h(v,'extendedMedia'));},
347
+ 'updateMessageExtendedMedia':function(w,v){w.uint(3584300836);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.vector(w.object,h(v,'extendedMedia'));},
334
348
  'updateChannelPinnedTopic':function(w,v){w.uint(422509539);var flags=0;if(v.pinned===true)flags|=1;w.uint(flags);w.int53(h(v,'channelId'));w.int(h(v,'topicId'));},
335
349
  'updateChannelPinnedTopics':function(w,v){w.uint(4263085570);var flags=0;var _order=v.order&&v.order.length;if(_order)flags|=1;w.uint(flags);w.int53(h(v,'channelId'));if(_order)w.vector(w.int,v.order);},
336
- 'updateUser':function(w,v){w.uint(542282808);w.long(h(v,'userId'));},
350
+ 'updateUser':function(w,v){w.uint(542282808);w.int53(h(v,'userId'));},
337
351
  'updateAutoSaveSettings':function(w){w.uint(3959795863);},
338
- 'updateGroupInvitePrivacyForbidden':function(w,v){w.uint(3438316246);w.long(h(v,'userId'));},
339
352
  'updateStory':function(w,v){w.uint(1974712216);w.object(h(v,'peer'));w.object(h(v,'story'));},
340
353
  'updateReadStories':function(w,v){w.uint(4149121835);w.object(h(v,'peer'));w.int(h(v,'maxId'));},
341
354
  'updateStoryID':function(w,v){w.uint(468923833);w.int(h(v,'id'));w.long(h(v,'randomId'));},
342
355
  'updateStoriesStealthMode':function(w,v){w.uint(738741697);w.object(h(v,'stealthMode'));},
343
356
  'updateSentStoryReaction':function(w,v){w.uint(2103604867);w.object(h(v,'peer'));w.int(h(v,'storyId'));w.object(h(v,'reaction'));},
357
+ 'updateBotChatBoost':function(w,v){w.uint(2421019804);w.object(h(v,'peer'));w.object(h(v,'boost'));w.int(h(v,'qts'));},
358
+ 'updateChannelViewForumAsMessages':function(w,v){w.uint(129403168);w.int53(h(v,'channelId'));w.boolean(h(v,'enabled'));},
359
+ '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);},
360
+ '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'));},
361
+ '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'));},
362
+ 'updateSavedDialogPinned':function(w,v){w.uint(2930744948);var flags=0;if(v.pinned===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
363
+ '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);},
364
+ 'updateSavedReactionTags':function(w){w.uint(969307186);},
365
+ 'updateSmsJob':function(w,v){w.uint(4049758676);w.string(h(v,'jobId'));},
366
+ 'updateQuickReplies':function(w,v){w.uint(4182182578);w.vector(w.object,h(v,'quickReplies'));},
367
+ 'updateNewQuickReply':function(w,v){w.uint(4114458391);w.object(h(v,'quickReply'));},
368
+ 'updateDeleteQuickReply':function(w,v){w.uint(1407644140);w.int(h(v,'shortcutId'));},
369
+ 'updateQuickReplyMessage':function(w,v){w.uint(1040518415);w.object(h(v,'message'));},
370
+ 'updateDeleteQuickReplyMessages':function(w,v){w.uint(1450174413);w.int(h(v,'shortcutId'));w.vector(w.int,h(v,'messages'));},
371
+ 'updateBotBusinessConnect':function(w,v){w.uint(2330315130);w.object(h(v,'connection'));w.int(h(v,'qts'));},
372
+ 'updateBotNewBusinessMessage':function(w,v){w.uint(2648388732);var flags=0;var _replyToMessage=v.replyToMessage!==undefined;if(_replyToMessage)flags|=1;w.uint(flags);w.string(h(v,'connectionId'));w.object(h(v,'message'));if(_replyToMessage)w.object(v.replyToMessage);w.int(h(v,'qts'));},
373
+ 'updateBotEditBusinessMessage':function(w,v){w.uint(132077692);var flags=0;var _replyToMessage=v.replyToMessage!==undefined;if(_replyToMessage)flags|=1;w.uint(flags);w.string(h(v,'connectionId'));w.object(h(v,'message'));if(_replyToMessage)w.object(v.replyToMessage);w.int(h(v,'qts'));},
374
+ 'updateBotDeleteBusinessMessage':function(w,v){w.uint(2687146030);w.string(h(v,'connectionId'));w.object(h(v,'peer'));w.vector(w.int,h(v,'messages'));w.int(h(v,'qts'));},
375
+ 'updateNewStoryReaction':function(w,v){w.uint(405070859);w.int(h(v,'storyId'));w.object(h(v,'peer'));w.object(h(v,'reaction'));},
376
+ 'updateBroadcastRevenueTransactions':function(w,v){w.uint(3755565557);w.object(h(v,'peer'));w.object(h(v,'balances'));},
377
+ 'updateStarsBalance':function(w,v){w.uint(263737752);w.long(h(v,'balance'));},
378
+ 'updateBusinessBotCallbackQuery':function(w,v){w.uint(513998247);var flags=0;var _data=v.data!==undefined;if(_data)flags|=1;var _replyToMessage=v.replyToMessage!==undefined;if(_replyToMessage)flags|=4;w.uint(flags);w.long(h(v,'queryId'));w.int53(h(v,'userId'));w.string(h(v,'connectionId'));w.object(h(v,'message'));if(_replyToMessage)w.object(v.replyToMessage);w.long(h(v,'chatInstance'));if(_data)w.bytes(v.data);},
379
+ 'updateStarsRevenueStatus':function(w,v){w.uint(2776936473);w.object(h(v,'peer'));w.object(h(v,'status'));},
380
+ 'updateBotPurchasedPaidMedia':function(w,v){w.uint(675009298);w.int53(h(v,'userId'));w.string(h(v,'payload'));w.int(h(v,'qts'));},
381
+ 'updatePaidReactionPrivacy':function(w,v){w.uint(1372224236);w.boolean(h(v,'private'));},
344
382
  'updates.state':function(w,v){w.uint(2775329342);w.int(h(v,'pts'));w.int(h(v,'qts'));w.int(h(v,'date'));w.int(h(v,'seq'));w.int(h(v,'unreadCount'));},
345
383
  'updates.differenceEmpty':function(w,v){w.uint(1567990072);w.int(h(v,'date'));w.int(h(v,'seq'));},
346
384
  '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'));},
@@ -421,6 +459,8 @@ var m={
421
459
  'inputPrivacyKeyAddedByPhone':function(w){w.uint(3508640733);},
422
460
  'inputPrivacyKeyVoiceMessages':function(w){w.uint(2934349160);},
423
461
  'inputPrivacyKeyAbout':function(w){w.uint(941870144);},
462
+ 'inputPrivacyKeyBirthday':function(w){w.uint(3596227020);},
463
+ 'inputPrivacyKeyStarGiftsAutoSave':function(w){w.uint(3782419265);},
424
464
  'privacyKeyStatusTimestamp':function(w){w.uint(3157175088);},
425
465
  'privacyKeyChatInvite':function(w){w.uint(1343122938);},
426
466
  'privacyKeyPhoneCall':function(w){w.uint(1030105979);},
@@ -431,6 +471,8 @@ var m={
431
471
  'privacyKeyAddedByPhone':function(w){w.uint(1124062251);},
432
472
  'privacyKeyVoiceMessages':function(w){w.uint(110621716);},
433
473
  'privacyKeyAbout':function(w){w.uint(2760292193);},
474
+ 'privacyKeyBirthday':function(w){w.uint(536913176);},
475
+ 'privacyKeyStarGiftsAutoSave':function(w){w.uint(749010424);},
434
476
  'inputPrivacyValueAllowContacts':function(w){w.uint(218751099);},
435
477
  'inputPrivacyValueAllowAll':function(w){w.uint(407582158);},
436
478
  'inputPrivacyValueAllowUsers':function(w,v){w.uint(320652927);w.vector(w.object,h(v,'users'));},
@@ -440,6 +482,9 @@ var m={
440
482
  'inputPrivacyValueAllowChatParticipants':function(w,v){w.uint(2215004623);w.vector(w.int53,h(v,'chats'));},
441
483
  'inputPrivacyValueDisallowChatParticipants':function(w,v){w.uint(3914272646);w.vector(w.int53,h(v,'chats'));},
442
484
  'inputPrivacyValueAllowCloseFriends':function(w){w.uint(793067081);},
485
+ 'inputPrivacyValueAllowPremium':function(w){w.uint(2009975281);},
486
+ 'inputPrivacyValueAllowBots':function(w){w.uint(1515179237);},
487
+ 'inputPrivacyValueDisallowBots':function(w){w.uint(3303373077);},
443
488
  'privacyValueAllowContacts':function(w){w.uint(4294843308);},
444
489
  'privacyValueAllowAll':function(w){w.uint(1698855810);},
445
490
  'privacyValueAllowUsers':function(w,v){w.uint(3096469426);w.vector(w.int53,h(v,'users'));},
@@ -449,12 +494,15 @@ var m={
449
494
  'privacyValueAllowChatParticipants':function(w,v){w.uint(1796427406);w.vector(w.int53,h(v,'chats'));},
450
495
  'privacyValueDisallowChatParticipants':function(w,v){w.uint(1103656293);w.vector(w.int53,h(v,'chats'));},
451
496
  'privacyValueAllowCloseFriends':function(w){w.uint(4159232155);},
497
+ 'privacyValueAllowPremium':function(w){w.uint(3974725963);},
498
+ 'privacyValueAllowBots':function(w){w.uint(558242653);},
499
+ 'privacyValueDisallowBots':function(w){w.uint(4138072111);},
452
500
  'account.privacyRules':function(w,v){w.uint(1352683077);w.vector(w.object,h(v,'rules'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
453
501
  'accountDaysTTL':function(w,v){w.uint(3100684255);w.int(h(v,'days'));},
454
502
  'documentAttributeImageSize':function(w,v){w.uint(1815593308);w.int(h(v,'w'));w.int(h(v,'h'));},
455
503
  'documentAttributeAnimated':function(w){w.uint(297109817);},
456
504
  'documentAttributeSticker':function(w,v){w.uint(1662637586);var flags=0;var _maskCoords=v.maskCoords!==undefined;if(_maskCoords)flags|=1;if(v.mask===true)flags|=2;w.uint(flags);w.string(h(v,'alt'));w.object(h(v,'stickerset'));if(_maskCoords)w.object(v.maskCoords);},
457
- 'documentAttributeVideo':function(w,v){w.uint(3549426114);var flags=0;if(v.roundMessage===true)flags|=1;if(v.supportsStreaming===true)flags|=2;var _preloadPrefixSize=v.preloadPrefixSize!==undefined;if(_preloadPrefixSize)flags|=4;if(v.nosound===true)flags|=8;w.uint(flags);w.double(h(v,'duration'));w.int(h(v,'w'));w.int(h(v,'h'));if(_preloadPrefixSize)w.int(v.preloadPrefixSize);},
505
+ 'documentAttributeVideo':function(w,v){w.uint(1137015880);var flags=0;if(v.roundMessage===true)flags|=1;if(v.supportsStreaming===true)flags|=2;var _preloadPrefixSize=v.preloadPrefixSize!==undefined;if(_preloadPrefixSize)flags|=4;if(v.nosound===true)flags|=8;var _videoStartTs=v.videoStartTs!==undefined;if(_videoStartTs)flags|=16;var _videoCodec=v.videoCodec!==undefined;if(_videoCodec)flags|=32;w.uint(flags);w.double(h(v,'duration'));w.int(h(v,'w'));w.int(h(v,'h'));if(_preloadPrefixSize)w.int(v.preloadPrefixSize);if(_videoStartTs)w.double(v.videoStartTs);if(_videoCodec)w.string(v.videoCodec);},
458
506
  'documentAttributeAudio':function(w,v){w.uint(2555574726);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _performer=v.performer!==undefined;if(_performer)flags|=2;var _waveform=v.waveform!==undefined;if(_waveform)flags|=4;if(v.voice===true)flags|=1024;w.uint(flags);w.int(h(v,'duration'));if(_title)w.string(v.title);if(_performer)w.string(v.performer);if(_waveform)w.bytes(v.waveform);},
459
507
  'documentAttributeFilename':function(w,v){w.uint(358154344);w.string(h(v,'fileName'));},
460
508
  'documentAttributeHasStickers':function(w){w.uint(2550256375);},
@@ -476,10 +524,10 @@ var m={
476
524
  'account.passwordInputSettings':function(w,v){w.uint(3258394569);var flags=0;var _newAlgo=v.newAlgo!==undefined;var _newPasswordHash=v.newPasswordHash!==undefined;var _hint=v.hint!==undefined;var _flags_0=_newAlgo||_newPasswordHash||_hint;if(_flags_0)flags|=1;var _email=v.email!==undefined;if(_email)flags|=2;var _newSecureSettings=v.newSecureSettings!==undefined;if(_newSecureSettings)flags|=4;w.uint(flags);if(_flags_0)w.object(v.newAlgo);if(_flags_0)w.bytes(v.newPasswordHash);if(_flags_0)w.string(v.hint);if(_email)w.string(v.email);if(_newSecureSettings)w.object(v.newSecureSettings);},
477
525
  'auth.passwordRecovery':function(w,v){w.uint(326715557);w.string(h(v,'emailPattern'));},
478
526
  'receivedNotifyMessage':function(w,v){w.uint(2743383929);w.int(h(v,'id'));w.int(h(v,'flags'));},
479
- 'chatInviteExported':function(w,v){w.uint(179611673);var flags=0;if(v.revoked===true)flags|=1;var _expireDate=v.expireDate!==undefined;if(_expireDate)flags|=2;var _usageLimit=v.usageLimit!==undefined;if(_usageLimit)flags|=4;var _usage=v.usage!==undefined;if(_usage)flags|=8;var _startDate=v.startDate!==undefined;if(_startDate)flags|=16;if(v.permanent===true)flags|=32;if(v.requestNeeded===true)flags|=64;var _requested=v.requested!==undefined;if(_requested)flags|=128;var _title=v.title!==undefined;if(_title)flags|=256;w.uint(flags);w.string(h(v,'link'));w.int53(h(v,'adminId'));w.int(h(v,'date'));if(_startDate)w.int(v.startDate);if(_expireDate)w.int(v.expireDate);if(_usageLimit)w.int(v.usageLimit);if(_usage)w.int(v.usage);if(_requested)w.int(v.requested);if(_title)w.string(v.title);},
527
+ 'chatInviteExported':function(w,v){w.uint(2720841110);var flags=0;if(v.revoked===true)flags|=1;var _expireDate=v.expireDate!==undefined;if(_expireDate)flags|=2;var _usageLimit=v.usageLimit!==undefined;if(_usageLimit)flags|=4;var _usage=v.usage!==undefined;if(_usage)flags|=8;var _startDate=v.startDate!==undefined;if(_startDate)flags|=16;if(v.permanent===true)flags|=32;if(v.requestNeeded===true)flags|=64;var _requested=v.requested!==undefined;if(_requested)flags|=128;var _title=v.title!==undefined;if(_title)flags|=256;var _subscriptionPricing=v.subscriptionPricing!==undefined;if(_subscriptionPricing)flags|=512;var _subscriptionExpired=v.subscriptionExpired!==undefined;if(_subscriptionExpired)flags|=1024;w.uint(flags);w.string(h(v,'link'));w.int53(h(v,'adminId'));w.int(h(v,'date'));if(_startDate)w.int(v.startDate);if(_expireDate)w.int(v.expireDate);if(_usageLimit)w.int(v.usageLimit);if(_usage)w.int(v.usage);if(_requested)w.int(v.requested);if(_subscriptionExpired)w.int(v.subscriptionExpired);if(_title)w.string(v.title);if(_subscriptionPricing)w.object(v.subscriptionPricing);},
480
528
  'chatInvitePublicJoinRequests':function(w){w.uint(3977280183);},
481
529
  'chatInviteAlready':function(w,v){w.uint(1516793212);w.object(h(v,'chat'));},
482
- 'chatInvite':function(w,v){w.uint(3454069824);var flags=0;if(v.channel===true)flags|=1;if(v.broadcast===true)flags|=2;if(v.public===true)flags|=4;if(v.megagroup===true)flags|=8;var _participants=v.participants&&v.participants.length;if(_participants)flags|=16;var _about=v.about!==undefined;if(_about)flags|=32;if(v.requestNeeded===true)flags|=64;if(v.verified===true)flags|=128;if(v.scam===true)flags|=256;if(v.fake===true)flags|=512;w.uint(flags);w.string(h(v,'title'));if(_about)w.string(v.about);w.object(h(v,'photo'));w.int(h(v,'participantsCount'));if(_participants)w.vector(w.object,v.participants);w.int(h(v,'color'));},
530
+ 'chatInvite':function(w,v){w.uint(4268046493);var flags=0;if(v.channel===true)flags|=1;if(v.broadcast===true)flags|=2;if(v.public===true)flags|=4;if(v.megagroup===true)flags|=8;var _participants=v.participants&&v.participants.length;if(_participants)flags|=16;var _about=v.about!==undefined;if(_about)flags|=32;if(v.requestNeeded===true)flags|=64;if(v.verified===true)flags|=128;if(v.scam===true)flags|=256;if(v.fake===true)flags|=512;var _subscriptionPricing=v.subscriptionPricing!==undefined;if(_subscriptionPricing)flags|=1024;if(v.canRefulfillSubscription===true)flags|=2048;var _subscriptionFormId=v.subscriptionFormId!==undefined;if(_subscriptionFormId)flags|=4096;w.uint(flags);w.string(h(v,'title'));if(_about)w.string(v.about);w.object(h(v,'photo'));w.int(h(v,'participantsCount'));if(_participants)w.vector(w.object,v.participants);w.int(h(v,'color'));if(_subscriptionPricing)w.object(v.subscriptionPricing);if(_subscriptionFormId)w.long(v.subscriptionFormId);},
483
531
  'chatInvitePeek':function(w,v){w.uint(1634294960);w.object(h(v,'chat'));w.int(h(v,'expires'));},
484
532
  'inputStickerSetEmpty':function(w){w.uint(4290128789);},
485
533
  'inputStickerSetID':function(w,v){w.uint(2649203305);w.long(h(v,'id'));w.long(h(v,'accessHash'));},
@@ -491,11 +539,12 @@ var m={
491
539
  'inputStickerSetEmojiGenericAnimations':function(w){w.uint(80008398);},
492
540
  'inputStickerSetEmojiDefaultStatuses':function(w){w.uint(701560302);},
493
541
  'inputStickerSetEmojiDefaultTopicIcons':function(w){w.uint(1153562857);},
494
- '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;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'));},
542
+ 'inputStickerSetEmojiChannelDefaultStatuses':function(w){w.uint(1232373075);},
543
+ '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.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;if(v.creator===true)flags|=2048;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'));},
495
544
  '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'));},
496
545
  'messages.stickerSetNotModified':function(w){w.uint(3556320491);},
497
546
  'botCommand':function(w,v){w.uint(3262826695);w.string(h(v,'command'));w.string(h(v,'description'));},
498
- 'botInfo':function(w,v){w.uint(2402290519);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;var _description=v.description!==undefined;if(_description)flags|=2;var _commands=v.commands&&v.commands.length;if(_commands)flags|=4;var _menuButton=v.menuButton!==undefined;if(_menuButton)flags|=8;var _descriptionPhoto=v.descriptionPhoto!==undefined;if(_descriptionPhoto)flags|=16;var _descriptionDocument=v.descriptionDocument!==undefined;if(_descriptionDocument)flags|=32;w.uint(flags);if(_userId)w.int53(v.userId);if(_description)w.string(v.description);if(_descriptionPhoto)w.object(v.descriptionPhoto);if(_descriptionDocument)w.object(v.descriptionDocument);if(_commands)w.vector(w.object,v.commands);if(_menuButton)w.object(v.menuButton);},
547
+ 'botInfo':function(w,v){w.uint(912290611);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;var _description=v.description!==undefined;if(_description)flags|=2;var _commands=v.commands&&v.commands.length;if(_commands)flags|=4;var _menuButton=v.menuButton!==undefined;if(_menuButton)flags|=8;var _descriptionPhoto=v.descriptionPhoto!==undefined;if(_descriptionPhoto)flags|=16;var _descriptionDocument=v.descriptionDocument!==undefined;if(_descriptionDocument)flags|=32;if(v.hasPreviewMedias===true)flags|=64;var _privacyPolicyUrl=v.privacyPolicyUrl!==undefined;if(_privacyPolicyUrl)flags|=128;var _appSettings=v.appSettings!==undefined;if(_appSettings)flags|=256;w.uint(flags);if(_userId)w.int53(v.userId);if(_description)w.string(v.description);if(_descriptionPhoto)w.object(v.descriptionPhoto);if(_descriptionDocument)w.object(v.descriptionDocument);if(_commands)w.vector(w.object,v.commands);if(_menuButton)w.object(v.menuButton);if(_privacyPolicyUrl)w.string(v.privacyPolicyUrl);if(_appSettings)w.object(v.appSettings);},
499
548
  'keyboardButton':function(w,v){w.uint(2734311552);w.string(h(v,'text'));},
500
549
  'keyboardButtonUrl':function(w,v){w.uint(629866245);w.string(h(v,'text'));w.string(h(v,'url'));},
501
550
  'keyboardButtonCallback':function(w,v){w.uint(901503851);var flags=0;if(v.requiresPassword===true)flags|=1;w.uint(flags);w.string(h(v,'text'));w.bytes(h(v,'data'));},
@@ -511,7 +560,9 @@ var m={
511
560
  'keyboardButtonUserProfile':function(w,v){w.uint(814112961);w.string(h(v,'text'));w.int53(h(v,'userId'));},
512
561
  'keyboardButtonWebView':function(w,v){w.uint(326529584);w.string(h(v,'text'));w.string(h(v,'url'));},
513
562
  'keyboardButtonSimpleWebView':function(w,v){w.uint(2696958044);w.string(h(v,'text'));w.string(h(v,'url'));},
514
- 'keyboardButtonRequestPeer':function(w,v){w.uint(218842764);w.string(h(v,'text'));w.int(h(v,'buttonId'));w.object(h(v,'peerType'));},
563
+ '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'));},
564
+ 'inputKeyboardButtonRequestPeer':function(w,v){w.uint(3378916613);var flags=0;if(v.nameRequested===true)flags|=1;if(v.usernameRequested===true)flags|=2;if(v.photoRequested===true)flags|=4;w.uint(flags);w.string(h(v,'text'));w.int(h(v,'buttonId'));w.object(h(v,'peerType'));w.int(h(v,'maxQuantity'));},
565
+ 'keyboardButtonCopy':function(w,v){w.uint(1976723854);w.string(h(v,'text'));w.string(h(v,'copyText'));},
515
566
  'keyboardButtonRow':function(w,v){w.uint(2002815875);w.vector(w.object,h(v,'buttons'));},
516
567
  'replyKeyboardHide':function(w,v){w.uint(2688441221);var flags=0;if(v.selective===true)flags|=4;w.uint(flags);},
517
568
  '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);},
@@ -534,10 +585,10 @@ var m={
534
585
  'messageEntityCashtag':function(w,v){w.uint(1280209983);w.int(h(v,'offset'));w.int(h(v,'length'));},
535
586
  'messageEntityUnderline':function(w,v){w.uint(2622389899);w.int(h(v,'offset'));w.int(h(v,'length'));},
536
587
  'messageEntityStrike':function(w,v){w.uint(3204879316);w.int(h(v,'offset'));w.int(h(v,'length'));},
537
- 'messageEntityBlockquote':function(w,v){w.uint(34469328);w.int(h(v,'offset'));w.int(h(v,'length'));},
538
588
  'messageEntityBankCard':function(w,v){w.uint(1981704948);w.int(h(v,'offset'));w.int(h(v,'length'));},
539
589
  'messageEntitySpoiler':function(w,v){w.uint(852137487);w.int(h(v,'offset'));w.int(h(v,'length'));},
540
590
  'messageEntityCustomEmoji':function(w,v){w.uint(3369010680);w.int(h(v,'offset'));w.int(h(v,'length'));w.long(h(v,'documentId'));},
591
+ 'messageEntityBlockquote':function(w,v){w.uint(4056722092);var flags=0;if(v.collapsed===true)flags|=1;w.uint(flags);w.int(h(v,'offset'));w.int(h(v,'length'));},
541
592
  'inputChannelEmpty':function(w){w.uint(4002160262);},
542
593
  'inputChannel':function(w,v){w.uint(4082822184);w.int53(h(v,'channelId'));w.long(h(v,'accessHash'));},
543
594
  'inputChannelFromMessage':function(w,v){w.uint(1536380829);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int53(h(v,'channelId'));},
@@ -548,8 +599,8 @@ var m={
548
599
  'updates.channelDifference':function(w,v){w.uint(543450958);var flags=0;if(v.final===true)flags|=1;var _timeout=v.timeout!==undefined;if(_timeout)flags|=2;w.uint(flags);w.int(h(v,'pts'));if(_timeout)w.int(v.timeout);w.vector(w.object,h(v,'newMessages'));w.vector(w.object,h(v,'otherUpdates'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
549
600
  'channelMessagesFilterEmpty':function(w){w.uint(2496933607);},
550
601
  'channelMessagesFilter':function(w,v){w.uint(3447183703);var flags=0;if(v.excludeNewMessages===true)flags|=2;w.uint(flags);w.vector(w.object,h(v,'ranges'));},
551
- 'channelParticipant':function(w,v){w.uint(3222013888);w.int53(h(v,'userId'));w.int(h(v,'date'));},
552
- 'channelParticipantSelf':function(w,v){w.uint(900251559);var flags=0;if(v.viaRequest===true)flags|=1;w.uint(flags);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));},
602
+ 'channelParticipant':function(w,v){w.uint(3409540633);var flags=0;var _subscriptionUntilDate=v.subscriptionUntilDate!==undefined;if(_subscriptionUntilDate)flags|=1;w.uint(flags);w.int53(h(v,'userId'));w.int(h(v,'date'));if(_subscriptionUntilDate)w.int(v.subscriptionUntilDate);},
603
+ 'channelParticipantSelf':function(w,v){w.uint(1331723247);var flags=0;if(v.viaRequest===true)flags|=1;var _subscriptionUntilDate=v.subscriptionUntilDate!==undefined;if(_subscriptionUntilDate)flags|=2;w.uint(flags);w.int53(h(v,'userId'));w.int53(h(v,'inviterId'));w.int(h(v,'date'));if(_subscriptionUntilDate)w.int(v.subscriptionUntilDate);},
553
604
  'channelParticipantCreator':function(w,v){w.uint(803602899);var flags=0;var _rank=v.rank!==undefined;if(_rank)flags|=1;w.uint(flags);w.int53(h(v,'userId'));w.object(h(v,'adminRights'));if(_rank)w.string(v.rank);},
554
605
  'channelParticipantAdmin':function(w,v){w.uint(885242707);var flags=0;if(v.canEdit===true)flags|=1;var _inviterId=v.inviterId!==undefined;var _flags_1=v.self===true||_inviterId;if(_flags_1)flags|=2;var _rank=v.rank!==undefined;if(_rank)flags|=4;w.uint(flags);w.int53(h(v,'userId'));if(_flags_1)w.int53(v.inviterId);w.int53(h(v,'promotedBy'));w.int(h(v,'date'));w.object(h(v,'adminRights'));if(_rank)w.string(v.rank);},
555
606
  'channelParticipantBanned':function(w,v){w.uint(1844969806);var flags=0;if(v.left===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int53(h(v,'kickedBy'));w.int(h(v,'date'));w.object(h(v,'bannedRights'));},
@@ -575,6 +626,7 @@ var m={
575
626
  'inputBotInlineMessageMediaContact':function(w,v){w.uint(2800599037);var flags=0;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'firstName'));w.string(h(v,'lastName'));w.string(h(v,'vcard'));if(_replyMarkup)w.object(v.replyMarkup);},
576
627
  'inputBotInlineMessageGame':function(w,v){w.uint(1262639204);var flags=0;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);if(_replyMarkup)w.object(v.replyMarkup);},
577
628
  'inputBotInlineMessageMediaInvoice':function(w,v){w.uint(3622273573);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.bytes(h(v,'payload'));w.string(h(v,'provider'));w.object(h(v,'providerData'));if(_replyMarkup)w.object(v.replyMarkup);},
629
+ 'inputBotInlineMessageMediaWebPage':function(w,v){w.uint(3185362192);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.invertMedia===true)flags|=8;if(v.forceLargeMedia===true)flags|=16;if(v.forceSmallMedia===true)flags|=32;if(v.optional===true)flags|=64;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.string(h(v,'url'));if(_replyMarkup)w.object(v.replyMarkup);},
578
630
  'inputBotInlineResult':function(w,v){w.uint(2294256409);var flags=0;var _title=v.title!==undefined;if(_title)flags|=2;var _description=v.description!==undefined;if(_description)flags|=4;var _url=v.url!==undefined;if(_url)flags|=8;var _thumb=v.thumb!==undefined;if(_thumb)flags|=16;var _content=v.content!==undefined;if(_content)flags|=32;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_url)w.string(v.url);if(_thumb)w.object(v.thumb);if(_content)w.object(v.content);w.object(h(v,'sendMessage'));},
579
631
  'inputBotInlineResultPhoto':function(w,v){w.uint(2832753831);w.string(h(v,'id'));w.string(h(v,'type'));w.object(h(v,'photo'));w.object(h(v,'sendMessage'));},
580
632
  'inputBotInlineResultDocument':function(w,v){w.uint(4294507972);var flags=0;var _title=v.title!==undefined;if(_title)flags|=2;var _description=v.description!==undefined;if(_description)flags|=4;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_title)w.string(v.title);if(_description)w.string(v.description);w.object(h(v,'document'));w.object(h(v,'sendMessage'));},
@@ -585,11 +637,12 @@ var m={
585
637
  'botInlineMessageMediaVenue':function(w,v){w.uint(2324063644);var flags=0;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);w.object(h(v,'geo'));w.string(h(v,'title'));w.string(h(v,'address'));w.string(h(v,'provider'));w.string(h(v,'venueId'));w.string(h(v,'venueType'));if(_replyMarkup)w.object(v.replyMarkup);},
586
638
  'botInlineMessageMediaContact':function(w,v){w.uint(416402882);var flags=0;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'firstName'));w.string(h(v,'lastName'));w.string(h(v,'vcard'));if(_replyMarkup)w.object(v.replyMarkup);},
587
639
  'botInlineMessageMediaInvoice':function(w,v){w.uint(894081801);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;if(v.shippingAddressRequested===true)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.test===true)flags|=8;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));if(_replyMarkup)w.object(v.replyMarkup);},
640
+ 'botInlineMessageMediaWebPage':function(w,v){w.uint(2157631910);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.invertMedia===true)flags|=8;if(v.forceLargeMedia===true)flags|=16;if(v.forceSmallMedia===true)flags|=32;if(v.manual===true)flags|=128;if(v.safe===true)flags|=256;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.string(h(v,'url'));if(_replyMarkup)w.object(v.replyMarkup);},
588
641
  'botInlineResult':function(w,v){w.uint(295067450);var flags=0;var _title=v.title!==undefined;if(_title)flags|=2;var _description=v.description!==undefined;if(_description)flags|=4;var _url=v.url!==undefined;if(_url)flags|=8;var _thumb=v.thumb!==undefined;if(_thumb)flags|=16;var _content=v.content!==undefined;if(_content)flags|=32;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_url)w.string(v.url);if(_thumb)w.object(v.thumb);if(_content)w.object(v.content);w.object(h(v,'sendMessage'));},
589
642
  'botInlineMediaResult':function(w,v){w.uint(400266251);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;var _document=v.document!==undefined;if(_document)flags|=2;var _title=v.title!==undefined;if(_title)flags|=4;var _description=v.description!==undefined;if(_description)flags|=8;w.uint(flags);w.string(h(v,'id'));w.string(h(v,'type'));if(_photo)w.object(v.photo);if(_document)w.object(v.document);if(_title)w.string(v.title);if(_description)w.string(v.description);w.object(h(v,'sendMessage'));},
590
643
  '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'));},
591
644
  'exportedMessageLink':function(w,v){w.uint(1571494644);w.string(h(v,'link'));w.string(h(v,'html'));},
592
- 'messageFwdHeader':function(w,v){w.uint(1601666510);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;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(_psaType)w.string(v.psaType);},
645
+ '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);},
593
646
  'auth.codeTypeSms':function(w){w.uint(1923290508);},
594
647
  'auth.codeTypeCall':function(w){w.uint(1948046307);},
595
648
  'auth.codeTypeFlashCall':function(w){w.uint(577556219);},
@@ -603,7 +656,9 @@ var m={
603
656
  'auth.sentCodeTypeEmailCode':function(w,v){w.uint(4098946459);var flags=0;if(v.appleSigninAllowed===true)flags|=1;if(v.googleSigninAllowed===true)flags|=2;var _resetAvailablePeriod=v.resetAvailablePeriod!==undefined;if(_resetAvailablePeriod)flags|=8;var _resetPendingDate=v.resetPendingDate!==undefined;if(_resetPendingDate)flags|=16;w.uint(flags);w.string(h(v,'emailPattern'));w.int(h(v,'length'));if(_resetAvailablePeriod)w.int(v.resetAvailablePeriod);if(_resetPendingDate)w.int(v.resetPendingDate);},
604
657
  'auth.sentCodeTypeSetUpEmailRequired':function(w,v){w.uint(2773032426);var flags=0;if(v.appleSigninAllowed===true)flags|=1;if(v.googleSigninAllowed===true)flags|=2;w.uint(flags);},
605
658
  'auth.sentCodeTypeFragmentSms':function(w,v){w.uint(3646315577);w.string(h(v,'url'));w.int(h(v,'length'));},
606
- 'auth.sentCodeTypeFirebaseSms':function(w,v){w.uint(3850048562);var flags=0;var _nonce=v.nonce!==undefined;if(_nonce)flags|=1;var _receipt=v.receipt!==undefined;var _pushTimeout=v.pushTimeout!==undefined;var _flags_1=_receipt||_pushTimeout;if(_flags_1)flags|=2;w.uint(flags);if(_nonce)w.bytes(v.nonce);if(_flags_1)w.string(v.receipt);if(_flags_1)w.int(v.pushTimeout);w.int(h(v,'length'));},
659
+ 'auth.sentCodeTypeFirebaseSms':function(w,v){w.uint(10475318);var flags=0;var _nonce=v.nonce!==undefined;if(_nonce)flags|=1;var _receipt=v.receipt!==undefined;var _pushTimeout=v.pushTimeout!==undefined;var _flags_1=_receipt||_pushTimeout;if(_flags_1)flags|=2;var _playIntegrityProjectId=v.playIntegrityProjectId!==undefined;var _playIntegrityNonce=v.playIntegrityNonce!==undefined;var _flags_2=_playIntegrityProjectId||_playIntegrityNonce;if(_flags_2)flags|=4;w.uint(flags);if(_nonce)w.bytes(v.nonce);if(_flags_2)w.long(v.playIntegrityProjectId);if(_flags_2)w.bytes(v.playIntegrityNonce);if(_flags_1)w.string(v.receipt);if(_flags_1)w.int(v.pushTimeout);w.int(h(v,'length'));},
660
+ 'auth.sentCodeTypeSmsWord':function(w,v){w.uint(2752949377);var flags=0;var _beginning=v.beginning!==undefined;if(_beginning)flags|=1;w.uint(flags);if(_beginning)w.string(v.beginning);},
661
+ 'auth.sentCodeTypeSmsPhrase':function(w,v){w.uint(3010958511);var flags=0;var _beginning=v.beginning!==undefined;if(_beginning)flags|=1;w.uint(flags);if(_beginning)w.string(v.beginning);},
607
662
  'messages.botCallbackAnswer':function(w,v){w.uint(911761060);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;if(v.alert===true)flags|=2;var _url=v.url!==undefined;if(_url)flags|=4;if(v.hasUrl===true)flags|=8;if(v.nativeUi===true)flags|=16;w.uint(flags);if(_message)w.string(v.message);if(_url)w.string(v.url);w.int(h(v,'cacheTime'));},
608
663
  'messages.messageEditData':function(w,v){w.uint(649453030);var flags=0;if(v.caption===true)flags|=1;w.uint(flags);},
609
664
  'inputBotInlineMessageID':function(w,v){w.uint(2299280777);w.int(h(v,'dcId'));w.long(h(v,'id'));w.long(h(v,'accessHash'));},
@@ -619,12 +674,13 @@ var m={
619
674
  'topPeerCategoryPhoneCalls':function(w){w.uint(511092620);},
620
675
  'topPeerCategoryForwardUsers':function(w){w.uint(2822794409);},
621
676
  'topPeerCategoryForwardChats':function(w){w.uint(4226728176);},
677
+ 'topPeerCategoryBotsApp':function(w){w.uint(4255022060);},
622
678
  'topPeerCategoryPeers':function(w,v){w.uint(4219683473);w.object(h(v,'category'));w.int(h(v,'count'));w.vector(w.object,h(v,'peers'));},
623
679
  'contacts.topPeersNotModified':function(w){w.uint(3727060725);},
624
680
  'contacts.topPeers':function(w,v){w.uint(1891070632);w.vector(w.object,h(v,'categories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
625
681
  'contacts.topPeersDisabled':function(w){w.uint(3039597469);},
626
682
  'draftMessageEmpty':function(w,v){w.uint(453805082);var flags=0;var _date=v.date!==undefined;if(_date)flags|=1;w.uint(flags);if(_date)w.int(v.date);},
627
- 'draftMessage':function(w,v){w.uint(1070397423);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);w.int(h(v,'date'));},
683
+ 'draftMessage':function(w,v){w.uint(761606687);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;var _effect=v.effect!==undefined;if(_effect)flags|=128;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);w.int(h(v,'date'));if(_effect)w.long(v.effect);},
628
684
  'messages.featuredStickersNotModified':function(w,v){w.uint(3336309862);w.int(h(v,'count'));},
629
685
  'messages.featuredStickers':function(w,v){w.uint(3191351558);var flags=0;if(v.premium===true)flags|=1;w.uint(flags);w.long(h(v,'hash'));w.int(h(v,'count'));w.vector(w.object,h(v,'sets'));w.vector(w.long,h(v,'unread'));},
630
686
  'messages.recentStickersNotModified':function(w){w.uint(186120336);},
@@ -695,7 +751,7 @@ var m={
695
751
  'phoneCallDiscardReasonBusy':function(w){w.uint(4210550985);},
696
752
  'dataJSON':function(w,v){w.uint(2104790276);w.string(h(v,'data'));},
697
753
  'labeledPrice':function(w,v){w.uint(3408489464);w.string(h(v,'label'));w.long(h(v,'amount'));},
698
- 'invoice':function(w,v){w.uint(1572428309);var flags=0;if(v.test===true)flags|=1;if(v.nameRequested===true)flags|=2;if(v.phoneRequested===true)flags|=4;if(v.emailRequested===true)flags|=8;if(v.shippingAddressRequested===true)flags|=16;if(v.flexible===true)flags|=32;if(v.phoneToProvider===true)flags|=64;if(v.emailToProvider===true)flags|=128;var _maxTipAmount=v.maxTipAmount!==undefined;var _suggestedTipAmounts=v.suggestedTipAmounts&&v.suggestedTipAmounts.length;var _flags_8=_maxTipAmount||_suggestedTipAmounts;if(_flags_8)flags|=256;if(v.recurring===true)flags|=512;var _termsUrl=v.termsUrl!==undefined;if(_termsUrl)flags|=1024;w.uint(flags);w.string(h(v,'currency'));w.vector(w.object,h(v,'prices'));if(_flags_8)w.long(v.maxTipAmount);if(_flags_8)w.vector(w.long,v.suggestedTipAmounts);if(_termsUrl)w.string(v.termsUrl);},
754
+ 'invoice':function(w,v){w.uint(77522308);var flags=0;if(v.test===true)flags|=1;if(v.nameRequested===true)flags|=2;if(v.phoneRequested===true)flags|=4;if(v.emailRequested===true)flags|=8;if(v.shippingAddressRequested===true)flags|=16;if(v.flexible===true)flags|=32;if(v.phoneToProvider===true)flags|=64;if(v.emailToProvider===true)flags|=128;var _maxTipAmount=v.maxTipAmount!==undefined;var _suggestedTipAmounts=v.suggestedTipAmounts&&v.suggestedTipAmounts.length;var _flags_8=_maxTipAmount||_suggestedTipAmounts;if(_flags_8)flags|=256;if(v.recurring===true)flags|=512;var _termsUrl=v.termsUrl!==undefined;if(_termsUrl)flags|=1024;var _subscriptionPeriod=v.subscriptionPeriod!==undefined;if(_subscriptionPeriod)flags|=2048;w.uint(flags);w.string(h(v,'currency'));w.vector(w.object,h(v,'prices'));if(_flags_8)w.long(v.maxTipAmount);if(_flags_8)w.vector(w.long,v.suggestedTipAmounts);if(_termsUrl)w.string(v.termsUrl);if(_subscriptionPeriod)w.int(v.subscriptionPeriod);},
699
755
  'paymentCharge':function(w,v){w.uint(3926049406);w.string(h(v,'id'));w.string(h(v,'providerChargeId'));},
700
756
  'postAddress':function(w,v){w.uint(512535275);w.string(h(v,'streetLine1'));w.string(h(v,'streetLine2'));w.string(h(v,'city'));w.string(h(v,'state'));w.string(h(v,'countryIso2'));w.string(h(v,'postCode'));},
701
757
  'paymentRequestedInfo':function(w,v){w.uint(2426158996);var flags=0;var _name=v.name!==undefined;if(_name)flags|=1;var _phone=v.phone!==undefined;if(_phone)flags|=2;var _email=v.email!==undefined;if(_email)flags|=4;var _shippingAddress=v.shippingAddress!==undefined;if(_shippingAddress)flags|=8;w.uint(flags);if(_name)w.string(v.name);if(_phone)w.string(v.phone);if(_email)w.string(v.email);if(_shippingAddress)w.object(v.shippingAddress);},
@@ -708,10 +764,13 @@ var m={
708
764
  'inputWebFileAudioAlbumThumbLocation':function(w,v){w.uint(4100974884);var flags=0;var _document=v.document!==undefined;if(_document)flags|=1;var _title=v.title!==undefined;var _performer=v.performer!==undefined;var _flags_1=_title||_performer;if(_flags_1)flags|=2;if(v.small===true)flags|=4;w.uint(flags);if(_document)w.object(v.document);if(_flags_1)w.string(v.title);if(_flags_1)w.string(v.performer);},
709
765
  'upload.webFile':function(w,v){w.uint(568808380);w.int(h(v,'size'));w.string(h(v,'mimeType'));w.object(h(v,'fileType'));w.int(h(v,'mtime'));w.bytes(h(v,'bytes'));},
710
766
  'payments.paymentForm':function(w,v){w.uint(2684716881);var flags=0;var _savedInfo=v.savedInfo!==undefined;if(_savedInfo)flags|=1;var _savedCredentials=v.savedCredentials&&v.savedCredentials.length;if(_savedCredentials)flags|=2;if(v.canSaveCredentials===true)flags|=4;if(v.passwordMissing===true)flags|=8;var _nativeProvider=v.nativeProvider!==undefined;var _nativeParams=v.nativeParams!==undefined;var _flags_4=_nativeProvider||_nativeParams;if(_flags_4)flags|=16;var _photo=v.photo!==undefined;if(_photo)flags|=32;var _additionalMethods=v.additionalMethods&&v.additionalMethods.length;if(_additionalMethods)flags|=64;w.uint(flags);w.long(h(v,'formId'));w.int53(h(v,'botId'));w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.long(h(v,'providerId'));w.string(h(v,'url'));if(_flags_4)w.string(v.nativeProvider);if(_flags_4)w.object(v.nativeParams);if(_additionalMethods)w.vector(w.object,v.additionalMethods);if(_savedInfo)w.object(v.savedInfo);if(_savedCredentials)w.vector(w.object,v.savedCredentials);w.vector(w.object,h(v,'users'));},
767
+ 'payments.paymentFormStars':function(w,v){w.uint(2079764828);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=32;w.uint(flags);w.long(h(v,'formId'));w.int53(h(v,'botId'));w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.vector(w.object,h(v,'users'));},
768
+ 'payments.paymentFormStarGift':function(w,v){w.uint(3022376929);w.long(h(v,'formId'));w.object(h(v,'invoice'));},
711
769
  'payments.validatedRequestedInfo':function(w,v){w.uint(3510966403);var flags=0;var _id=v.id!==undefined;if(_id)flags|=1;var _shippingOptions=v.shippingOptions&&v.shippingOptions.length;if(_shippingOptions)flags|=2;w.uint(flags);if(_id)w.string(v.id);if(_shippingOptions)w.vector(w.object,v.shippingOptions);},
712
770
  'payments.paymentResult':function(w,v){w.uint(1314881805);w.object(h(v,'updates'));},
713
771
  'payments.paymentVerificationNeeded':function(w,v){w.uint(3628142905);w.string(h(v,'url'));},
714
772
  'payments.paymentReceipt':function(w,v){w.uint(1891958275);var flags=0;var _info=v.info!==undefined;if(_info)flags|=1;var _shipping=v.shipping!==undefined;if(_shipping)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;var _tipAmount=v.tipAmount!==undefined;if(_tipAmount)flags|=8;w.uint(flags);w.int(h(v,'date'));w.int53(h(v,'botId'));w.long(h(v,'providerId'));w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));if(_info)w.object(v.info);if(_shipping)w.object(v.shipping);if(_tipAmount)w.long(v.tipAmount);w.string(h(v,'currency'));w.long(h(v,'totalAmount'));w.string(h(v,'credentialsTitle'));w.vector(w.object,h(v,'users'));},
773
+ 'payments.paymentReceiptStars':function(w,v){w.uint(3669751866);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.int(h(v,'date'));w.int53(h(v,'botId'));w.string(h(v,'title'));w.string(h(v,'description'));if(_photo)w.object(v.photo);w.object(h(v,'invoice'));w.string(h(v,'currency'));w.long(h(v,'totalAmount'));w.string(h(v,'transactionId'));w.vector(w.object,h(v,'users'));},
715
774
  'payments.savedInfo':function(w,v){w.uint(4220511292);var flags=0;var _savedInfo=v.savedInfo!==undefined;if(_savedInfo)flags|=1;if(v.hasSavedCredentials===true)flags|=2;w.uint(flags);if(_savedInfo)w.object(v.savedInfo);},
716
775
  'inputPaymentCredentialsSaved':function(w,v){w.uint(3238965967);w.string(h(v,'id'));w.bytes(h(v,'tmpPassword'));},
717
776
  'inputPaymentCredentials':function(w,v){w.uint(873977640);var flags=0;if(v.save===true)flags|=1;w.uint(flags);w.object(h(v,'data'));},
@@ -725,7 +784,7 @@ var m={
725
784
  'phoneCallWaiting':function(w,v){w.uint(3307368215);var flags=0;var _receiveDate=v.receiveDate!==undefined;if(_receiveDate)flags|=1;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.object(h(v,'protocol'));if(_receiveDate)w.int(v.receiveDate);},
726
785
  'phoneCallRequested':function(w,v){w.uint(347139340);var flags=0;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.bytes(h(v,'gAHash'));w.object(h(v,'protocol'));},
727
786
  'phoneCallAccepted':function(w,v){w.uint(912311057);var flags=0;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.bytes(h(v,'gB'));w.object(h(v,'protocol'));},
728
- 'phoneCall':function(w,v){w.uint(2524937319);var flags=0;if(v.p2pAllowed===true)flags|=32;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.bytes(h(v,'gAOrB'));w.long(h(v,'keyFingerprint'));w.object(h(v,'protocol'));w.vector(w.object,h(v,'connections'));w.int(h(v,'startDate'));},
787
+ 'phoneCall':function(w,v){w.uint(810769141);var flags=0;if(v.p2pAllowed===true)flags|=32;if(v.video===true)flags|=64;var _customParameters=v.customParameters!==undefined;if(_customParameters)flags|=128;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'date'));w.int53(h(v,'adminId'));w.int53(h(v,'participantId'));w.bytes(h(v,'gAOrB'));w.long(h(v,'keyFingerprint'));w.object(h(v,'protocol'));w.vector(w.object,h(v,'connections'));w.int(h(v,'startDate'));if(_customParameters)w.object(v.customParameters);},
729
788
  'phoneCallDiscarded':function(w,v){w.uint(1355435489);var flags=0;var _reason=v.reason!==undefined;if(_reason)flags|=1;var _duration=v.duration!==undefined;if(_duration)flags|=2;if(v.needRating===true)flags|=4;if(v.needDebug===true)flags|=8;if(v.video===true)flags|=64;w.uint(flags);w.long(h(v,'id'));if(_reason)w.object(v.reason);if(_duration)w.int(v.duration);},
730
789
  'phoneConnection':function(w,v){w.uint(2629903303);var flags=0;if(v.tcp===true)flags|=1;w.uint(flags);w.long(h(v,'id'));w.string(h(v,'ip'));w.string(h(v,'ipv6'));w.int(h(v,'port'));w.bytes(h(v,'peerTag'));},
731
790
  'phoneConnectionWebrtc':function(w,v){w.uint(1667228533);var flags=0;if(v.turn===true)flags|=1;if(v.stun===true)flags|=2;w.uint(flags);w.long(h(v,'id'));w.string(h(v,'ip'));w.string(h(v,'ipv6'));w.int(h(v,'port'));w.string(h(v,'username'));w.string(h(v,'password'));},
@@ -783,9 +842,16 @@ var m={
783
842
  'channelAdminLogEventActionDeleteTopic':function(w,v){w.uint(2920712457);w.object(h(v,'topic'));},
784
843
  'channelAdminLogEventActionPinTopic':function(w,v){w.uint(1569535291);var flags=0;var _prevTopic=v.prevTopic!==undefined;if(_prevTopic)flags|=1;var _newTopic=v.newTopic!==undefined;if(_newTopic)flags|=2;w.uint(flags);if(_prevTopic)w.object(v.prevTopic);if(_newTopic)w.object(v.newTopic);},
785
844
  'channelAdminLogEventActionToggleAntiSpam':function(w,v){w.uint(1693675004);w.boolean(h(v,'newValue'));},
845
+ 'channelAdminLogEventActionChangePeerColor':function(w,v){w.uint(1469507456);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
846
+ 'channelAdminLogEventActionChangeProfilePeerColor':function(w,v){w.uint(1581742885);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
847
+ 'channelAdminLogEventActionChangeWallpaper':function(w,v){w.uint(834362706);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
848
+ 'channelAdminLogEventActionChangeEmojiStatus':function(w,v){w.uint(1051328177);w.object(h(v,'prevValue'));w.object(h(v,'newValue'));},
849
+ 'channelAdminLogEventActionChangeEmojiStickerSet':function(w,v){w.uint(1188577451);w.object(h(v,'prevStickerset'));w.object(h(v,'newStickerset'));},
850
+ 'channelAdminLogEventActionToggleSignatureProfiles':function(w,v){w.uint(1621597305);w.boolean(h(v,'newValue'));},
851
+ 'channelAdminLogEventActionParticipantSubExtend':function(w,v){w.uint(1684286899);w.object(h(v,'prevParticipant'));w.object(h(v,'newParticipant'));},
786
852
  'channelAdminLogEvent':function(w,v){w.uint(531458253);w.long(h(v,'id'));w.int(h(v,'date'));w.int53(h(v,'userId'));w.object(h(v,'action'));},
787
853
  'channels.adminLogResults':function(w,v){w.uint(3985307469);w.vector(w.object,h(v,'events'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
788
- '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);},
854
+ '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;if(v.subExtend===true)flags|=262144;w.uint(flags);},
789
855
  'popularContact':function(w,v){w.uint(1558266229);w.long(h(v,'clientId'));w.int(h(v,'importers'));},
790
856
  'messages.favedStickersNotModified':function(w){w.uint(2660214483);},
791
857
  'messages.favedStickers':function(w,v){w.uint(750063767);w.long(h(v,'hash'));w.vector(w.object,h(v,'packs'));w.vector(w.object,h(v,'stickers'));},
@@ -883,8 +949,8 @@ var m={
883
949
  'help.supportName':function(w,v){w.uint(2349199817);w.string(h(v,'name'));},
884
950
  'help.userInfoEmpty':function(w){w.uint(4088278765);},
885
951
  'help.userInfo':function(w,v){w.uint(32192344);w.string(h(v,'message'));w.vector(w.object,h(v,'entities'));w.string(h(v,'author'));w.int(h(v,'date'));},
886
- 'pollAnswer':function(w,v){w.uint(1823064809);w.string(h(v,'text'));w.bytes(h(v,'option'));},
887
- 'poll':function(w,v){w.uint(2262925665);w.long(h(v,'id'));var flags=0;if(v.closed===true)flags|=1;if(v.publicVoters===true)flags|=2;if(v.multipleChoice===true)flags|=4;if(v.quiz===true)flags|=8;var _closePeriod=v.closePeriod!==undefined;if(_closePeriod)flags|=16;var _closeDate=v.closeDate!==undefined;if(_closeDate)flags|=32;w.uint(flags);w.string(h(v,'question'));w.vector(w.object,h(v,'answers'));if(_closePeriod)w.int(v.closePeriod);if(_closeDate)w.int(v.closeDate);},
952
+ 'pollAnswer':function(w,v){w.uint(4279689930);w.object(h(v,'text'));w.bytes(h(v,'option'));},
953
+ 'poll':function(w,v){w.uint(1484026161);w.long(h(v,'id'));var flags=0;if(v.closed===true)flags|=1;if(v.publicVoters===true)flags|=2;if(v.multipleChoice===true)flags|=4;if(v.quiz===true)flags|=8;var _closePeriod=v.closePeriod!==undefined;if(_closePeriod)flags|=16;var _closeDate=v.closeDate!==undefined;if(_closeDate)flags|=32;w.uint(flags);w.object(h(v,'question'));w.vector(w.object,h(v,'answers'));if(_closePeriod)w.int(v.closePeriod);if(_closeDate)w.int(v.closeDate);},
888
954
  'pollAnswerVoters':function(w,v){w.uint(997055186);var flags=0;if(v.chosen===true)flags|=1;if(v.correct===true)flags|=2;w.uint(flags);w.bytes(h(v,'option'));w.int(h(v,'voters'));},
889
955
  'pollResults':function(w,v){w.uint(2061444128);var flags=0;if(v.min===true)flags|=1;var _results=v.results&&v.results.length;if(_results)flags|=2;var _totalVoters=v.totalVoters!==undefined;if(_totalVoters)flags|=4;var _recentVoters=v.recentVoters&&v.recentVoters.length;if(_recentVoters)flags|=8;var _solution=v.solution!==undefined;var _solutionEntities=v.solutionEntities&&v.solutionEntities.length;var _flags_4=_solution||_solutionEntities;if(_flags_4)flags|=16;w.uint(flags);if(_results)w.vector(w.object,v.results);if(_totalVoters)w.int(v.totalVoters);if(_recentVoters)w.vector(w.object,v.recentVoters);if(_flags_4)w.string(v.solution);if(_flags_4)w.vector(w.object,v.solutionEntities);},
890
956
  'chatOnlines':function(w,v){w.uint(4030849616);w.int(h(v,'onlines'));},
@@ -896,8 +962,8 @@ var m={
896
962
  'inputWallPaperNoFile':function(w,v){w.uint(2524595758);w.long(h(v,'id'));},
897
963
  'account.wallPapersNotModified':function(w){w.uint(471437699);},
898
964
  'account.wallPapers':function(w,v){w.uint(3452142988);w.long(h(v,'hash'));w.vector(w.object,h(v,'wallpapers'));},
899
- '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);},
900
- 'wallPaperSettings':function(w,v){w.uint(499236004);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;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);},
965
+ 'codeSettings':function(w,v){w.uint(2904898936);var flags=0;if(v.allowFlashcall===true)flags|=1;if(v.currentNumber===true)flags|=2;if(v.allowAppHash===true)flags|=16;if(v.allowMissedCall===true)flags|=32;var _logoutTokens=v.logoutTokens&&v.logoutTokens.length;if(_logoutTokens)flags|=64;if(v.allowFirebase===true)flags|=128;var _token=v.token!==undefined;var _appSandbox=v.appSandbox!==undefined;var _flags_8=_token||_appSandbox;if(_flags_8)flags|=256;if(v.unknownNumber===true)flags|=512;w.uint(flags);if(_logoutTokens)w.vector(w.bytes,v.logoutTokens);if(_flags_8)w.string(v.token);if(_flags_8)w.boolean(v.appSandbox);},
966
+ '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);},
901
967
  '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'));},
902
968
  'account.autoDownloadSettings':function(w,v){w.uint(1674235686);w.object(h(v,'low'));w.object(h(v,'medium'));w.object(h(v,'high'));},
903
969
  'emojiKeyword':function(w,v){w.uint(3585325561);w.string(h(v,'keyword'));w.vector(w.string,h(v,'emoticons'));},
@@ -936,12 +1002,13 @@ var m={
936
1002
  'themeSettings':function(w,v){w.uint(4200117972);var flags=0;var _messageColors=v.messageColors&&v.messageColors.length;if(_messageColors)flags|=1;var _wallpaper=v.wallpaper!==undefined;if(_wallpaper)flags|=2;if(v.messageColorsAnimated===true)flags|=4;var _outboxAccentColor=v.outboxAccentColor!==undefined;if(_outboxAccentColor)flags|=8;w.uint(flags);w.object(h(v,'baseTheme'));w.int(h(v,'accentColor'));if(_outboxAccentColor)w.int(v.outboxAccentColor);if(_messageColors)w.vector(w.int,v.messageColors);if(_wallpaper)w.object(v.wallpaper);},
937
1003
  'webPageAttributeTheme':function(w,v){w.uint(1421174295);var flags=0;var _documents=v.documents&&v.documents.length;if(_documents)flags|=1;var _settings=v.settings!==undefined;if(_settings)flags|=2;w.uint(flags);if(_documents)w.vector(w.object,v.documents);if(_settings)w.object(v.settings);},
938
1004
  'webPageAttributeStory':function(w,v){w.uint(781501415);var flags=0;var _story=v.story!==undefined;if(_story)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_story)w.object(v.story);},
1005
+ 'webPageAttributeStickerSet':function(w,v){w.uint(1355547603);var flags=0;if(v.emojis===true)flags|=1;if(v.textColor===true)flags|=2;w.uint(flags);w.vector(w.object,h(v,'stickers'));},
939
1006
  'messages.votesList':function(w,v){w.uint(1218005070);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'votes'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
940
1007
  'bankCardOpenUrl':function(w,v){w.uint(4117234314);w.string(h(v,'url'));w.string(h(v,'name'));},
941
1008
  'payments.bankCardData':function(w,v){w.uint(1042605427);w.string(h(v,'title'));w.vector(w.object,h(v,'openUrls'));},
942
- 'dialogFilter':function(w,v){w.uint(1949890536);var flags=0;if(v.contacts===true)flags|=1;if(v.nonContacts===true)flags|=2;if(v.groups===true)flags|=4;if(v.broadcasts===true)flags|=8;if(v.bots===true)flags|=16;if(v.excludeMuted===true)flags|=2048;if(v.excludeRead===true)flags|=4096;if(v.excludeArchived===true)flags|=8192;var _emoticon=v.emoticon!==undefined;if(_emoticon)flags|=33554432;w.uint(flags);w.int(h(v,'id'));w.string(h(v,'title'));if(_emoticon)w.string(v.emoticon);w.vector(w.object,h(v,'pinnedPeers'));w.vector(w.object,h(v,'includePeers'));w.vector(w.object,h(v,'excludePeers'));},
1009
+ 'dialogFilter':function(w,v){w.uint(1605718587);var flags=0;if(v.contacts===true)flags|=1;if(v.nonContacts===true)flags|=2;if(v.groups===true)flags|=4;if(v.broadcasts===true)flags|=8;if(v.bots===true)flags|=16;if(v.excludeMuted===true)flags|=2048;if(v.excludeRead===true)flags|=4096;if(v.excludeArchived===true)flags|=8192;var _emoticon=v.emoticon!==undefined;if(_emoticon)flags|=33554432;var _color=v.color!==undefined;if(_color)flags|=134217728;w.uint(flags);w.int(h(v,'id'));w.string(h(v,'title'));if(_emoticon)w.string(v.emoticon);if(_color)w.int(v.color);w.vector(w.object,h(v,'pinnedPeers'));w.vector(w.object,h(v,'includePeers'));w.vector(w.object,h(v,'excludePeers'));},
943
1010
  'dialogFilterDefault':function(w){w.uint(909284270);},
944
- 'dialogFilterChatlist':function(w,v){w.uint(3595175080);var flags=0;var _emoticon=v.emoticon!==undefined;if(_emoticon)flags|=33554432;if(v.hasMyInvites===true)flags|=67108864;w.uint(flags);w.int(h(v,'id'));w.string(h(v,'title'));if(_emoticon)w.string(v.emoticon);w.vector(w.object,h(v,'pinnedPeers'));w.vector(w.object,h(v,'includePeers'));},
1011
+ 'dialogFilterChatlist':function(w,v){w.uint(2682424996);var flags=0;var _emoticon=v.emoticon!==undefined;if(_emoticon)flags|=33554432;if(v.hasMyInvites===true)flags|=67108864;var _color=v.color!==undefined;if(_color)flags|=134217728;w.uint(flags);w.int(h(v,'id'));w.string(h(v,'title'));if(_emoticon)w.string(v.emoticon);if(_color)w.int(v.color);w.vector(w.object,h(v,'pinnedPeers'));w.vector(w.object,h(v,'includePeers'));},
945
1012
  'dialogFilterSuggested':function(w,v){w.uint(2004110666);w.object(h(v,'filter'));w.string(h(v,'description'));},
946
1013
  'statsDateRangeDays':function(w,v){w.uint(3057118639);w.int(h(v,'minDate'));w.int(h(v,'maxDate'));},
947
1014
  'statsAbsValueAndPrev':function(w,v){w.uint(3410210014);w.double(h(v,'current'));w.double(h(v,'previous'));},
@@ -949,8 +1016,7 @@ var m={
949
1016
  'statsGraphAsync':function(w,v){w.uint(1244130093);w.string(h(v,'token'));},
950
1017
  'statsGraphError':function(w,v){w.uint(3202127906);w.string(h(v,'error'));},
951
1018
  '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);},
952
- 'messageInteractionCounters':function(w,v){w.uint(2907687357);w.int(h(v,'msgId'));w.int(h(v,'views'));w.int(h(v,'forwards'));},
953
- 'stats.broadcastStats':function(w,v){w.uint(3187114900);w.object(h(v,'period'));w.object(h(v,'followers'));w.object(h(v,'viewsPerPost'));w.object(h(v,'sharesPerPost'));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.vector(w.object,h(v,'recentMessageInteractions'));},
1019
+ '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'));},
954
1020
  'help.promoDataEmpty':function(w,v){w.uint(2566302837);w.int(h(v,'expires'));},
955
1021
  '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);},
956
1022
  'videoSize':function(w,v){w.uint(3727929492);var flags=0;var _videoStartTs=v.videoStartTs!==undefined;if(_videoStartTs)flags|=1;w.uint(flags);w.string(h(v,'type'));w.int(h(v,'w'));w.int(h(v,'h'));w.int(h(v,'size'));if(_videoStartTs)w.double(v.videoStartTs);},
@@ -960,7 +1026,7 @@ var m={
960
1026
  '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'));},
961
1027
  'statsGroupTopInviter':function(w,v){w.uint(1398765469);w.int53(h(v,'userId'));w.int(h(v,'invitations'));},
962
1028
  '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'));},
963
- '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);},
1029
+ '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);},
964
1030
  '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);},
965
1031
  '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'));},
966
1032
  'help.countriesListNotModified':function(w){w.uint(2479628082);},
@@ -968,11 +1034,11 @@ var m={
968
1034
  'messageViews':function(w,v){w.uint(1163625789);var flags=0;var _views=v.views!==undefined;if(_views)flags|=1;var _forwards=v.forwards!==undefined;if(_forwards)flags|=2;var _replies=v.replies!==undefined;if(_replies)flags|=4;w.uint(flags);if(_views)w.int(v.views);if(_forwards)w.int(v.forwards);if(_replies)w.object(v.replies);},
969
1035
  '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'));},
970
1036
  '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'));},
971
- 'messageReplyHeader':function(w,v){w.uint(1860946621);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;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);},
972
- 'messageReplyStoryHeader':function(w,v){w.uint(2627256257);w.int53(h(v,'userId'));w.int(h(v,'storyId'));},
1037
+ '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);},
1038
+ 'messageReplyStoryHeader':function(w,v){w.uint(240843065);w.object(h(v,'peer'));w.int(h(v,'storyId'));},
973
1039
  '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);},
974
1040
  'peerBlocked':function(w,v){w.uint(3908927508);w.object(h(v,'peerId'));w.int(h(v,'date'));},
975
- 'stats.messageStats':function(w,v){w.uint(2308567701);w.object(h(v,'viewsGraph'));},
1041
+ 'stats.messageStats':function(w,v){w.uint(2145983508);w.object(h(v,'viewsGraph'));w.object(h(v,'reactionsByEmotionGraph'));},
976
1042
  'groupCallDiscarded':function(w,v){w.uint(2004925620);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'duration'));},
977
1043
  'groupCall':function(w,v){w.uint(3583468812);var flags=0;if(v.joinMuted===true)flags|=2;if(v.canChangeJoinMuted===true)flags|=4;var _title=v.title!==undefined;if(_title)flags|=8;var _streamDcId=v.streamDcId!==undefined;if(_streamDcId)flags|=16;var _recordStartDate=v.recordStartDate!==undefined;if(_recordStartDate)flags|=32;if(v.joinDateAsc===true)flags|=64;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=128;if(v.scheduleStartSubscribed===true)flags|=256;if(v.canStartVideo===true)flags|=512;var _unmutedVideoCount=v.unmutedVideoCount!==undefined;if(_unmutedVideoCount)flags|=1024;if(v.recordVideoActive===true)flags|=2048;if(v.rtmpStream===true)flags|=4096;if(v.listenersHidden===true)flags|=8192;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.int(h(v,'participantsCount'));if(_title)w.string(v.title);if(_streamDcId)w.int(v.streamDcId);if(_recordStartDate)w.int(v.recordStartDate);if(_scheduleDate)w.int(v.scheduleDate);if(_unmutedVideoCount)w.int(v.unmutedVideoCount);w.int(h(v,'unmutedVideoLimit'));w.int(h(v,'version'));},
978
1044
  'inputGroupCall':function(w,v){w.uint(3635053583);w.long(h(v,'id'));w.long(h(v,'accessHash'));},
@@ -1011,7 +1077,7 @@ var m={
1011
1077
  'account.resetPasswordFailedWait':function(w,v){w.uint(3816265825);w.int(h(v,'retryDate'));},
1012
1078
  'account.resetPasswordRequestedWait':function(w,v){w.uint(3924819069);w.int(h(v,'untilDate'));},
1013
1079
  'account.resetPasswordOk':function(w){w.uint(3911636542);},
1014
- 'sponsoredMessage':function(w,v){w.uint(3668967275);var flags=0;var _startParam=v.startParam!==undefined;if(_startParam)flags|=1;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _channelPost=v.channelPost!==undefined;if(_channelPost)flags|=4;var _fromId=v.fromId!==undefined;if(_fromId)flags|=8;var _chatInvite=v.chatInvite!==undefined;var _chatInviteHash=v.chatInviteHash!==undefined;var _flags_4=_chatInvite||_chatInviteHash;if(_flags_4)flags|=16;if(v.recommended===true)flags|=32;if(v.showPeerPhoto===true)flags|=64;var _sponsorInfo=v.sponsorInfo!==undefined;if(_sponsorInfo)flags|=128;var _additionalInfo=v.additionalInfo!==undefined;if(_additionalInfo)flags|=256;var _webpage=v.webpage!==undefined;if(_webpage)flags|=512;w.uint(flags);w.bytes(h(v,'randomId'));if(_fromId)w.object(v.fromId);if(_flags_4)w.object(v.chatInvite);if(_flags_4)w.string(v.chatInviteHash);if(_channelPost)w.int(v.channelPost);if(_startParam)w.string(v.startParam);if(_webpage)w.object(v.webpage);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_sponsorInfo)w.string(v.sponsorInfo);if(_additionalInfo)w.string(v.additionalInfo);},
1080
+ 'sponsoredMessage':function(w,v){w.uint(1301522832);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;if(v.recommended===true)flags|=32;var _photo=v.photo!==undefined;if(_photo)flags|=64;var _sponsorInfo=v.sponsorInfo!==undefined;if(_sponsorInfo)flags|=128;var _additionalInfo=v.additionalInfo!==undefined;if(_additionalInfo)flags|=256;if(v.canReport===true)flags|=4096;var _color=v.color!==undefined;if(_color)flags|=8192;var _media=v.media!==undefined;if(_media)flags|=16384;w.uint(flags);w.bytes(h(v,'randomId'));w.string(h(v,'url'));w.string(h(v,'title'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_photo)w.object(v.photo);if(_media)w.object(v.media);if(_color)w.object(v.color);w.string(h(v,'buttonText'));if(_sponsorInfo)w.string(v.sponsorInfo);if(_additionalInfo)w.string(v.additionalInfo);},
1015
1081
  'messages.sponsoredMessages':function(w,v){w.uint(3387825543);var flags=0;var _postsBetween=v.postsBetween!==undefined;if(_postsBetween)flags|=1;w.uint(flags);if(_postsBetween)w.int(v.postsBetween);w.vector(w.object,h(v,'messages'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1016
1082
  'messages.sponsoredMessagesEmpty':function(w){w.uint(406407439);},
1017
1083
  'searchResultsCalendarPeriod':function(w,v){w.uint(3383776159);w.int(h(v,'date'));w.int(h(v,'minMsgId'));w.int(h(v,'maxMsgId'));w.int(h(v,'count'));},
@@ -1023,7 +1089,7 @@ var m={
1023
1089
  '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'));},
1024
1090
  '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);},
1025
1091
  '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'));},
1026
- '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);},
1092
+ 'messageReactions':function(w,v){w.uint(171155211);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;var _topReactors=v.topReactors&&v.topReactors.length;if(_topReactors)flags|=16;w.uint(flags);w.vector(w.object,h(v,'results'));if(_recentReactions)w.vector(w.object,v.recentReactions);if(_topReactors)w.vector(w.object,v.topReactors);},
1027
1093
  '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);},
1028
1094
  '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);},
1029
1095
  'messages.availableReactionsNotModified':function(w){w.uint(2668042583);},
@@ -1038,8 +1104,7 @@ var m={
1038
1104
  'attachMenuBotsNotModified':function(w){w.uint(4057500252);},
1039
1105
  'attachMenuBots':function(w,v){w.uint(1011024320);w.long(h(v,'hash'));w.vector(w.object,h(v,'bots'));w.vector(w.object,h(v,'users'));},
1040
1106
  'attachMenuBotsBot':function(w,v){w.uint(2478794367);w.object(h(v,'bot'));w.vector(w.object,h(v,'users'));},
1041
- 'webViewResultUrl':function(w,v){w.uint(202659196);w.long(h(v,'queryId'));w.string(h(v,'url'));},
1042
- 'simpleWebViewResultUrl':function(w,v){w.uint(2284811963);w.string(h(v,'url'));},
1107
+ 'webViewResultUrl':function(w,v){w.uint(1294139288);var flags=0;var _queryId=v.queryId!==undefined;if(_queryId)flags|=1;if(v.fullsize===true)flags|=2;if(v.fullscreen===true)flags|=4;w.uint(flags);if(_queryId)w.long(v.queryId);w.string(h(v,'url'));},
1043
1108
  'webViewMessageSent':function(w,v){w.uint(211046684);var flags=0;var _msgId=v.msgId!==undefined;if(_msgId)flags|=1;w.uint(flags);if(_msgId)w.object(v.msgId);},
1044
1109
  'botMenuButtonDefault':function(w){w.uint(1966318984);},
1045
1110
  'botMenuButtonCommands':function(w){w.uint(1113113093);},
@@ -1059,11 +1124,20 @@ var m={
1059
1124
  'attachMenuPeerTypeBroadcast':function(w){w.uint(2080104188);},
1060
1125
  'inputInvoiceMessage':function(w,v){w.uint(3317000281);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
1061
1126
  'inputInvoiceSlug':function(w,v){w.uint(3274099439);w.string(h(v,'slug'));},
1127
+ 'inputInvoicePremiumGiftCode':function(w,v){w.uint(2560125965);w.object(h(v,'purpose'));w.object(h(v,'option'));},
1128
+ 'inputInvoiceStars':function(w,v){w.uint(1710230755);w.object(h(v,'purpose'));},
1129
+ 'inputInvoiceChatInviteSubscription':function(w,v){w.uint(887591921);w.string(h(v,'hash'));},
1130
+ 'inputInvoiceStarGift':function(w,v){w.uint(634962392);var flags=0;if(v.hideName===true)flags|=1;var _message=v.message!==undefined;if(_message)flags|=2;w.uint(flags);w.object(h(v,'userId'));w.long(h(v,'giftId'));if(_message)w.object(v.message);},
1062
1131
  'payments.exportedInvoice':function(w,v){w.uint(2932919257);w.string(h(v,'url'));},
1063
- 'messages.transcribedAudio':function(w,v){w.uint(2473929810);var flags=0;if(v.pending===true)flags|=1;w.uint(flags);w.long(h(v,'transcriptionId'));w.string(h(v,'text'));},
1132
+ 'messages.transcribedAudio':function(w,v){w.uint(3485063511);var flags=0;if(v.pending===true)flags|=1;var _trialRemainsNum=v.trialRemainsNum!==undefined;var _trialRemainsUntilDate=v.trialRemainsUntilDate!==undefined;var _flags_1=_trialRemainsNum||_trialRemainsUntilDate;if(_flags_1)flags|=2;w.uint(flags);w.long(h(v,'transcriptionId'));w.string(h(v,'text'));if(_flags_1)w.int(v.trialRemainsNum);if(_flags_1)w.int(v.trialRemainsUntilDate);},
1064
1133
  'help.premiumPromo':function(w,v){w.uint(1395946908);w.string(h(v,'statusText'));w.vector(w.object,h(v,'statusEntities'));w.vector(w.string,h(v,'videoSections'));w.vector(w.object,h(v,'videos'));w.vector(w.object,h(v,'periodOptions'));w.vector(w.object,h(v,'users'));},
1065
1134
  'inputStorePaymentPremiumSubscription':function(w,v){w.uint(2792693350);var flags=0;if(v.restore===true)flags|=1;if(v.upgrade===true)flags|=2;w.uint(flags);},
1066
1135
  'inputStorePaymentGiftPremium':function(w,v){w.uint(1634697192);w.object(h(v,'userId'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
1136
+ 'inputStorePaymentPremiumGiftCode':function(w,v){w.uint(4219011987);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;var _message=v.message!==undefined;if(_message)flags|=2;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'));if(_message)w.object(v.message);},
1137
+ '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'));},
1138
+ 'inputStorePaymentStarsTopup':function(w,v){w.uint(3722252118);w.long(h(v,'stars'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
1139
+ 'inputStorePaymentStarsGift':function(w,v){w.uint(494149367);w.object(h(v,'userId'));w.long(h(v,'stars'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
1140
+ 'inputStorePaymentStarsGiveaway':function(w,v){w.uint(1964968186);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _additionalPeers=v.additionalPeers&&v.additionalPeers.length;if(_additionalPeers)flags|=2;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=4;if(v.winnersAreVisible===true)flags|=8;var _prizeDescription=v.prizeDescription!==undefined;if(_prizeDescription)flags|=16;w.uint(flags);w.long(h(v,'stars'));w.object(h(v,'boostPeer'));if(_additionalPeers)w.vector(w.object,v.additionalPeers);if(_countriesIso2)w.vector(w.string,v.countriesIso2);if(_prizeDescription)w.string(v.prizeDescription);w.long(h(v,'randomId'));w.int(h(v,'untilDate'));w.string(h(v,'currency'));w.long(h(v,'amount'));w.int(h(v,'users'));},
1067
1141
  'premiumGiftOption':function(w,v){w.uint(1958953753);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;w.uint(flags);w.int(h(v,'months'));w.string(h(v,'currency'));w.long(h(v,'amount'));w.string(h(v,'botUrl'));if(_storeProduct)w.string(v.storeProduct);},
1068
1142
  'paymentFormMethod':function(w,v){w.uint(2298016283);w.string(h(v,'url'));w.string(h(v,'title'));},
1069
1143
  'emojiStatusEmpty':function(w){w.uint(769727150);},
@@ -1074,6 +1148,7 @@ var m={
1074
1148
  'reactionEmpty':function(w){w.uint(2046153753);},
1075
1149
  'reactionEmoji':function(w,v){w.uint(455247544);w.string(h(v,'emoticon'));},
1076
1150
  'reactionCustomEmoji':function(w,v){w.uint(2302016627);w.long(h(v,'documentId'));},
1151
+ 'reactionPaid':function(w){w.uint(1379771627);},
1077
1152
  'chatReactionsNone':function(w){w.uint(3942396604);},
1078
1153
  'chatReactionsAll':function(w,v){w.uint(1385335754);var flags=0;if(v.allowCustom===true)flags|=1;w.uint(flags);},
1079
1154
  'chatReactionsSome':function(w,v){w.uint(1713193015);w.vector(w.object,h(v,'reactions'));},
@@ -1104,6 +1179,8 @@ var m={
1104
1179
  'emojiListNotModified':function(w){w.uint(1209970170);},
1105
1180
  'emojiList':function(w,v){w.uint(2048790993);w.long(h(v,'hash'));w.vector(w.long,h(v,'documentId'));},
1106
1181
  'emojiGroup':function(w,v){w.uint(2056961449);w.string(h(v,'title'));w.long(h(v,'iconEmojiId'));w.vector(w.string,h(v,'emoticons'));},
1182
+ 'emojiGroupGreeting':function(w,v){w.uint(2161274055);w.string(h(v,'title'));w.long(h(v,'iconEmojiId'));w.vector(w.string,h(v,'emoticons'));},
1183
+ 'emojiGroupPremium':function(w,v){w.uint(154914612);w.string(h(v,'title'));w.long(h(v,'iconEmojiId'));},
1107
1184
  'messages.emojiGroupsNotModified':function(w){w.uint(1874111879);},
1108
1185
  'messages.emojiGroups':function(w,v){w.uint(2283780427);w.int(h(v,'hash'));w.vector(w.object,h(v,'groups'));},
1109
1186
  'textWithEntities':function(w,v){w.uint(1964978502);w.string(h(v,'text'));w.vector(w.object,h(v,'entities'));},
@@ -1118,7 +1195,6 @@ var m={
1118
1195
  'botAppNotModified':function(w){w.uint(1571189943);},
1119
1196
  'botApp':function(w,v){w.uint(2516373974);var flags=0;var _document=v.document!==undefined;if(_document)flags|=1;w.uint(flags);w.long(h(v,'id'));w.long(h(v,'accessHash'));w.string(h(v,'shortName'));w.string(h(v,'title'));w.string(h(v,'description'));w.object(h(v,'photo'));if(_document)w.object(v.document);w.long(h(v,'hash'));},
1120
1197
  'messages.botApp':function(w,v){w.uint(3947933173);var flags=0;if(v.inactive===true)flags|=1;if(v.requestWriteAccess===true)flags|=2;if(v.hasSettings===true)flags|=4;w.uint(flags);w.object(h(v,'app'));},
1121
- 'appWebViewResultUrl':function(w,v){w.uint(1008422669);w.string(h(v,'url'));},
1122
1198
  'inlineBotWebView':function(w,v){w.uint(3044185557);w.string(h(v,'text'));w.string(h(v,'url'));},
1123
1199
  'readParticipantDate':function(w,v){w.uint(1246753138);w.int53(h(v,'userId'));w.int(h(v,'date'));},
1124
1200
  'inputChatlistDialogFilter':function(w,v){w.uint(4091599411);w.int(h(v,'filterId'));},
@@ -1132,62 +1208,181 @@ var m={
1132
1208
  'messagePeerVote':function(w,v){w.uint(3066834268);w.object(h(v,'peer'));w.bytes(h(v,'option'));w.int(h(v,'date'));},
1133
1209
  'messagePeerVoteInputOption':function(w,v){w.uint(1959634180);w.object(h(v,'peer'));w.int(h(v,'date'));},
1134
1210
  'messagePeerVoteMultiple':function(w,v){w.uint(1177089766);w.object(h(v,'peer'));w.vector(w.bytes,h(v,'options'));w.int(h(v,'date'));},
1135
- 'sponsoredWebPage':function(w,v){w.uint(1035529315);var flags=0;var _photo=v.photo!==undefined;if(_photo)flags|=1;w.uint(flags);w.string(h(v,'url'));w.string(h(v,'siteName'));if(_photo)w.object(v.photo);},
1136
1211
  '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);},
1137
1212
  'storyItemDeleted':function(w,v){w.uint(1374088783);w.int(h(v,'id'));},
1138
1213
  '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'));},
1139
- 'storyItem':function(w,v){w.uint(1153718222);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;w.uint(flags);w.int(h(v,'id'));w.int(h(v,'date'));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);},
1214
+ '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);},
1140
1215
  'stories.allStoriesNotModified':function(w,v){w.uint(291044926);var flags=0;w.uint(flags);w.string(h(v,'state'));w.object(h(v,'stealthMode'));},
1141
1216
  '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'));},
1142
- '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'));},
1217
+ 'stories.stories':function(w,v){w.uint(1673780490);var flags=0;var _pinnedToTop=v.pinnedToTop&&v.pinnedToTop.length;if(_pinnedToTop)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'stories'));if(_pinnedToTop)w.vector(w.int,v.pinnedToTop);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1143
1218
  '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);},
1144
- 'stories.storyViewsList':function(w,v){w.uint(1189722604);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.int(h(v,'reactionsCount'));w.vector(w.object,h(v,'views'));w.vector(w.object,h(v,'users'));if(_nextOffset)w.string(v.nextOffset);},
1219
+ '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'));},
1220
+ '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'));},
1221
+ '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);},
1145
1222
  'stories.storyViews':function(w,v){w.uint(3734957341);w.vector(w.object,h(v,'views'));w.vector(w.object,h(v,'users'));},
1146
- 'inputReplyToMessage':function(w,v){w.uint(121554949);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;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);},
1147
- 'inputReplyToStory':function(w,v){w.uint(363917955);w.object(h(v,'userId'));w.int(h(v,'storyId'));},
1223
+ '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);},
1224
+ 'inputReplyToStory':function(w,v){w.uint(1484862010);w.object(h(v,'peer'));w.int(h(v,'storyId'));},
1148
1225
  'exportedStoryLink':function(w,v){w.uint(1070138683);w.string(h(v,'link'));},
1149
1226
  '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);},
1150
- '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'));},
1227
+ 'mediaAreaCoordinates':function(w,v){w.uint(3486113794);var flags=0;var _radius=v.radius!==undefined;if(_radius)flags|=1;w.uint(flags);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'));if(_radius)w.double(v.radius);},
1151
1228
  'mediaAreaVenue':function(w,v){w.uint(3196246940);w.object(h(v,'coordinates'));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'));},
1152
1229
  'inputMediaAreaVenue':function(w,v){w.uint(2994872703);w.object(h(v,'coordinates'));w.long(h(v,'queryId'));w.string(h(v,'resultId'));},
1153
- 'mediaAreaGeoPoint':function(w,v){w.uint(3750443810);w.object(h(v,'coordinates'));w.object(h(v,'geo'));},
1230
+ 'mediaAreaGeoPoint':function(w,v){w.uint(3402974509);var flags=0;var _address=v.address!==undefined;if(_address)flags|=1;w.uint(flags);w.object(h(v,'coordinates'));w.object(h(v,'geo'));if(_address)w.object(v.address);},
1154
1231
  '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'));},
1232
+ 'mediaAreaChannelPost':function(w,v){w.uint(1996756655);w.object(h(v,'coordinates'));w.int53(h(v,'channelId'));w.int(h(v,'msgId'));},
1233
+ 'inputMediaAreaChannelPost':function(w,v){w.uint(577893055);w.object(h(v,'coordinates'));w.object(h(v,'channel'));w.int(h(v,'msgId'));},
1234
+ 'mediaAreaUrl':function(w,v){w.uint(926421125);w.object(h(v,'coordinates'));w.string(h(v,'url'));},
1235
+ 'mediaAreaWeather':function(w,v){w.uint(1235637404);w.object(h(v,'coordinates'));w.string(h(v,'emoji'));w.double(h(v,'temperatureC'));w.int(h(v,'color'));},
1155
1236
  'peerStories':function(w,v){w.uint(2587224473);var flags=0;var _maxReadId=v.maxReadId!==undefined;if(_maxReadId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_maxReadId)w.int(v.maxReadId);w.vector(w.object,h(v,'stories'));},
1156
1237
  'stories.peerStories':function(w,v){w.uint(3404105576);w.object(h(v,'stories'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1157
- 'stories.boostsStatus':function(w,v){w.uint(3854674524);var flags=0;var _nextLevelBoosts=v.nextLevelBoosts!==undefined;if(_nextLevelBoosts)flags|=1;var _premiumAudience=v.premiumAudience!==undefined;if(_premiumAudience)flags|=2;if(v.myBoost===true)flags|=4;w.uint(flags);w.int(h(v,'level'));w.int(h(v,'currentLevelBoosts'));w.int(h(v,'boosts'));if(_nextLevelBoosts)w.int(v.nextLevelBoosts);if(_premiumAudience)w.object(v.premiumAudience);w.string(h(v,'boostUrl'));},
1158
- 'stories.canApplyBoostOk':function(w){w.uint(3273078151);},
1159
- 'stories.canApplyBoostReplace':function(w,v){w.uint(1898726997);w.object(h(v,'currentBoost'));w.vector(w.object,h(v,'chats'));},
1160
- 'booster':function(w,v){w.uint(245261184);w.int53(h(v,'userId'));w.int(h(v,'expires'));},
1161
- 'stories.boostersList':function(w,v){w.uint(4091362589);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'boosters'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
1162
1238
  'messages.webPage':function(w,v){w.uint(4250800829);w.object(h(v,'webpage'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1163
- 'inputMediaWebPage':function(w,v){w.uint(3256584265);var flags=0;if(v.forceLargeMedia===true)flags|=1;if(v.forceSmallMedia===true)flags|=2;if(v.optional===true)flags|=4;w.uint(flags);w.string(h(v,'url'));},
1164
- 'messageMediaGiveaway':function(w,v){w.uint(1478887012);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=2;w.uint(flags);w.vector(w.long,h(v,'channels'));if(_countriesIso2)w.vector(w.string,v.countriesIso2);w.int(h(v,'quantity'));w.int(h(v,'months'));w.int(h(v,'untilDate'));},
1165
- 'messageActionGiftCode':function(w,v){w.uint(3536837390);var flags=0;if(v.viaGiveaway===true)flags|=1;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=2;if(v.unclaimed===true)flags|=4;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);w.int(h(v,'months'));w.string(h(v,'slug'));},
1166
- 'messageActionGiveawayLaunch':function(w){w.uint(858499565);},
1167
- 'inputBotInlineMessageMediaWebPage':function(w,v){w.uint(3185362192);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.invertMedia===true)flags|=8;if(v.forceLargeMedia===true)flags|=16;if(v.forceSmallMedia===true)flags|=32;if(v.optional===true)flags|=64;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.string(h(v,'url'));if(_replyMarkup)w.object(v.replyMarkup);},
1168
- 'botInlineMessageMediaWebPage':function(w,v){w.uint(2157631910);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;if(v.invertMedia===true)flags|=8;if(v.forceLargeMedia===true)flags|=16;if(v.forceSmallMedia===true)flags|=32;if(v.manual===true)flags|=128;if(v.safe===true)flags|=256;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.string(h(v,'url'));if(_replyMarkup)w.object(v.replyMarkup);},
1169
- 'channelAdminLogEventActionChangeColor':function(w,v){w.uint(1009460347);w.int(h(v,'prevValue'));w.int(h(v,'newValue'));},
1170
- 'channelAdminLogEventActionChangeBackgroundEmoji':function(w,v){w.uint(1147126836);w.long(h(v,'prevValue'));w.long(h(v,'newValue'));},
1171
- 'inputInvoicePremiumGiftCode':function(w,v){w.uint(2560125965);w.object(h(v,'purpose'));w.object(h(v,'option'));},
1172
- 'inputStorePaymentPremiumGiftCode':function(w,v){w.uint(2743099199);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);w.vector(w.object,h(v,'users'));if(_boostPeer)w.object(v.boostPeer);w.string(h(v,'currency'));w.long(h(v,'amount'));},
1173
- 'inputStorePaymentPremiumGiveaway':function(w,v){w.uint(2090038758);var flags=0;if(v.onlyNewSubscribers===true)flags|=1;var _additionalPeers=v.additionalPeers&&v.additionalPeers.length;if(_additionalPeers)flags|=2;var _countriesIso2=v.countriesIso2&&v.countriesIso2.length;if(_countriesIso2)flags|=4;w.uint(flags);w.object(h(v,'boostPeer'));if(_additionalPeers)w.vector(w.object,v.additionalPeers);if(_countriesIso2)w.vector(w.string,v.countriesIso2);w.long(h(v,'randomId'));w.int(h(v,'untilDate'));w.string(h(v,'currency'));w.long(h(v,'amount'));},
1174
1239
  'premiumGiftCodeOption':function(w,v){w.uint(629052971);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;var _storeQuantity=v.storeQuantity!==undefined;if(_storeQuantity)flags|=2;w.uint(flags);w.int(h(v,'users'));w.int(h(v,'months'));if(_storeProduct)w.string(v.storeProduct);if(_storeQuantity)w.int(v.storeQuantity);w.string(h(v,'currency'));w.long(h(v,'amount'));},
1175
- 'payments.checkedGiftCode':function(w,v){w.uint(3072520536);var flags=0;var _toId=v.toId!==undefined;if(_toId)flags|=1;var _usedDate=v.usedDate!==undefined;if(_usedDate)flags|=2;if(v.viaGiveaway===true)flags|=4;var _giveawayMsgId=v.giveawayMsgId!==undefined;if(_giveawayMsgId)flags|=8;w.uint(flags);w.object(h(v,'fromId'));if(_giveawayMsgId)w.int(v.giveawayMsgId);if(_toId)w.long(v.toId);w.int(h(v,'date'));w.int(h(v,'months'));if(_usedDate)w.int(v.usedDate);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1240
+ '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'));},
1176
1241
  '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);},
1177
- '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'));},
1242
+ 'payments.giveawayInfoResults':function(w,v){w.uint(3782600303);var flags=0;if(v.winner===true)flags|=1;if(v.refunded===true)flags|=2;var _activatedCount=v.activatedCount!==undefined;if(_activatedCount)flags|=4;var _giftCodeSlug=v.giftCodeSlug!==undefined;if(_giftCodeSlug)flags|=8;var _starsPrize=v.starsPrize!==undefined;if(_starsPrize)flags|=16;w.uint(flags);w.int(h(v,'startDate'));if(_giftCodeSlug)w.string(v.giftCodeSlug);if(_starsPrize)w.long(v.starsPrize);w.int(h(v,'finishDate'));w.int(h(v,'winnersCount'));if(_activatedCount)w.int(v.activatedCount);},
1178
1243
  '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'));},
1179
- '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.long(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);},
1244
+ 'prepaidStarsGiveaway':function(w,v){w.uint(2594011104);w.long(h(v,'id'));w.long(h(v,'stars'));w.int(h(v,'quantity'));w.int(h(v,'boosts'));w.int(h(v,'date'));},
1245
+ 'boost':function(w,v){w.uint(1262359766);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;var _stars=v.stars!==undefined;if(_stars)flags|=64;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);if(_stars)w.long(v.stars);},
1180
1246
  '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'));},
1181
1247
  '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);},
1182
1248
  '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'));},
1183
1249
  '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);},
1184
- 'messageUserVote':function(w,v){w.uint(886196148);w.int53(h(v,'userId'));w.bytes(h(v,'option'));w.int(h(v,'date'));},
1185
- 'messageUserVoteInputOption':function(w,v){w.uint(1017491692);w.int53(h(v,'userId'));w.int(h(v,'date'));},
1186
- 'messageUserVoteMultiple':function(w,v){w.uint(2321933655);w.int53(h(v,'userId'));w.vector(w.bytes,h(v,'options'));w.int(h(v,'date'));},
1187
- 'dummyUpdate':function(w,v){w.uint(2952448754);w.int(h(v,'pts'));w.int(h(v,'ptsCount'));w.int53(h(v,'channelId'));},
1188
- 'test.useError':function(w){w.uint(4000689921);},
1250
+ '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);},
1251
+ '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'));},
1252
+ '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'));},
1253
+ 'stats.storyStats':function(w,v){w.uint(1355613820);w.object(h(v,'viewsGraph'));w.object(h(v,'reactionsByEmotionGraph'));},
1254
+ 'publicForwardMessage':function(w,v){w.uint(32685898);w.object(h(v,'message'));},
1255
+ 'publicForwardStory':function(w,v){w.uint(3992169936);w.object(h(v,'peer'));w.object(h(v,'story'));},
1256
+ 'stats.publicForwards':function(w,v){w.uint(2466479648);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,'forwards'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1257
+ '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);},
1258
+ 'help.peerColorSet':function(w,v){w.uint(639736408);w.vector(w.int,h(v,'colors'));},
1259
+ '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'));},
1260
+ '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);},
1261
+ 'help.peerColorsNotModified':function(w){w.uint(732034510);},
1262
+ 'help.peerColors':function(w,v){w.uint(16313608);w.int(h(v,'hash'));w.vector(w.object,h(v,'colors'));},
1263
+ 'storyReaction':function(w,v){w.uint(1620104917);w.object(h(v,'peerId'));w.int(h(v,'date'));w.object(h(v,'reaction'));},
1264
+ 'storyReactionPublicForward':function(w,v){w.uint(3148555843);w.object(h(v,'message'));},
1265
+ 'storyReactionPublicRepost':function(w,v){w.uint(3486322451);w.object(h(v,'peerId'));w.object(h(v,'story'));},
1266
+ '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);},
1267
+ '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'));},
1268
+ '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'));},
1269
+ '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'));},
1270
+ 'messages.savedDialogsNotModified':function(w,v){w.uint(3223285736);w.int(h(v,'count'));},
1271
+ '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'));},
1272
+ 'messages.savedReactionTagsNotModified':function(w){w.uint(2291882479);},
1273
+ 'messages.savedReactionTags':function(w,v){w.uint(844731658);w.vector(w.object,h(v,'tags'));w.long(h(v,'hash'));},
1274
+ 'outboxReadDate':function(w,v){w.uint(1001931436);w.int(h(v,'date'));},
1275
+ 'smsjobs.eligibleToJoin':function(w,v){w.uint(3700114639);w.string(h(v,'termsUrl'));w.int(h(v,'monthlySentSms'));},
1276
+ 'smsjobs.status':function(w,v){w.uint(720277905);var flags=0;if(v.allowInternational===true)flags|=1;var _lastGiftSlug=v.lastGiftSlug!==undefined;if(_lastGiftSlug)flags|=2;w.uint(flags);w.int(h(v,'recentSent'));w.int(h(v,'recentSince'));w.int(h(v,'recentRemains'));w.int(h(v,'totalSent'));w.int(h(v,'totalSince'));if(_lastGiftSlug)w.string(v.lastGiftSlug);w.string(h(v,'termsUrl'));},
1277
+ 'smsJob':function(w,v){w.uint(3869372088);w.string(h(v,'jobId'));w.string(h(v,'phoneNumber'));w.string(h(v,'text'));},
1278
+ 'businessWeeklyOpen':function(w,v){w.uint(302717625);w.int(h(v,'startMinute'));w.int(h(v,'endMinute'));},
1279
+ 'businessWorkHours':function(w,v){w.uint(2358423704);var flags=0;if(v.openNow===true)flags|=1;w.uint(flags);w.string(h(v,'timezoneId'));w.vector(w.object,h(v,'weeklyOpen'));},
1280
+ 'businessLocation':function(w,v){w.uint(2891717367);var flags=0;var _geoPoint=v.geoPoint!==undefined;if(_geoPoint)flags|=1;w.uint(flags);if(_geoPoint)w.object(v.geoPoint);w.string(h(v,'address'));},
1281
+ 'inputBusinessRecipients':function(w,v){w.uint(1871393450);var flags=0;if(v.existingChats===true)flags|=1;if(v.newChats===true)flags|=2;if(v.contacts===true)flags|=4;if(v.nonContacts===true)flags|=8;var _users=v.users&&v.users.length;if(_users)flags|=16;if(v.excludeSelected===true)flags|=32;w.uint(flags);if(_users)w.vector(w.object,v.users);},
1282
+ 'businessRecipients':function(w,v){w.uint(554733559);var flags=0;if(v.existingChats===true)flags|=1;if(v.newChats===true)flags|=2;if(v.contacts===true)flags|=4;if(v.nonContacts===true)flags|=8;var _users=v.users&&v.users.length;if(_users)flags|=16;if(v.excludeSelected===true)flags|=32;w.uint(flags);if(_users)w.vector(w.int53,v.users);},
1283
+ 'businessAwayMessageScheduleAlways':function(w){w.uint(3384402617);},
1284
+ 'businessAwayMessageScheduleOutsideWorkHours':function(w){w.uint(3287479553);},
1285
+ 'businessAwayMessageScheduleCustom':function(w,v){w.uint(3427638988);w.int(h(v,'startDate'));w.int(h(v,'endDate'));},
1286
+ 'inputBusinessGreetingMessage':function(w,v){w.uint(26528571);w.int(h(v,'shortcutId'));w.object(h(v,'recipients'));w.int(h(v,'noActivityDays'));},
1287
+ 'businessGreetingMessage':function(w,v){w.uint(3843664811);w.int(h(v,'shortcutId'));w.object(h(v,'recipients'));w.int(h(v,'noActivityDays'));},
1288
+ 'inputBusinessAwayMessage':function(w,v){w.uint(2200008160);var flags=0;if(v.offlineOnly===true)flags|=1;w.uint(flags);w.int(h(v,'shortcutId'));w.object(h(v,'schedule'));w.object(h(v,'recipients'));},
1289
+ 'businessAwayMessage':function(w,v){w.uint(4011158108);var flags=0;if(v.offlineOnly===true)flags|=1;w.uint(flags);w.int(h(v,'shortcutId'));w.object(h(v,'schedule'));w.object(h(v,'recipients'));},
1290
+ 'timezone':function(w,v){w.uint(4287793653);w.string(h(v,'id'));w.string(h(v,'name'));w.int(h(v,'utcOffset'));},
1291
+ 'help.timezonesListNotModified':function(w){w.uint(2533820620);},
1292
+ 'help.timezonesList':function(w,v){w.uint(2071260529);w.vector(w.object,h(v,'timezones'));w.int(h(v,'hash'));},
1293
+ 'quickReply':function(w,v){w.uint(110563371);w.int(h(v,'shortcutId'));w.string(h(v,'shortcut'));w.int(h(v,'topMessage'));w.int(h(v,'count'));},
1294
+ 'inputQuickReplyShortcut':function(w,v){w.uint(609840449);w.string(h(v,'shortcut'));},
1295
+ 'inputQuickReplyShortcutId':function(w,v){w.uint(18418929);w.int(h(v,'shortcutId'));},
1296
+ 'messages.quickReplies':function(w,v){w.uint(3331155605);w.vector(w.object,h(v,'quickReplies'));w.vector(w.object,h(v,'messages'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1297
+ 'messages.quickRepliesNotModified':function(w){w.uint(1603398491);},
1298
+ 'connectedBot':function(w,v){w.uint(3171321345);var flags=0;if(v.canReply===true)flags|=1;w.uint(flags);w.int53(h(v,'botId'));w.object(h(v,'recipients'));},
1299
+ 'account.connectedBots':function(w,v){w.uint(400029819);w.vector(w.object,h(v,'connectedBots'));w.vector(w.object,h(v,'users'));},
1300
+ 'messages.dialogFilters':function(w,v){w.uint(718878489);var flags=0;if(v.tagsEnabled===true)flags|=1;w.uint(flags);w.vector(w.object,h(v,'filters'));},
1301
+ 'birthday':function(w,v){w.uint(1821253126);var flags=0;var _year=v.year!==undefined;if(_year)flags|=1;w.uint(flags);w.int(h(v,'day'));w.int(h(v,'month'));if(_year)w.int(v.year);},
1302
+ 'botBusinessConnection':function(w,v){w.uint(2305045428);var flags=0;if(v.canReply===true)flags|=1;if(v.disabled===true)flags|=2;w.uint(flags);w.string(h(v,'connectionId'));w.int53(h(v,'userId'));w.int(h(v,'dcId'));w.int(h(v,'date'));},
1303
+ 'inputBusinessIntro':function(w,v){w.uint(163867085);var flags=0;var _sticker=v.sticker!==undefined;if(_sticker)flags|=1;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_sticker)w.object(v.sticker);},
1304
+ 'businessIntro':function(w,v){w.uint(1510606445);var flags=0;var _sticker=v.sticker!==undefined;if(_sticker)flags|=1;w.uint(flags);w.string(h(v,'title'));w.string(h(v,'description'));if(_sticker)w.object(v.sticker);},
1305
+ 'messages.myStickers':function(w,v){w.uint(4211040925);w.int(h(v,'count'));w.vector(w.object,h(v,'sets'));},
1306
+ 'inputCollectibleUsername':function(w,v){w.uint(3818152105);w.string(h(v,'username'));},
1307
+ 'inputCollectiblePhone':function(w,v){w.uint(2732725412);w.string(h(v,'phone'));},
1308
+ 'fragment.collectibleInfo':function(w,v){w.uint(1857945489);w.int(h(v,'purchaseDate'));w.string(h(v,'currency'));w.long(h(v,'amount'));w.string(h(v,'cryptoCurrency'));w.long(h(v,'cryptoAmount'));w.string(h(v,'url'));},
1309
+ 'inputBusinessBotRecipients':function(w,v){w.uint(3303379486);var flags=0;if(v.existingChats===true)flags|=1;if(v.newChats===true)flags|=2;if(v.contacts===true)flags|=4;if(v.nonContacts===true)flags|=8;var _users=v.users&&v.users.length;if(_users)flags|=16;if(v.excludeSelected===true)flags|=32;var _excludeUsers=v.excludeUsers&&v.excludeUsers.length;if(_excludeUsers)flags|=64;w.uint(flags);if(_users)w.vector(w.object,v.users);if(_excludeUsers)w.vector(w.object,v.excludeUsers);},
1310
+ 'businessBotRecipients':function(w,v){w.uint(3096245107);var flags=0;if(v.existingChats===true)flags|=1;if(v.newChats===true)flags|=2;if(v.contacts===true)flags|=4;if(v.nonContacts===true)flags|=8;var _users=v.users&&v.users.length;if(_users)flags|=16;if(v.excludeSelected===true)flags|=32;var _excludeUsers=v.excludeUsers&&v.excludeUsers.length;if(_excludeUsers)flags|=64;w.uint(flags);if(_users)w.vector(w.int53,v.users);if(_excludeUsers)w.vector(w.int53,v.excludeUsers);},
1311
+ 'contactBirthday':function(w,v){w.uint(496600883);w.int53(h(v,'contactId'));w.object(h(v,'birthday'));},
1312
+ 'contacts.contactBirthdays':function(w,v){w.uint(290452237);w.vector(w.object,h(v,'contacts'));w.vector(w.object,h(v,'users'));},
1313
+ 'missingInvitee':function(w,v){w.uint(1653379620);var flags=0;if(v.premiumWouldAllowInvite===true)flags|=1;if(v.premiumRequiredForPm===true)flags|=2;w.uint(flags);w.int53(h(v,'userId'));},
1314
+ 'messages.invitedUsers':function(w,v){w.uint(2136862630);w.object(h(v,'updates'));w.vector(w.object,h(v,'missingInvitees'));},
1315
+ 'inputBusinessChatLink':function(w,v){w.uint(292003751);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=1;var _title=v.title!==undefined;if(_title)flags|=2;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_title)w.string(v.title);},
1316
+ 'businessChatLink':function(w,v){w.uint(3031328367);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=1;var _title=v.title!==undefined;if(_title)flags|=2;w.uint(flags);w.string(h(v,'link'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_title)w.string(v.title);w.int(h(v,'views'));},
1317
+ 'account.businessChatLinks':function(w,v){w.uint(3963855569);w.vector(w.object,h(v,'links'));w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1318
+ 'account.resolvedBusinessChatLinks':function(w,v){w.uint(2586029857);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1319
+ 'requestedPeerUser':function(w,v){w.uint(3593466986);var flags=0;var _firstName=v.firstName!==undefined;var _lastName=v.lastName!==undefined;var _flags_0=_firstName||_lastName;if(_flags_0)flags|=1;var _username=v.username!==undefined;if(_username)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.int53(h(v,'userId'));if(_flags_0)w.string(v.firstName);if(_flags_0)w.string(v.lastName);if(_username)w.string(v.username);if(_photo)w.object(v.photo);},
1320
+ 'requestedPeerChat':function(w,v){w.uint(1929860175);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.int53(h(v,'chatId'));if(_title)w.string(v.title);if(_photo)w.object(v.photo);},
1321
+ 'requestedPeerChannel':function(w,v){w.uint(2342781924);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _username=v.username!==undefined;if(_username)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;w.uint(flags);w.int53(h(v,'channelId'));if(_title)w.string(v.title);if(_username)w.string(v.username);if(_photo)w.object(v.photo);},
1322
+ 'sponsoredMessageReportOption':function(w,v){w.uint(1124938064);w.string(h(v,'text'));w.bytes(h(v,'option'));},
1323
+ 'channels.sponsoredMessageReportResultChooseOption':function(w,v){w.uint(2221907522);w.string(h(v,'title'));w.vector(w.object,h(v,'options'));},
1324
+ 'channels.sponsoredMessageReportResultAdsHidden':function(w){w.uint(1044107055);},
1325
+ 'channels.sponsoredMessageReportResultReported':function(w){w.uint(2910423113);},
1326
+ 'stats.broadcastRevenueStats':function(w,v){w.uint(1409802903);w.object(h(v,'topHoursGraph'));w.object(h(v,'revenueGraph'));w.object(h(v,'balances'));w.double(h(v,'usdRate'));},
1327
+ 'stats.broadcastRevenueWithdrawalUrl':function(w,v){w.uint(3966080823);w.string(h(v,'url'));},
1328
+ 'broadcastRevenueTransactionProceeds':function(w,v){w.uint(1434332356);w.long(h(v,'amount'));w.int(h(v,'fromDate'));w.int(h(v,'toDate'));},
1329
+ 'broadcastRevenueTransactionWithdrawal':function(w,v){w.uint(1515784568);var flags=0;if(v.pending===true)flags|=1;var _transactionDate=v.transactionDate!==undefined;var _transactionUrl=v.transactionUrl!==undefined;var _flags_1=_transactionDate||_transactionUrl;if(_flags_1)flags|=2;if(v.failed===true)flags|=4;w.uint(flags);w.long(h(v,'amount'));w.int(h(v,'date'));w.string(h(v,'provider'));if(_flags_1)w.int(v.transactionDate);if(_flags_1)w.string(v.transactionUrl);},
1330
+ 'broadcastRevenueTransactionRefund':function(w,v){w.uint(1121127726);w.long(h(v,'amount'));w.int(h(v,'date'));w.string(h(v,'provider'));},
1331
+ 'stats.broadcastRevenueTransactions':function(w,v){w.uint(2266334310);w.int(h(v,'count'));w.vector(w.object,h(v,'transactions'));},
1332
+ 'reactionNotificationsFromContacts':function(w){w.uint(3133384218);},
1333
+ 'reactionNotificationsFromAll':function(w){w.uint(1268654752);},
1334
+ 'reactionsNotifySettings':function(w,v){w.uint(1457736048);var flags=0;var _messagesNotifyFrom=v.messagesNotifyFrom!==undefined;if(_messagesNotifyFrom)flags|=1;var _storiesNotifyFrom=v.storiesNotifyFrom!==undefined;if(_storiesNotifyFrom)flags|=2;w.uint(flags);if(_messagesNotifyFrom)w.object(v.messagesNotifyFrom);if(_storiesNotifyFrom)w.object(v.storiesNotifyFrom);w.object(h(v,'sound'));w.boolean(h(v,'showPreviews'));},
1335
+ 'broadcastRevenueBalances':function(w,v){w.uint(3288297959);var flags=0;if(v.withdrawalEnabled===true)flags|=1;w.uint(flags);w.long(h(v,'currentBalance'));w.long(h(v,'availableBalance'));w.long(h(v,'overallRevenue'));},
1336
+ 'availableEffect':function(w,v){w.uint(2479088254);var flags=0;var _staticIconId=v.staticIconId!==undefined;if(_staticIconId)flags|=1;var _effectAnimationId=v.effectAnimationId!==undefined;if(_effectAnimationId)flags|=2;if(v.premiumRequired===true)flags|=4;w.uint(flags);w.long(h(v,'id'));w.string(h(v,'emoticon'));if(_staticIconId)w.long(v.staticIconId);w.long(h(v,'effectStickerId'));if(_effectAnimationId)w.long(v.effectAnimationId);},
1337
+ 'messages.availableEffectsNotModified':function(w){w.uint(3522009691);},
1338
+ 'messages.availableEffects':function(w,v){w.uint(3185271150);w.int(h(v,'hash'));w.vector(w.object,h(v,'effects'));w.vector(w.object,h(v,'documents'));},
1339
+ 'factCheck':function(w,v){w.uint(3097230543);var flags=0;if(v.needCheck===true)flags|=1;var _country=v.country!==undefined;var _text=v.text!==undefined;var _flags_1=_country||_text;if(_flags_1)flags|=2;w.uint(flags);if(_flags_1)w.string(v.country);if(_flags_1)w.object(v.text);w.long(h(v,'hash'));},
1340
+ 'starsTransactionPeerUnsupported':function(w){w.uint(2515714020);},
1341
+ 'starsTransactionPeerAppStore':function(w){w.uint(3025646453);},
1342
+ 'starsTransactionPeerPlayMarket':function(w){w.uint(2069236235);},
1343
+ 'starsTransactionPeerPremiumBot':function(w){w.uint(621656824);},
1344
+ 'starsTransactionPeerFragment':function(w){w.uint(3912227074);},
1345
+ 'starsTransactionPeer':function(w,v){w.uint(3624771933);w.object(h(v,'peer'));},
1346
+ 'starsTransactionPeerAds':function(w){w.uint(1617438738);},
1347
+ 'starsTransactionPeerAPI':function(w){w.uint(4184308397);},
1348
+ 'starsTopupOption':function(w,v){w.uint(198776256);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;if(v.extended===true)flags|=2;w.uint(flags);w.long(h(v,'stars'));if(_storeProduct)w.string(v.storeProduct);w.string(h(v,'currency'));w.long(h(v,'amount'));},
1349
+ 'starsTransaction':function(w,v){w.uint(903148150);var flags=0;var _title=v.title!==undefined;if(_title)flags|=1;var _description=v.description!==undefined;if(_description)flags|=2;var _photo=v.photo!==undefined;if(_photo)flags|=4;if(v.refund===true)flags|=8;if(v.pending===true)flags|=16;var _transactionDate=v.transactionDate!==undefined;var _transactionUrl=v.transactionUrl!==undefined;var _flags_5=_transactionDate||_transactionUrl;if(_flags_5)flags|=32;if(v.failed===true)flags|=64;var _botPayload=v.botPayload!==undefined;if(_botPayload)flags|=128;var _msgId=v.msgId!==undefined;if(_msgId)flags|=256;var _extendedMedia=v.extendedMedia&&v.extendedMedia.length;if(_extendedMedia)flags|=512;if(v.gift===true)flags|=1024;if(v.reaction===true)flags|=2048;var _subscriptionPeriod=v.subscriptionPeriod!==undefined;if(_subscriptionPeriod)flags|=4096;var _giveawayPostId=v.giveawayPostId!==undefined;if(_giveawayPostId)flags|=8192;var _stargift=v.stargift!==undefined;if(_stargift)flags|=16384;var _floodskipNumber=v.floodskipNumber!==undefined;if(_floodskipNumber)flags|=32768;w.uint(flags);w.string(h(v,'id'));w.long(h(v,'stars'));w.int(h(v,'date'));w.object(h(v,'peer'));if(_title)w.string(v.title);if(_description)w.string(v.description);if(_photo)w.object(v.photo);if(_flags_5)w.int(v.transactionDate);if(_flags_5)w.string(v.transactionUrl);if(_botPayload)w.bytes(v.botPayload);if(_msgId)w.int(v.msgId);if(_extendedMedia)w.vector(w.object,v.extendedMedia);if(_subscriptionPeriod)w.int(v.subscriptionPeriod);if(_giveawayPostId)w.int(v.giveawayPostId);if(_stargift)w.object(v.stargift);if(_floodskipNumber)w.int(v.floodskipNumber);},
1350
+ 'payments.starsStatus':function(w,v){w.uint(3153736044);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;var _subscriptions=v.subscriptions&&v.subscriptions.length;if(_subscriptions)flags|=2;var _subscriptionsNextOffset=v.subscriptionsNextOffset!==undefined;if(_subscriptionsNextOffset)flags|=4;var _history=v.history&&v.history.length;if(_history)flags|=8;var _subscriptionsMissingBalance=v.subscriptionsMissingBalance!==undefined;if(_subscriptionsMissingBalance)flags|=16;w.uint(flags);w.long(h(v,'balance'));if(_subscriptions)w.vector(w.object,v.subscriptions);if(_subscriptionsNextOffset)w.string(v.subscriptionsNextOffset);if(_subscriptionsMissingBalance)w.long(v.subscriptionsMissingBalance);if(_history)w.vector(w.object,v.history);if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1351
+ 'foundStory':function(w,v){w.uint(3900361664);w.object(h(v,'peer'));w.object(h(v,'story'));},
1352
+ 'stories.foundStories':function(w,v){w.uint(3806230327);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);w.int(h(v,'count'));w.vector(w.object,h(v,'stories'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'chats'));w.vector(w.object,h(v,'users'));},
1353
+ 'geoPointAddress':function(w,v){w.uint(3729546643);var flags=0;var _state=v.state!==undefined;if(_state)flags|=1;var _city=v.city!==undefined;if(_city)flags|=2;var _street=v.street!==undefined;if(_street)flags|=4;w.uint(flags);w.string(h(v,'countryIso2'));if(_state)w.string(v.state);if(_city)w.string(v.city);if(_street)w.string(v.street);},
1354
+ 'starsRevenueStatus':function(w,v){w.uint(2033461574);var flags=0;if(v.withdrawalEnabled===true)flags|=1;var _nextWithdrawalAt=v.nextWithdrawalAt!==undefined;if(_nextWithdrawalAt)flags|=2;w.uint(flags);w.long(h(v,'currentBalance'));w.long(h(v,'availableBalance'));w.long(h(v,'overallRevenue'));if(_nextWithdrawalAt)w.int(v.nextWithdrawalAt);},
1355
+ 'payments.starsRevenueStats':function(w,v){w.uint(3375085371);w.object(h(v,'revenueGraph'));w.object(h(v,'status'));w.double(h(v,'usdRate'));},
1356
+ 'payments.starsRevenueWithdrawalUrl':function(w,v){w.uint(497778871);w.string(h(v,'url'));},
1357
+ 'payments.starsRevenueAdsAccountUrl':function(w,v){w.uint(961445665);w.string(h(v,'url'));},
1358
+ 'inputStarsTransaction':function(w,v){w.uint(543876817);var flags=0;if(v.refund===true)flags|=1;w.uint(flags);w.string(h(v,'id'));},
1359
+ 'starsGiftOption':function(w,v){w.uint(1577421297);var flags=0;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=1;if(v.extended===true)flags|=2;w.uint(flags);w.long(h(v,'stars'));if(_storeProduct)w.string(v.storeProduct);w.string(h(v,'currency'));w.long(h(v,'amount'));},
1360
+ 'bots.popularAppBots':function(w,v){w.uint(428978491);var flags=0;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=1;w.uint(flags);if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
1361
+ 'botPreviewMedia':function(w,v){w.uint(602479523);w.int(h(v,'date'));w.object(h(v,'media'));},
1362
+ 'bots.previewInfo':function(w,v){w.uint(212278628);w.vector(w.object,h(v,'media'));w.vector(w.string,h(v,'langCodes'));},
1363
+ 'starsSubscriptionPricing':function(w,v){w.uint(88173912);w.int(h(v,'period'));w.long(h(v,'amount'));},
1364
+ 'starsSubscription':function(w,v){w.uint(779004698);var flags=0;if(v.canceled===true)flags|=1;if(v.canRefulfill===true)flags|=2;if(v.missingBalance===true)flags|=4;var _chatInviteHash=v.chatInviteHash!==undefined;if(_chatInviteHash)flags|=8;var _title=v.title!==undefined;if(_title)flags|=16;var _photo=v.photo!==undefined;if(_photo)flags|=32;var _invoiceSlug=v.invoiceSlug!==undefined;if(_invoiceSlug)flags|=64;if(v.botCanceled===true)flags|=128;w.uint(flags);w.string(h(v,'id'));w.object(h(v,'peer'));w.int(h(v,'untilDate'));w.object(h(v,'pricing'));if(_chatInviteHash)w.string(v.chatInviteHash);if(_title)w.string(v.title);if(_photo)w.object(v.photo);if(_invoiceSlug)w.string(v.invoiceSlug);},
1365
+ 'messageReactor':function(w,v){w.uint(1269016922);var flags=0;if(v.top===true)flags|=1;if(v.my===true)flags|=2;if(v.anonymous===true)flags|=4;var _peerId=v.peerId!==undefined;if(_peerId)flags|=8;w.uint(flags);if(_peerId)w.object(v.peerId);w.int(h(v,'count'));},
1366
+ 'starsGiveawayOption':function(w,v){w.uint(2496562474);var flags=0;if(v.extended===true)flags|=1;if(v.default===true)flags|=2;var _storeProduct=v.storeProduct!==undefined;if(_storeProduct)flags|=4;w.uint(flags);w.long(h(v,'stars'));w.int(h(v,'yearlyBoosts'));if(_storeProduct)w.string(v.storeProduct);w.string(h(v,'currency'));w.long(h(v,'amount'));w.vector(w.object,h(v,'winners'));},
1367
+ 'starsGiveawayWinnersOption':function(w,v){w.uint(1411605001);var flags=0;if(v.default===true)flags|=1;w.uint(flags);w.int(h(v,'users'));w.long(h(v,'perUserStars'));},
1368
+ 'starGift':function(w,v){w.uint(1237678029);var flags=0;var _availabilityRemains=v.availabilityRemains!==undefined;var _availabilityTotal=v.availabilityTotal!==undefined;var _flags_0=v.limited===true||_availabilityRemains||_availabilityTotal;if(_flags_0)flags|=1;var _firstSaleDate=v.firstSaleDate!==undefined;var _lastSaleDate=v.lastSaleDate!==undefined;var _flags_1=v.soldOut===true||_firstSaleDate||_lastSaleDate;if(_flags_1)flags|=2;if(v.birthday===true)flags|=4;w.uint(flags);w.long(h(v,'id'));w.object(h(v,'sticker'));w.long(h(v,'stars'));if(_flags_0)w.int(v.availabilityRemains);if(_flags_0)w.int(v.availabilityTotal);w.long(h(v,'convertStars'));if(_flags_1)w.int(v.firstSaleDate);if(_flags_1)w.int(v.lastSaleDate);},
1369
+ 'payments.starGiftsNotModified':function(w){w.uint(2743640936);},
1370
+ 'payments.starGifts':function(w,v){w.uint(2417396202);w.int(h(v,'hash'));w.vector(w.object,h(v,'gifts'));},
1371
+ 'userStarGift':function(w,v){w.uint(4003764846);var flags=0;if(v.nameHidden===true)flags|=1;var _fromId=v.fromId!==undefined;if(_fromId)flags|=2;var _message=v.message!==undefined;if(_message)flags|=4;var _msgId=v.msgId!==undefined;if(_msgId)flags|=8;var _convertStars=v.convertStars!==undefined;if(_convertStars)flags|=16;if(v.unsaved===true)flags|=32;w.uint(flags);if(_fromId)w.int53(v.fromId);w.int(h(v,'date'));w.object(h(v,'gift'));if(_message)w.object(v.message);if(_msgId)w.int(v.msgId);if(_convertStars)w.long(v.convertStars);},
1372
+ 'payments.userStarGifts':function(w,v){w.uint(1801827607);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,'gifts'));if(_nextOffset)w.string(v.nextOffset);w.vector(w.object,h(v,'users'));},
1373
+ 'messageReportOption':function(w,v){w.uint(2030298073);w.string(h(v,'text'));w.bytes(h(v,'option'));},
1374
+ 'reportResultChooseOption':function(w,v){w.uint(4041531574);w.string(h(v,'title'));w.vector(w.object,h(v,'options'));},
1375
+ 'reportResultAddComment':function(w,v){w.uint(1862904881);var flags=0;if(v.optional===true)flags|=1;w.uint(flags);w.bytes(h(v,'option'));},
1376
+ 'reportResultReported':function(w){w.uint(2377333835);},
1377
+ 'messages.botPreparedInlineMessage':function(w,v){w.uint(2395931921);w.string(h(v,'id'));w.int(h(v,'expireDate'));},
1378
+ 'messages.preparedInlineMessage':function(w,v){w.uint(4283920525);w.long(h(v,'queryId'));w.object(h(v,'result'));w.vector(w.object,h(v,'peerTypes'));w.int(h(v,'cacheTime'));w.vector(w.object,h(v,'users'));},
1379
+ 'botAppSettings':function(w,v){w.uint(3382384976);var flags=0;var _placeholderPath=v.placeholderPath!==undefined;if(_placeholderPath)flags|=1;var _backgroundColor=v.backgroundColor!==undefined;if(_backgroundColor)flags|=2;var _backgroundDarkColor=v.backgroundDarkColor!==undefined;if(_backgroundDarkColor)flags|=4;var _headerColor=v.headerColor!==undefined;if(_headerColor)flags|=8;var _headerDarkColor=v.headerDarkColor!==undefined;if(_headerDarkColor)flags|=16;w.uint(flags);if(_placeholderPath)w.bytes(v.placeholderPath);if(_backgroundColor)w.int(v.backgroundColor);if(_backgroundDarkColor)w.int(v.backgroundDarkColor);if(_headerColor)w.int(v.headerColor);if(_headerDarkColor)w.int(v.headerDarkColor);},
1380
+ 'updateBotSubscriptionExpire':function(w,v){w.uint(756270830);w.long(h(v,'userId'));w.string(h(v,'payload'));w.string(h(v,'invoiceSlug'));w.int(h(v,'untilDate'));w.int(h(v,'qts'));},
1189
1381
  'test.useConfigSimple':function(w){w.uint(4189565501);},
1190
1382
  'test.parseInputAppEvent':function(w){w.uint(3138226161);},
1383
+ 'invokeWithBusinessConnectionPrefix':function(w,v){w.uint(3710427022);w.string(h(v,'connectionId'));},
1384
+ 'invokeWithGooglePlayIntegrityPrefix':function(w,v){w.uint(502868356);w.string(h(v,'nonce'));w.string(h(v,'token'));},
1385
+ 'invokeWithApnsSecretPrefix':function(w,v){w.uint(229528824);w.string(h(v,'nonce'));w.string(h(v,'secret'));},
1191
1386
  'invokeAfterMsg':function(w,v){w.uint(3416209197);w.long(h(v,'msgId'));w.object(h(v,'query'));},
1192
1387
  'invokeAfterMsgs':function(w,v){w.uint(1036301552);w.vector(w.long,h(v,'msgIds'));w.object(h(v,'query'));},
1193
1388
  'initConnection':function(w,v){w.uint(3251461801);var flags=0;var _proxy=v.proxy!==undefined;if(_proxy)flags|=1;var _params=v.params!==undefined;if(_params)flags|=2;w.uint(flags);w.int(h(v,'apiId'));w.string(h(v,'deviceModel'));w.string(h(v,'systemVersion'));w.string(h(v,'appVersion'));w.string(h(v,'systemLangCode'));w.string(h(v,'langPack'));w.string(h(v,'langCode'));if(_proxy)w.object(v.proxy);if(_params)w.object(v.params);w.object(h(v,'query'));},
@@ -1195,8 +1390,11 @@ var m={
1195
1390
  'invokeWithoutUpdates':function(w,v){w.uint(3214170551);w.object(h(v,'query'));},
1196
1391
  'invokeWithMessagesRange':function(w,v){w.uint(911373810);w.object(h(v,'range'));w.object(h(v,'query'));},
1197
1392
  'invokeWithTakeout':function(w,v){w.uint(2896821550);w.long(h(v,'takeoutId'));w.object(h(v,'query'));},
1393
+ 'invokeWithBusinessConnection':function(w,v){w.uint(3710427022);w.string(h(v,'connectionId'));w.object(h(v,'query'));},
1394
+ 'invokeWithGooglePlayIntegrity':function(w,v){w.uint(502868356);w.string(h(v,'nonce'));w.string(h(v,'token'));w.object(h(v,'query'));},
1395
+ 'invokeWithApnsSecret':function(w,v){w.uint(229528824);w.string(h(v,'nonce'));w.string(h(v,'secret'));w.object(h(v,'query'));},
1198
1396
  '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'));},
1199
- 'auth.signUp':function(w,v){w.uint(2163139623);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));w.string(h(v,'firstName'));w.string(h(v,'lastName'));},
1397
+ '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'));},
1200
1398
  '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);},
1201
1399
  'auth.logOut':function(w){w.uint(1047706137);},
1202
1400
  'auth.resetAuthorizations':function(w){w.uint(2678787354);},
@@ -1207,7 +1405,7 @@ var m={
1207
1405
  'auth.checkPassword':function(w,v){w.uint(3515567382);w.object(h(v,'password'));},
1208
1406
  'auth.requestPasswordRecovery':function(w){w.uint(3633822822);},
1209
1407
  'auth.recoverPassword':function(w,v){w.uint(923364464);var flags=0;var _newSettings=v.newSettings!==undefined;if(_newSettings)flags|=1;w.uint(flags);w.string(h(v,'code'));if(_newSettings)w.object(v.newSettings);},
1210
- 'auth.resendCode':function(w,v){w.uint(1056025023);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));},
1408
+ 'auth.resendCode':function(w,v){w.uint(3403969827);var flags=0;var _reason=v.reason!==undefined;if(_reason)flags|=1;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));if(_reason)w.string(v.reason);},
1211
1409
  'auth.cancelCode':function(w,v){w.uint(520357240);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));},
1212
1410
  'auth.dropTempAuthKeys':function(w,v){w.uint(2387124616);w.vector(w.long,h(v,'exceptAuthKeys'));},
1213
1411
  'auth.exportLoginToken':function(w,v){w.uint(3084944894);w.int(h(v,'apiId'));w.string(h(v,'apiHash'));w.vector(w.long,h(v,'exceptIds'));},
@@ -1215,8 +1413,9 @@ var m={
1215
1413
  'auth.acceptLoginToken':function(w,v){w.uint(3902057805);w.bytes(h(v,'token'));},
1216
1414
  'auth.checkRecoveryPassword':function(w,v){w.uint(221691769);w.string(h(v,'code'));},
1217
1415
  'auth.importWebTokenAuthorization':function(w,v){w.uint(767062953);w.int(h(v,'apiId'));w.string(h(v,'apiHash'));w.string(h(v,'webAuthToken'));},
1218
- 'auth.requestFirebaseSms':function(w,v){w.uint(2303085392);var flags=0;var _safetyNetToken=v.safetyNetToken!==undefined;if(_safetyNetToken)flags|=1;var _iosPushSecret=v.iosPushSecret!==undefined;if(_iosPushSecret)flags|=2;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));if(_safetyNetToken)w.string(v.safetyNetToken);if(_iosPushSecret)w.string(v.iosPushSecret);},
1416
+ 'auth.requestFirebaseSms':function(w,v){w.uint(2386109982);var flags=0;var _safetyNetToken=v.safetyNetToken!==undefined;if(_safetyNetToken)flags|=1;var _iosPushSecret=v.iosPushSecret!==undefined;if(_iosPushSecret)flags|=2;var _playIntegrityToken=v.playIntegrityToken!==undefined;if(_playIntegrityToken)flags|=4;w.uint(flags);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));if(_safetyNetToken)w.string(v.safetyNetToken);if(_playIntegrityToken)w.string(v.playIntegrityToken);if(_iosPushSecret)w.string(v.iosPushSecret);},
1219
1417
  'auth.resetLoginEmail':function(w,v){w.uint(2123760019);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));},
1418
+ 'auth.reportMissingCode':function(w,v){w.uint(3416125430);w.string(h(v,'phoneNumber'));w.string(h(v,'phoneCodeHash'));w.string(h(v,'mnc'));},
1220
1419
  'account.registerDevice':function(w,v){w.uint(3968205178);var flags=0;if(v.noMuted===true)flags|=1;w.uint(flags);w.int(h(v,'tokenType'));w.string(h(v,'token'));w.boolean(h(v,'appSandbox'));w.bytes(h(v,'secret'));w.vector(w.int53,h(v,'otherUids'));},
1221
1420
  'account.unregisterDevice':function(w,v){w.uint(1779249670);w.int(h(v,'tokenType'));w.string(h(v,'token'));w.vector(w.int53,h(v,'otherUids'));},
1222
1421
  'account.updateNotifySettings':function(w,v){w.uint(2227067795);w.object(h(v,'peer'));w.object(h(v,'settings'));},
@@ -1305,9 +1504,34 @@ var m={
1305
1504
  'account.saveAutoSaveSettings':function(w,v){w.uint(3600515937);var flags=0;if(v.users===true)flags|=1;if(v.chats===true)flags|=2;if(v.broadcasts===true)flags|=4;var _peer=v.peer!==undefined;if(_peer)flags|=8;w.uint(flags);if(_peer)w.object(v.peer);w.object(h(v,'settings'));},
1306
1505
  'account.deleteAutoSaveExceptions':function(w){w.uint(1404829728);},
1307
1506
  'account.invalidateSignInCodes':function(w,v){w.uint(3398101178);w.vector(w.string,h(v,'codes'));},
1507
+ '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);},
1508
+ 'account.getDefaultBackgroundEmojis':function(w,v){w.uint(2785720782);w.long(h(v,'hash'));},
1509
+ 'account.getChannelDefaultEmojiStatuses':function(w,v){w.uint(1999087573);w.long(h(v,'hash'));},
1510
+ 'account.getChannelRestrictedStatusEmojis':function(w,v){w.uint(900325589);w.long(h(v,'hash'));},
1511
+ 'account.updateBusinessWorkHours':function(w,v){w.uint(1258348646);var flags=0;var _businessWorkHours=v.businessWorkHours!==undefined;if(_businessWorkHours)flags|=1;w.uint(flags);if(_businessWorkHours)w.object(v.businessWorkHours);},
1512
+ 'account.updateBusinessLocation':function(w,v){w.uint(2657817370);var flags=0;var _address=v.address!==undefined;if(_address)flags|=1;var _geoPoint=v.geoPoint!==undefined;if(_geoPoint)flags|=2;w.uint(flags);if(_geoPoint)w.object(v.geoPoint);if(_address)w.string(v.address);},
1513
+ 'account.updateBusinessGreetingMessage':function(w,v){w.uint(1724755908);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;w.uint(flags);if(_message)w.object(v.message);},
1514
+ 'account.updateBusinessAwayMessage':function(w,v){w.uint(2724888485);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;w.uint(flags);if(_message)w.object(v.message);},
1515
+ 'account.updateConnectedBot':function(w,v){w.uint(1138250269);var flags=0;if(v.canReply===true)flags|=1;if(v.deleted===true)flags|=2;w.uint(flags);w.object(h(v,'bot'));w.object(h(v,'recipients'));},
1516
+ 'account.getConnectedBots':function(w){w.uint(1319421967);},
1517
+ 'account.getBotBusinessConnection':function(w,v){w.uint(1990746736);w.string(h(v,'connectionId'));},
1518
+ 'account.updateBusinessIntro':function(w,v){w.uint(2786381876);var flags=0;var _intro=v.intro!==undefined;if(_intro)flags|=1;w.uint(flags);if(_intro)w.object(v.intro);},
1519
+ 'account.toggleConnectedBotPaused':function(w,v){w.uint(1684934807);w.object(h(v,'peer'));w.boolean(h(v,'paused'));},
1520
+ 'account.disablePeerConnectedBot':function(w,v){w.uint(1581481689);w.object(h(v,'peer'));},
1521
+ 'account.updateBirthday':function(w,v){w.uint(3429764113);var flags=0;var _birthday=v.birthday!==undefined;if(_birthday)flags|=1;w.uint(flags);if(_birthday)w.object(v.birthday);},
1522
+ 'account.createBusinessChatLink':function(w,v){w.uint(2287068814);w.object(h(v,'link'));},
1523
+ 'account.editBusinessChatLink':function(w,v){w.uint(2352222383);w.string(h(v,'slug'));w.object(h(v,'link'));},
1524
+ 'account.deleteBusinessChatLink':function(w,v){w.uint(1611085428);w.string(h(v,'slug'));},
1525
+ 'account.getBusinessChatLinks':function(w){w.uint(1869667809);},
1526
+ 'account.resolveBusinessChatLink':function(w,v){w.uint(1418913262);w.string(h(v,'slug'));},
1527
+ 'account.updatePersonalChannel':function(w,v){w.uint(3645048288);w.object(h(v,'channel'));},
1528
+ 'account.toggleSponsoredMessages':function(w,v){w.uint(3118048141);w.boolean(h(v,'enabled'));},
1529
+ 'account.getReactionsNotifySettings':function(w){w.uint(115172684);},
1530
+ 'account.setReactionsNotifySettings':function(w,v){w.uint(829220168);w.object(h(v,'settings'));},
1308
1531
  'users.getUsers':function(w,v){w.uint(227648840);w.vector(w.object,h(v,'id'));},
1309
1532
  'users.getFullUser':function(w,v){w.uint(3054459160);w.object(h(v,'id'));},
1310
1533
  'users.setSecureValueErrors':function(w,v){w.uint(2429064373);w.object(h(v,'id'));w.vector(w.object,h(v,'errors'));},
1534
+ 'users.getIsPremiumRequiredToContact':function(w,v){w.uint(2787289616);w.vector(w.object,h(v,'id'));},
1311
1535
  'contacts.getContactIDs':function(w,v){w.uint(2061264541);w.long(h(v,'hash'));},
1312
1536
  'contacts.getStatuses':function(w){w.uint(3299038190);},
1313
1537
  'contacts.getContacts':function(w,v){w.uint(1574346258);w.long(h(v,'hash'));},
@@ -1319,7 +1543,7 @@ var m={
1319
1543
  'contacts.getBlocked':function(w,v){w.uint(2592509824);var flags=0;if(v.myStoriesFrom===true)flags|=1;w.uint(flags);w.int(h(v,'offset'));w.int(h(v,'limit'));},
1320
1544
  'contacts.search':function(w,v){w.uint(301470424);w.string(h(v,'q'));w.int(h(v,'limit'));},
1321
1545
  'contacts.resolveUsername':function(w,v){w.uint(4181511075);w.string(h(v,'username'));},
1322
- 'contacts.getTopPeers':function(w,v){w.uint(2536798390);var flags=0;if(v.correspondents===true)flags|=1;if(v.botsPm===true)flags|=2;if(v.botsInline===true)flags|=4;if(v.phoneCalls===true)flags|=8;if(v.forwardUsers===true)flags|=16;if(v.forwardChats===true)flags|=32;if(v.groups===true)flags|=1024;if(v.channels===true)flags|=32768;w.uint(flags);w.int(h(v,'offset'));w.int(h(v,'limit'));w.long(h(v,'hash'));},
1546
+ 'contacts.getTopPeers':function(w,v){w.uint(2536798390);var flags=0;if(v.correspondents===true)flags|=1;if(v.botsPm===true)flags|=2;if(v.botsInline===true)flags|=4;if(v.phoneCalls===true)flags|=8;if(v.forwardUsers===true)flags|=16;if(v.forwardChats===true)flags|=32;if(v.groups===true)flags|=1024;if(v.channels===true)flags|=32768;if(v.botsApp===true)flags|=65536;w.uint(flags);w.int(h(v,'offset'));w.int(h(v,'limit'));w.long(h(v,'hash'));},
1323
1547
  'contacts.resetTopPeerRating':function(w,v){w.uint(451113900);w.object(h(v,'category'));w.object(h(v,'peer'));},
1324
1548
  'contacts.resetSaved':function(w){w.uint(2274703345);},
1325
1549
  'contacts.getSaved':function(w){w.uint(2196890527);},
@@ -1333,28 +1557,29 @@ var m={
1333
1557
  'contacts.importContactToken':function(w,v){w.uint(318789512);w.string(h(v,'token'));},
1334
1558
  'contacts.editCloseFriends':function(w,v){w.uint(3127313904);w.vector(w.int53,h(v,'id'));},
1335
1559
  'contacts.setBlocked':function(w,v){w.uint(2496027766);var flags=0;if(v.myStoriesFrom===true)flags|=1;w.uint(flags);w.vector(w.object,h(v,'id'));w.int(h(v,'limit'));},
1560
+ 'contacts.getBirthdays':function(w){w.uint(3673008228);},
1336
1561
  'messages.getMessages':function(w,v){w.uint(1673946374);w.vector(w.object,h(v,'id'));},
1337
1562
  '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'));},
1338
1563
  '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'));},
1339
- 'messages.search':function(w,v){w.uint(2700978018);var flags=0;var _fromId=v.fromId!==undefined;if(_fromId)flags|=1;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'q'));if(_fromId)w.object(v.fromId);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'));},
1564
+ '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'));},
1340
1565
  'messages.readHistory':function(w,v){w.uint(238054714);w.object(h(v,'peer'));w.int(h(v,'maxId'));},
1341
1566
  '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);},
1342
1567
  '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'));},
1343
1568
  'messages.receivedMessages':function(w,v){w.uint(94983360);w.int(h(v,'maxId'));},
1344
1569
  'messages.setTyping':function(w,v){w.uint(1486110434);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_topMsgId)w.int(v.topMsgId);w.object(h(v,'action'));},
1345
- 'messages.sendMessage':function(w,v){w.uint(671943023);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.noWebpage===true)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.string(h(v,'message'));w.long(h(v,'randomId'));if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);},
1346
- 'messages.sendMedia':function(w,v){w.uint(1926021693);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.object(h(v,'media'));w.string(h(v,'message'));w.long(h(v,'randomId'));if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);},
1347
- 'messages.forwardMessages':function(w,v){w.uint(3328293828);var flags=0;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.withMyScore===true)flags|=256;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=512;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;if(v.dropAuthor===true)flags|=2048;if(v.dropMediaCaptions===true)flags|=4096;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;w.uint(flags);w.object(h(v,'fromPeer'));w.vector(w.int,h(v,'id'));w.vector(w.long,h(v,'randomId'));w.object(h(v,'toPeer'));if(_topMsgId)w.int(v.topMsgId);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);},
1570
+ 'messages.sendMessage':function(w,v){w.uint(2554304325);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.noWebpage===true)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;var _effect=v.effect!==undefined;if(_effect)flags|=262144;if(v.allowPaidFloodskip===true)flags|=524288;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.string(h(v,'message'));w.long(h(v,'randomId'));if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);if(_effect)w.long(v.effect);},
1571
+ 'messages.sendMedia':function(w,v){w.uint(2018673486);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;var _effect=v.effect!==undefined;if(_effect)flags|=262144;if(v.allowPaidFloodskip===true)flags|=524288;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.object(h(v,'media'));w.string(h(v,'message'));w.long(h(v,'randomId'));if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);if(_effect)w.long(v.effect);},
1572
+ 'messages.forwardMessages':function(w,v){w.uint(3573781000);var flags=0;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.withMyScore===true)flags|=256;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=512;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;if(v.dropAuthor===true)flags|=2048;if(v.dropMediaCaptions===true)flags|=4096;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;if(v.allowPaidFloodskip===true)flags|=524288;w.uint(flags);w.object(h(v,'fromPeer'));w.vector(w.int,h(v,'id'));w.vector(w.long,h(v,'randomId'));w.object(h(v,'toPeer'));if(_topMsgId)w.int(v.topMsgId);if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);},
1348
1573
  'messages.reportSpam':function(w,v){w.uint(3474297563);w.object(h(v,'peer'));},
1349
1574
  'messages.getPeerSettings':function(w,v){w.uint(4024018594);w.object(h(v,'peer'));},
1350
- 'messages.report':function(w,v){w.uint(2303961934);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));w.object(h(v,'reason'));w.string(h(v,'message'));},
1575
+ 'messages.report':function(w,v){w.uint(4235767707);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));w.bytes(h(v,'option'));w.string(h(v,'message'));},
1351
1576
  'messages.getChats':function(w,v){w.uint(1240027791);w.vector(w.int53,h(v,'id'));},
1352
1577
  'messages.getFullChat':function(w,v){w.uint(2930772788);w.int53(h(v,'chatId'));},
1353
1578
  'messages.editChatTitle':function(w,v){w.uint(1937260541);w.int53(h(v,'chatId'));w.string(h(v,'title'));},
1354
1579
  'messages.editChatPhoto':function(w,v){w.uint(903730804);w.int53(h(v,'chatId'));w.object(h(v,'photo'));},
1355
- 'messages.addChatUser':function(w,v){w.uint(4064760803);w.int53(h(v,'chatId'));w.object(h(v,'userId'));w.int(h(v,'fwdLimit'));},
1580
+ 'messages.addChatUser':function(w,v){w.uint(3418804487);w.int53(h(v,'chatId'));w.object(h(v,'userId'));w.int(h(v,'fwdLimit'));},
1356
1581
  'messages.deleteChatUser':function(w,v){w.uint(2719505579);var flags=0;if(v.revokeHistory===true)flags|=1;w.uint(flags);w.int53(h(v,'chatId'));w.object(h(v,'userId'));},
1357
- 'messages.createChat':function(w,v){w.uint(3450904);var flags=0;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=1;w.uint(flags);w.vector(w.object,h(v,'users'));w.string(h(v,'title'));if(_ttlPeriod)w.int(v.ttlPeriod);},
1582
+ 'messages.createChat':function(w,v){w.uint(2463030740);var flags=0;var _ttlPeriod=v.ttlPeriod!==undefined;if(_ttlPeriod)flags|=1;w.uint(flags);w.vector(w.object,h(v,'users'));w.string(h(v,'title'));if(_ttlPeriod)w.int(v.ttlPeriod);},
1358
1583
  'messages.getDhConfig':function(w,v){w.uint(651135312);w.int(h(v,'version'));w.int(h(v,'randomLength'));},
1359
1584
  'messages.requestEncryption':function(w,v){w.uint(4132286275);w.object(h(v,'userId'));w.int(h(v,'randomId'));w.bytes(h(v,'gA'));},
1360
1585
  'messages.acceptEncryption':function(w,v){w.uint(1035731989);w.object(h(v,'peer'));w.bytes(h(v,'gB'));w.long(h(v,'keyFingerprint'));},
@@ -1370,7 +1595,7 @@ var m={
1370
1595
  'messages.getStickers':function(w,v){w.uint(3584414625);w.string(h(v,'emoticon'));w.long(h(v,'hash'));},
1371
1596
  'messages.getAllStickers':function(w,v){w.uint(3097534888);w.long(h(v,'hash'));},
1372
1597
  'messages.getWebPagePreview':function(w,v){w.uint(2338894028);var flags=0;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;w.uint(flags);w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);},
1373
- 'messages.exportChatInvite':function(w,v){w.uint(2687296981);var flags=0;var _expireDate=v.expireDate!==undefined;if(_expireDate)flags|=1;var _usageLimit=v.usageLimit!==undefined;if(_usageLimit)flags|=2;if(v.legacyRevokePermanent===true)flags|=4;if(v.requestNeeded===true)flags|=8;var _title=v.title!==undefined;if(_title)flags|=16;w.uint(flags);w.object(h(v,'peer'));if(_expireDate)w.int(v.expireDate);if(_usageLimit)w.int(v.usageLimit);if(_title)w.string(v.title);},
1598
+ 'messages.exportChatInvite':function(w,v){w.uint(2757090960);var flags=0;var _expireDate=v.expireDate!==undefined;if(_expireDate)flags|=1;var _usageLimit=v.usageLimit!==undefined;if(_usageLimit)flags|=2;if(v.legacyRevokePermanent===true)flags|=4;if(v.requestNeeded===true)flags|=8;var _title=v.title!==undefined;if(_title)flags|=16;var _subscriptionPricing=v.subscriptionPricing!==undefined;if(_subscriptionPricing)flags|=32;w.uint(flags);w.object(h(v,'peer'));if(_expireDate)w.int(v.expireDate);if(_usageLimit)w.int(v.usageLimit);if(_title)w.string(v.title);if(_subscriptionPricing)w.object(v.subscriptionPricing);},
1374
1599
  'messages.checkChatInvite':function(w,v){w.uint(1051570619);w.string(h(v,'hash'));},
1375
1600
  'messages.importChatInvite':function(w,v){w.uint(1817183516);w.string(h(v,'hash'));},
1376
1601
  'messages.getStickerSet':function(w,v){w.uint(3365989492);w.object(h(v,'stickerset'));w.int(h(v,'hash'));},
@@ -1380,21 +1605,21 @@ var m={
1380
1605
  'messages.getMessagesViews':function(w,v){w.uint(1468322785);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));w.boolean(h(v,'increment'));},
1381
1606
  'messages.editChatAdmin':function(w,v){w.uint(2824589762);w.int53(h(v,'chatId'));w.object(h(v,'userId'));w.boolean(h(v,'isAdmin'));},
1382
1607
  'messages.migrateChat':function(w,v){w.uint(2726777625);w.int53(h(v,'chatId'));},
1383
- 'messages.searchGlobal':function(w,v){w.uint(1271290010);var flags=0;var _folderId=v.folderId!==undefined;if(_folderId)flags|=1;w.uint(flags);if(_folderId)w.int(v.folderId);w.string(h(v,'q'));w.object(h(v,'filter'));w.int(h(v,'minDate'));w.int(h(v,'maxDate'));w.int(h(v,'offsetRate'));w.object(h(v,'offsetPeer'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
1608
+ 'messages.searchGlobal':function(w,v){w.uint(1271290010);var flags=0;var _folderId=v.folderId!==undefined;if(_folderId)flags|=1;if(v.broadcastsOnly===true)flags|=2;w.uint(flags);if(_folderId)w.int(v.folderId);w.string(h(v,'q'));w.object(h(v,'filter'));w.int(h(v,'minDate'));w.int(h(v,'maxDate'));w.int(h(v,'offsetRate'));w.object(h(v,'offsetPeer'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
1384
1609
  'messages.reorderStickerSets':function(w,v){w.uint(2016638777);var flags=0;if(v.masks===true)flags|=1;if(v.emojis===true)flags|=2;w.uint(flags);w.vector(w.long,h(v,'order'));},
1385
1610
  'messages.getDocumentByHash':function(w,v){w.uint(2985428511);w.bytes(h(v,'sha256'));w.int53(h(v,'size'));w.string(h(v,'mimeType'));},
1386
1611
  'messages.getSavedGifs':function(w,v){w.uint(1559270965);w.long(h(v,'hash'));},
1387
1612
  'messages.saveGif':function(w,v){w.uint(846868683);w.object(h(v,'id'));w.boolean(h(v,'unsave'));},
1388
1613
  'messages.getInlineBotResults':function(w,v){w.uint(1364105629);var flags=0;var _geoPoint=v.geoPoint!==undefined;if(_geoPoint)flags|=1;w.uint(flags);w.object(h(v,'bot'));w.object(h(v,'peer'));if(_geoPoint)w.object(v.geoPoint);w.string(h(v,'query'));w.string(h(v,'offset'));},
1389
1614
  'messages.setInlineBotResults':function(w,v){w.uint(3138561049);var flags=0;if(v.gallery===true)flags|=1;if(v.private===true)flags|=2;var _nextOffset=v.nextOffset!==undefined;if(_nextOffset)flags|=4;var _switchPm=v.switchPm!==undefined;if(_switchPm)flags|=8;var _switchWebview=v.switchWebview!==undefined;if(_switchWebview)flags|=16;w.uint(flags);w.long(h(v,'queryId'));w.vector(w.object,h(v,'results'));w.int(h(v,'cacheTime'));if(_nextOffset)w.string(v.nextOffset);if(_switchPm)w.object(v.switchPm);if(_switchWebview)w.object(v.switchWebview);},
1390
- 'messages.sendInlineBotResult':function(w,v){w.uint(4156319930);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;if(v.hideVia===true)flags|=2048;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.long(h(v,'randomId'));w.long(h(v,'queryId'));w.string(h(v,'id'));if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);},
1615
+ 'messages.sendInlineBotResult':function(w,v){w.uint(1052698730);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;if(v.hideVia===true)flags|=2048;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.long(h(v,'randomId'));w.long(h(v,'queryId'));w.string(h(v,'id'));if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);},
1391
1616
  'messages.getMessageEditData':function(w,v){w.uint(4255550774);w.object(h(v,'peer'));w.int(h(v,'id'));},
1392
- 'messages.editMessage':function(w,v){w.uint(1224152952);var flags=0;if(v.noWebpage===true)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _message=v.message!==undefined;if(_message)flags|=2048;var _media=v.media!==undefined;if(_media)flags|=16384;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=32768;if(v.invertMedia===true)flags|=65536;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_message)w.string(v.message);if(_media)w.object(v.media);if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_scheduleDate)w.int(v.scheduleDate);},
1617
+ 'messages.editMessage':function(w,v){w.uint(3755032581);var flags=0;if(v.noWebpage===true)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _message=v.message!==undefined;if(_message)flags|=2048;var _media=v.media!==undefined;if(_media)flags|=16384;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=32768;if(v.invertMedia===true)flags|=65536;var _quickReplyShortcutId=v.quickReplyShortcutId!==undefined;if(_quickReplyShortcutId)flags|=131072;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_message)w.string(v.message);if(_media)w.object(v.media);if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);if(_scheduleDate)w.int(v.scheduleDate);if(_quickReplyShortcutId)w.int(v.quickReplyShortcutId);},
1393
1618
  'messages.editInlineBotMessage':function(w,v){w.uint(2203418042);var flags=0;if(v.noWebpage===true)flags|=2;var _replyMarkup=v.replyMarkup!==undefined;if(_replyMarkup)flags|=4;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _message=v.message!==undefined;if(_message)flags|=2048;var _media=v.media!==undefined;if(_media)flags|=16384;if(v.invertMedia===true)flags|=65536;w.uint(flags);w.object(h(v,'id'));if(_message)w.string(v.message);if(_media)w.object(v.media);if(_replyMarkup)w.object(v.replyMarkup);if(_entities)w.vector(w.object,v.entities);},
1394
1619
  'messages.getBotCallbackAnswer':function(w,v){w.uint(2470627847);var flags=0;var _data=v.data!==undefined;if(_data)flags|=1;if(v.game===true)flags|=2;var _password=v.password!==undefined;if(_password)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));if(_data)w.bytes(v.data);if(_password)w.object(v.password);},
1395
1620
  'messages.setBotCallbackAnswer':function(w,v){w.uint(3582923530);var flags=0;var _message=v.message!==undefined;if(_message)flags|=1;if(v.alert===true)flags|=2;var _url=v.url!==undefined;if(_url)flags|=4;w.uint(flags);w.long(h(v,'queryId'));if(_message)w.string(v.message);if(_url)w.string(v.url);w.int(h(v,'cacheTime'));},
1396
1621
  'messages.getPeerDialogs':function(w,v){w.uint(3832593661);w.vector(w.object,h(v,'peers'));},
1397
- 'messages.saveDraft':function(w,v){w.uint(2146678790);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.object(h(v,'peer'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);},
1622
+ 'messages.saveDraft':function(w,v){w.uint(3547514318);var flags=0;if(v.noWebpage===true)flags|=2;var _entities=v.entities&&v.entities.length;if(_entities)flags|=8;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=16;var _media=v.media!==undefined;if(_media)flags|=32;if(v.invertMedia===true)flags|=64;var _effect=v.effect!==undefined;if(_effect)flags|=128;w.uint(flags);if(_replyTo)w.object(v.replyTo);w.object(h(v,'peer'));w.string(h(v,'message'));if(_entities)w.vector(w.object,v.entities);if(_media)w.object(v.media);if(_effect)w.long(v.effect);},
1398
1623
  'messages.getAllDrafts':function(w){w.uint(1782549861);},
1399
1624
  'messages.getFeaturedStickers':function(w,v){w.uint(1685588756);w.long(h(v,'hash'));},
1400
1625
  'messages.readFeaturedStickers':function(w,v){w.uint(1527873830);w.vector(w.long,h(v,'id'));},
@@ -1415,14 +1640,14 @@ var m={
1415
1640
  'messages.getPinnedDialogs':function(w,v){w.uint(3602468338);w.int(h(v,'folderId'));},
1416
1641
  'messages.setBotShippingResults':function(w,v){w.uint(3858133754);var flags=0;var _error=v.error!==undefined;if(_error)flags|=1;var _shippingOptions=v.shippingOptions&&v.shippingOptions.length;if(_shippingOptions)flags|=2;w.uint(flags);w.long(h(v,'queryId'));if(_error)w.string(v.error);if(_shippingOptions)w.vector(w.object,v.shippingOptions);},
1417
1642
  'messages.setBotPrecheckoutResults':function(w,v){w.uint(163765653);var flags=0;var _error=v.error!==undefined;if(_error)flags|=1;if(v.success===true)flags|=2;w.uint(flags);w.long(h(v,'queryId'));if(_error)w.string(v.error);},
1418
- 'messages.uploadMedia':function(w,v){w.uint(1369162417);w.object(h(v,'peer'));w.object(h(v,'media'));},
1643
+ 'messages.uploadMedia':function(w,v){w.uint(345405816);var flags=0;var _businessConnectionId=v.businessConnectionId!==undefined;if(_businessConnectionId)flags|=1;w.uint(flags);if(_businessConnectionId)w.string(v.businessConnectionId);w.object(h(v,'peer'));w.object(h(v,'media'));},
1419
1644
  'messages.sendScreenshotNotification':function(w,v){w.uint(2705348631);w.object(h(v,'peer'));w.object(h(v,'replyTo'));w.long(h(v,'randomId'));},
1420
1645
  'messages.getFavedStickers':function(w,v){w.uint(82946729);w.long(h(v,'hash'));},
1421
1646
  'messages.faveSticker':function(w,v){w.uint(3120547163);w.object(h(v,'id'));w.boolean(h(v,'unfave'));},
1422
1647
  'messages.getUnreadMentions':function(w,v){w.uint(4043827088);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_topMsgId)w.int(v.topMsgId);w.int(h(v,'offsetId'));w.int(h(v,'addOffset'));w.int(h(v,'limit'));w.int(h(v,'maxId'));w.int(h(v,'minId'));},
1423
1648
  'messages.readMentions':function(w,v){w.uint(921026381);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_topMsgId)w.int(v.topMsgId);},
1424
1649
  'messages.getRecentLocations':function(w,v){w.uint(1881817312);w.object(h(v,'peer'));w.int(h(v,'limit'));w.long(h(v,'hash'));},
1425
- 'messages.sendMultiMedia':function(w,v){w.uint(1164872071);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.vector(w.object,h(v,'multiMedia'));if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);},
1650
+ 'messages.sendMultiMedia':function(w,v){w.uint(934757205);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.silent===true)flags|=32;if(v.background===true)flags|=64;if(v.clearDraft===true)flags|=128;var _scheduleDate=v.scheduleDate!==undefined;if(_scheduleDate)flags|=1024;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;if(v.noforwards===true)flags|=16384;if(v.updateStickersetsOrder===true)flags|=32768;if(v.invertMedia===true)flags|=65536;var _quickReplyShortcut=v.quickReplyShortcut!==undefined;if(_quickReplyShortcut)flags|=131072;var _effect=v.effect!==undefined;if(_effect)flags|=262144;if(v.allowPaidFloodskip===true)flags|=524288;w.uint(flags);w.object(h(v,'peer'));if(_replyTo)w.object(v.replyTo);w.vector(w.object,h(v,'multiMedia'));if(_scheduleDate)w.int(v.scheduleDate);if(_sendAs)w.object(v.sendAs);if(_quickReplyShortcut)w.object(v.quickReplyShortcut);if(_effect)w.long(v.effect);},
1426
1651
  'messages.uploadEncryptedFile':function(w,v){w.uint(1347929239);w.object(h(v,'peer'));w.object(h(v,'file'));},
1427
1652
  'messages.searchStickerSets':function(w,v){w.uint(896555914);var flags=0;if(v.excludeFeatured===true)flags|=1;w.uint(flags);w.string(h(v,'q'));w.long(h(v,'hash'));},
1428
1653
  'messages.getSplitRanges':function(w){w.uint(486505992);},
@@ -1439,7 +1664,7 @@ var m={
1439
1664
  'messages.getEmojiKeywordsDifference':function(w,v){w.uint(352892591);w.string(h(v,'langCode'));w.int(h(v,'fromVersion'));},
1440
1665
  'messages.getEmojiKeywordsLanguages':function(w,v){w.uint(1318675378);w.vector(w.string,h(v,'langCodes'));},
1441
1666
  'messages.getEmojiURL':function(w,v){w.uint(3585149990);w.string(h(v,'langCode'));},
1442
- 'messages.getSearchCounters':function(w,v){w.uint(11435201);var flags=0;var _topMsgId=v.topMsgId!==undefined;if(_topMsgId)flags|=1;w.uint(flags);w.object(h(v,'peer'));if(_topMsgId)w.int(v.topMsgId);w.vector(w.object,h(v,'filters'));},
1667
+ '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'));},
1443
1668
  '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);},
1444
1669
  '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);},
1445
1670
  'messages.hidePeerSettingsBar':function(w,v){w.uint(1336717624);w.object(h(v,'peer'));},
@@ -1449,7 +1674,7 @@ var m={
1449
1674
  'messages.deleteScheduledMessages':function(w,v){w.uint(1504586518);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
1450
1675
  'messages.getPollVotes':function(w,v){w.uint(3094231054);var flags=0;var _option=v.option!==undefined;if(_option)flags|=1;var _offset=v.offset!==undefined;if(_offset)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_option)w.bytes(v.option);if(_offset)w.string(v.offset);w.int(h(v,'limit'));},
1451
1676
  'messages.toggleStickerSets':function(w,v){w.uint(3037016042);var flags=0;if(v.uninstall===true)flags|=1;if(v.archive===true)flags|=2;if(v.unarchive===true)flags|=4;w.uint(flags);w.vector(w.object,h(v,'stickersets'));},
1452
- 'messages.getDialogFilters':function(w){w.uint(4053719405);},
1677
+ 'messages.getDialogFilters':function(w){w.uint(4023684233);},
1453
1678
  'messages.getSuggestedDialogFilters':function(w){w.uint(2728186924);},
1454
1679
  'messages.updateDialogFilter':function(w,v){w.uint(450142282);var flags=0;var _filter=v.filter!==undefined;if(_filter)flags|=1;w.uint(flags);w.int(h(v,'id'));if(_filter)w.object(v.filter);},
1455
1680
  'messages.updateDialogFiltersOrder':function(w,v){w.uint(3311649252);w.vector(w.int,h(v,'order'));},
@@ -1470,13 +1695,13 @@ var m={
1470
1695
  'messages.deleteRevokedExportedChatInvites':function(w,v){w.uint(1452833749);w.object(h(v,'peer'));w.object(h(v,'adminId'));},
1471
1696
  'messages.deleteExportedChatInvite':function(w,v){w.uint(3563365419);w.object(h(v,'peer'));w.string(h(v,'link'));},
1472
1697
  'messages.getAdminsWithInvites':function(w,v){w.uint(958457583);w.object(h(v,'peer'));},
1473
- 'messages.getChatInviteImporters':function(w,v){w.uint(3741637966);var flags=0;if(v.requested===true)flags|=1;var _link=v.link!==undefined;if(_link)flags|=2;var _q=v.q!==undefined;if(_q)flags|=4;w.uint(flags);w.object(h(v,'peer'));if(_link)w.string(v.link);if(_q)w.string(v.q);w.int(h(v,'offsetDate'));w.object(h(v,'offsetUser'));w.int(h(v,'limit'));},
1698
+ 'messages.getChatInviteImporters':function(w,v){w.uint(3741637966);var flags=0;if(v.requested===true)flags|=1;var _link=v.link!==undefined;if(_link)flags|=2;var _q=v.q!==undefined;if(_q)flags|=4;if(v.subscriptionExpired===true)flags|=8;w.uint(flags);w.object(h(v,'peer'));if(_link)w.string(v.link);if(_q)w.string(v.q);w.int(h(v,'offsetDate'));w.object(h(v,'offsetUser'));w.int(h(v,'limit'));},
1474
1699
  'messages.setHistoryTTL':function(w,v){w.uint(3087949796);w.object(h(v,'peer'));w.int(h(v,'period'));},
1475
1700
  'messages.checkHistoryImportPeer':function(w,v){w.uint(1573261059);w.object(h(v,'peer'));},
1476
1701
  'messages.setChatTheme':function(w,v){w.uint(3862683967);w.object(h(v,'peer'));w.string(h(v,'emoticon'));},
1477
1702
  'messages.getMessageReadParticipants':function(w,v){w.uint(834782287);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
1478
- 'messages.getSearchResultsCalendar':function(w,v){w.uint(1240514025);w.object(h(v,'peer'));w.object(h(v,'filter'));w.int(h(v,'offsetId'));w.int(h(v,'offsetDate'));},
1479
- 'messages.getSearchResultsPositions':function(w,v){w.uint(1855292323);w.object(h(v,'peer'));w.object(h(v,'filter'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
1703
+ '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'));},
1704
+ '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'));},
1480
1705
  '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'));},
1481
1706
  '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);},
1482
1707
  'messages.toggleNoForwards':function(w,v){w.uint(2971578274);w.object(h(v,'peer'));w.boolean(h(v,'enabled'));},
@@ -1484,7 +1709,7 @@ var m={
1484
1709
  'messages.sendReaction':function(w,v){w.uint(3540875476);var flags=0;var _reaction=v.reaction&&v.reaction.length;if(_reaction)flags|=1;if(v.big===true)flags|=2;if(v.addToRecent===true)flags|=4;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));if(_reaction)w.vector(w.object,v.reaction);},
1485
1710
  'messages.getMessagesReactions':function(w,v){w.uint(2344259814);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
1486
1711
  'messages.getMessageReactionsList':function(w,v){w.uint(1176190792);var flags=0;var _reaction=v.reaction!==undefined;if(_reaction)flags|=1;var _offset=v.offset!==undefined;if(_offset)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_reaction)w.object(v.reaction);if(_offset)w.string(v.offset);w.int(h(v,'limit'));},
1487
- 'messages.setChatAvailableReactions':function(w,v){w.uint(4273039217);w.object(h(v,'peer'));w.object(h(v,'availableReactions'));},
1712
+ 'messages.setChatAvailableReactions':function(w,v){w.uint(2253071745);var flags=0;var _reactionsLimit=v.reactionsLimit!==undefined;if(_reactionsLimit)flags|=1;var _paidEnabled=v.paidEnabled!==undefined;if(_paidEnabled)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'availableReactions'));if(_reactionsLimit)w.int(v.reactionsLimit);if(_paidEnabled)w.boolean(v.paidEnabled);},
1488
1713
  'messages.getAvailableReactions':function(w,v){w.uint(417243308);w.int(h(v,'hash'));},
1489
1714
  'messages.setDefaultReaction':function(w,v){w.uint(1330094102);w.object(h(v,'reaction'));},
1490
1715
  'messages.translateText':function(w,v){w.uint(1662529584);var flags=0;var _peer=v.peer!==undefined;var _id=v.id&&v.id.length;var _flags_0=_peer||_id;if(_flags_0)flags|=1;var _text=v.text&&v.text.length;if(_text)flags|=2;w.uint(flags);if(_flags_0)w.object(v.peer);if(_flags_0)w.vector(w.int,v.id);if(_text)w.vector(w.object,v.text);w.string(h(v,'toLang'));},
@@ -1494,9 +1719,9 @@ var m={
1494
1719
  'messages.getAttachMenuBots':function(w,v){w.uint(385663691);w.long(h(v,'hash'));},
1495
1720
  'messages.getAttachMenuBot':function(w,v){w.uint(1998676370);w.object(h(v,'bot'));},
1496
1721
  'messages.toggleBotInAttachMenu':function(w,v){w.uint(1777704297);var flags=0;if(v.writeAllowed===true)flags|=1;w.uint(flags);w.object(h(v,'bot'));w.boolean(h(v,'enabled'));},
1497
- 'messages.requestWebView':function(w,v){w.uint(647873217);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;var _url=v.url!==undefined;if(_url)flags|=2;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=4;var _startParam=v.startParam!==undefined;if(_startParam)flags|=8;if(v.fromBotMenu===true)flags|=16;if(v.silent===true)flags|=32;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'bot'));if(_url)w.string(v.url);if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));if(_replyTo)w.object(v.replyTo);if(_sendAs)w.object(v.sendAs);},
1722
+ 'messages.requestWebView':function(w,v){w.uint(647873217);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;var _url=v.url!==undefined;if(_url)flags|=2;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=4;var _startParam=v.startParam!==undefined;if(_startParam)flags|=8;if(v.fromBotMenu===true)flags|=16;if(v.silent===true)flags|=32;if(v.compact===true)flags|=128;if(v.fullscreen===true)flags|=256;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'bot'));if(_url)w.string(v.url);if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));if(_replyTo)w.object(v.replyTo);if(_sendAs)w.object(v.sendAs);},
1498
1723
  'messages.prolongWebView':function(w,v){w.uint(2966952579);var flags=0;var _replyTo=v.replyTo!==undefined;if(_replyTo)flags|=1;if(v.silent===true)flags|=32;var _sendAs=v.sendAs!==undefined;if(_sendAs)flags|=8192;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'bot'));w.long(h(v,'queryId'));if(_replyTo)w.object(v.replyTo);if(_sendAs)w.object(v.sendAs);},
1499
- 'messages.requestSimpleWebView':function(w,v){w.uint(440815626);var flags=0;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=1;if(v.fromSwitchWebview===true)flags|=2;if(v.fromSideMenu===true)flags|=4;var _url=v.url!==undefined;if(_url)flags|=8;var _startParam=v.startParam!==undefined;if(_startParam)flags|=16;w.uint(flags);w.object(h(v,'bot'));if(_url)w.string(v.url);if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));},
1724
+ 'messages.requestSimpleWebView':function(w,v){w.uint(1094336115);var flags=0;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=1;if(v.fromSwitchWebview===true)flags|=2;if(v.fromSideMenu===true)flags|=4;var _url=v.url!==undefined;if(_url)flags|=8;var _startParam=v.startParam!==undefined;if(_startParam)flags|=16;if(v.compact===true)flags|=128;if(v.fullscreen===true)flags|=256;w.uint(flags);w.object(h(v,'bot'));if(_url)w.string(v.url);if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));},
1500
1725
  'messages.sendWebViewResultMessage':function(w,v){w.uint(172168437);w.string(h(v,'botQueryId'));w.object(h(v,'result'));},
1501
1726
  'messages.sendWebViewData':function(w,v){w.uint(3691135688);w.object(h(v,'bot'));w.long(h(v,'randomId'));w.string(h(v,'buttonText'));w.string(h(v,'data'));},
1502
1727
  'messages.transcribeAudio':function(w,v){w.uint(647928393);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
@@ -1511,15 +1736,51 @@ var m={
1511
1736
  'messages.getExtendedMedia':function(w,v){w.uint(2230847508);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
1512
1737
  'messages.setDefaultHistoryTTL':function(w,v){w.uint(2662667333);w.int(h(v,'period'));},
1513
1738
  'messages.getDefaultHistoryTTL':function(w){w.uint(1703637384);},
1514
- 'messages.sendBotRequestedPeer':function(w,v){w.uint(4265136155);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'buttonId'));w.object(h(v,'requestedPeer'));},
1739
+ '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'));},
1515
1740
  'messages.getEmojiGroups':function(w,v){w.uint(1955122779);w.int(h(v,'hash'));},
1516
1741
  'messages.getEmojiStatusGroups':function(w,v){w.uint(785209037);w.int(h(v,'hash'));},
1517
1742
  'messages.getEmojiProfilePhotoGroups':function(w,v){w.uint(564480243);w.int(h(v,'hash'));},
1518
1743
  'messages.searchCustomEmoji':function(w,v){w.uint(739360983);w.string(h(v,'emoticon'));w.long(h(v,'hash'));},
1519
1744
  'messages.togglePeerTranslations':function(w,v){w.uint(3833378169);var flags=0;if(v.disabled===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
1520
1745
  'messages.getBotApp':function(w,v){w.uint(889046467);w.object(h(v,'app'));w.long(h(v,'hash'));},
1521
- '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'));},
1522
- '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;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);},
1746
+ 'messages.requestAppWebView':function(w,v){w.uint(1398901710);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;if(v.compact===true)flags|=128;if(v.fullscreen===true)flags|=256;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'));},
1747
+ '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);},
1748
+ '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'));},
1749
+ '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'));},
1750
+ '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'));},
1751
+ '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);},
1752
+ 'messages.getPinnedSavedDialogs':function(w){w.uint(3594360032);},
1753
+ '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'));},
1754
+ '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'));},
1755
+ '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'));},
1756
+ '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);},
1757
+ 'messages.getDefaultTagReactions':function(w,v){w.uint(3187225640);w.long(h(v,'hash'));},
1758
+ 'messages.getOutboxReadDate':function(w,v){w.uint(2353790557);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
1759
+ 'messages.getQuickReplies':function(w,v){w.uint(3565417128);w.long(h(v,'hash'));},
1760
+ 'messages.reorderQuickReplies':function(w,v){w.uint(1613961479);w.vector(w.int,h(v,'order'));},
1761
+ 'messages.checkQuickReplyShortcut':function(w,v){w.uint(4057005011);w.string(h(v,'shortcut'));},
1762
+ 'messages.editQuickReplyShortcut':function(w,v){w.uint(1543519471);w.int(h(v,'shortcutId'));w.string(h(v,'shortcut'));},
1763
+ 'messages.deleteQuickReplyShortcut':function(w,v){w.uint(1019234112);w.int(h(v,'shortcutId'));},
1764
+ 'messages.getQuickReplyMessages':function(w,v){w.uint(2493814211);var flags=0;var _id=v.id&&v.id.length;if(_id)flags|=1;w.uint(flags);w.int(h(v,'shortcutId'));if(_id)w.vector(w.int,v.id);w.long(h(v,'hash'));},
1765
+ 'messages.sendQuickReplyMessages':function(w,v){w.uint(1819610593);w.object(h(v,'peer'));w.int(h(v,'shortcutId'));w.vector(w.int,h(v,'id'));w.vector(w.long,h(v,'randomId'));},
1766
+ 'messages.deleteQuickReplyMessages':function(w,v){w.uint(3775260944);w.int(h(v,'shortcutId'));w.vector(w.int,h(v,'id'));},
1767
+ 'messages.toggleDialogFilterTags':function(w,v){w.uint(4247640649);w.boolean(h(v,'enabled'));},
1768
+ 'messages.getMyStickers':function(w,v){w.uint(3501580796);w.long(h(v,'offsetId'));w.int(h(v,'limit'));},
1769
+ 'messages.getEmojiStickerGroups':function(w,v){w.uint(500711669);w.int(h(v,'hash'));},
1770
+ 'messages.getAvailableEffects':function(w,v){w.uint(3735161401);w.int(h(v,'hash'));},
1771
+ 'messages.editFactCheck':function(w,v){w.uint(92925557);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.object(h(v,'text'));},
1772
+ 'messages.deleteFactCheck':function(w,v){w.uint(3520762892);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
1773
+ 'messages.getFactCheck':function(w,v){w.uint(3117270510);w.object(h(v,'peer'));w.vector(w.int,h(v,'msgId'));},
1774
+ 'messages.requestMainWebView':function(w,v){w.uint(3386908283);var flags=0;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=1;var _startParam=v.startParam!==undefined;if(_startParam)flags|=2;if(v.compact===true)flags|=128;if(v.fullscreen===true)flags|=256;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'bot'));if(_startParam)w.string(v.startParam);if(_themeParams)w.object(v.themeParams);w.string(h(v,'platform'));},
1775
+ 'messages.sendPaidReaction':function(w,v){w.uint(2648090235);var flags=0;var _private=v.private!==undefined;if(_private)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.int(h(v,'count'));w.long(h(v,'randomId'));if(_private)w.boolean(v.private);},
1776
+ 'messages.togglePaidReactionPrivacy':function(w,v){w.uint(2224739223);w.object(h(v,'peer'));w.int(h(v,'msgId'));w.boolean(h(v,'private'));},
1777
+ 'messages.getPaidReactionPrivacy':function(w){w.uint(1193563562);},
1778
+ 'messages.viewSponsoredMessage':function(w,v){w.uint(1731909873);w.object(h(v,'peer'));w.bytes(h(v,'randomId'));},
1779
+ 'messages.clickSponsoredMessage':function(w,v){w.uint(252261477);var flags=0;if(v.media===true)flags|=1;if(v.fullscreen===true)flags|=2;w.uint(flags);w.object(h(v,'peer'));w.bytes(h(v,'randomId'));},
1780
+ 'messages.reportSponsoredMessage':function(w,v){w.uint(452189112);w.object(h(v,'peer'));w.bytes(h(v,'randomId'));w.bytes(h(v,'option'));},
1781
+ 'messages.getSponsoredMessages':function(w,v){w.uint(2614293561);w.object(h(v,'peer'));},
1782
+ 'messages.savePreparedInlineMessage':function(w,v){w.uint(4062150447);var flags=0;var _peerTypes=v.peerTypes&&v.peerTypes.length;if(_peerTypes)flags|=1;w.uint(flags);w.object(h(v,'result'));w.object(h(v,'userId'));if(_peerTypes)w.vector(w.object,v.peerTypes);},
1783
+ 'messages.getPreparedInlineMessage':function(w,v){w.uint(2239675832);w.object(h(v,'bot'));w.string(h(v,'id'));},
1523
1784
  'updates.getState':function(w){w.uint(3990128682);},
1524
1785
  '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);},
1525
1786
  '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'));},
@@ -1541,7 +1802,6 @@ var m={
1541
1802
  'help.getAppUpdate':function(w,v){w.uint(1378703997);w.string(h(v,'source'));},
1542
1803
  'help.getInviteText':function(w){w.uint(1295590211);},
1543
1804
  'help.getSupport':function(w){w.uint(2631862477);},
1544
- 'help.getAppChangelog':function(w,v){w.uint(2417028975);w.string(h(v,'prevAppVersion'));},
1545
1805
  'help.setBotUpdatesStatus':function(w,v){w.uint(3961704397);w.int(h(v,'pendingUpdatesCount'));w.string(h(v,'message'));},
1546
1806
  'help.getCdnConfig':function(w){w.uint(1375900482);},
1547
1807
  'help.getRecentMeUrls':function(w,v){w.uint(1036054804);w.string(h(v,'referer'));},
@@ -1559,6 +1819,9 @@ var m={
1559
1819
  'help.dismissSuggestion':function(w,v){w.uint(4111317665);w.object(h(v,'peer'));w.string(h(v,'suggestion'));},
1560
1820
  'help.getCountriesList':function(w,v){w.uint(1935116200);w.string(h(v,'langCode'));w.int(h(v,'hash'));},
1561
1821
  'help.getPremiumPromo':function(w){w.uint(3088815060);},
1822
+ 'help.getPeerColors':function(w,v){w.uint(3665884207);w.int(h(v,'hash'));},
1823
+ 'help.getPeerProfileColors':function(w,v){w.uint(2882513405);w.int(h(v,'hash'));},
1824
+ 'help.getTimezonesList':function(w,v){w.uint(1236468288);w.int(h(v,'hash'));},
1562
1825
  'channels.readHistory':function(w,v){w.uint(3423619383);w.object(h(v,'channel'));w.int(h(v,'maxId'));},
1563
1826
  'channels.deleteMessages':function(w,v){w.uint(2227305806);w.object(h(v,'channel'));w.vector(w.int,h(v,'id'));},
1564
1827
  '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'));},
@@ -1575,11 +1838,11 @@ var m={
1575
1838
  'channels.updateUsername':function(w,v){w.uint(890549214);w.object(h(v,'channel'));w.string(h(v,'username'));},
1576
1839
  'channels.joinChannel':function(w,v){w.uint(615851205);w.object(h(v,'channel'));},
1577
1840
  'channels.leaveChannel':function(w,v){w.uint(4164332181);w.object(h(v,'channel'));},
1578
- 'channels.inviteToChannel':function(w,v){w.uint(429865580);w.object(h(v,'channel'));w.vector(w.object,h(v,'users'));},
1841
+ 'channels.inviteToChannel':function(w,v){w.uint(3387112788);w.object(h(v,'channel'));w.vector(w.object,h(v,'users'));},
1579
1842
  'channels.deleteChannel':function(w,v){w.uint(3222347747);w.object(h(v,'channel'));},
1580
1843
  'channels.exportMessageLink':function(w,v){w.uint(3862932971);var flags=0;if(v.grouped===true)flags|=1;if(v.thread===true)flags|=2;w.uint(flags);w.object(h(v,'channel'));w.int(h(v,'id'));},
1581
- 'channels.toggleSignatures':function(w,v){w.uint(527021574);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
1582
- 'channels.getAdminedPublicChannels':function(w,v){w.uint(4172297903);var flags=0;if(v.byLocation===true)flags|=1;if(v.checkLimit===true)flags|=2;w.uint(flags);},
1844
+ 'channels.toggleSignatures':function(w,v){w.uint(1099781276);var flags=0;if(v.signaturesEnabled===true)flags|=1;if(v.profilesEnabled===true)flags|=2;w.uint(flags);w.object(h(v,'channel'));},
1845
+ 'channels.getAdminedPublicChannels':function(w,v){w.uint(4172297903);var flags=0;if(v.byLocation===true)flags|=1;if(v.checkLimit===true)flags|=2;if(v.forPersonal===true)flags|=4;w.uint(flags);},
1583
1846
  'channels.editBanned':function(w,v){w.uint(2531708289);w.object(h(v,'channel'));w.object(h(v,'participant'));w.object(h(v,'bannedRights'));},
1584
1847
  'channels.getAdminLog':function(w,v){w.uint(870184064);var flags=0;var _eventsFilter=v.eventsFilter!==undefined;if(_eventsFilter)flags|=1;var _admins=v.admins&&v.admins.length;if(_admins)flags|=2;w.uint(flags);w.object(h(v,'channel'));w.string(h(v,'q'));if(_eventsFilter)w.object(v.eventsFilter);if(_admins)w.vector(w.object,v.admins);w.long(h(v,'maxId'));w.long(h(v,'minId'));w.int(h(v,'limit'));},
1585
1848
  'channels.setStickers':function(w,v){w.uint(3935085817);w.object(h(v,'channel'));w.object(h(v,'stickerset'));},
@@ -1594,8 +1857,6 @@ var m={
1594
1857
  'channels.toggleSlowMode':function(w,v){w.uint(3990134512);w.object(h(v,'channel'));w.int(h(v,'seconds'));},
1595
1858
  'channels.getInactiveChannels':function(w){w.uint(300429806);},
1596
1859
  'channels.convertToGigagroup':function(w,v){w.uint(187239529);w.object(h(v,'channel'));},
1597
- 'channels.viewSponsoredMessage':function(w,v){w.uint(3199130516);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
1598
- 'channels.getSponsoredMessages':function(w,v){w.uint(3961589695);w.object(h(v,'channel'));},
1599
1860
  'channels.getSendAs':function(w,v){w.uint(231174382);w.object(h(v,'peer'));},
1600
1861
  'channels.deleteParticipantHistory':function(w,v){w.uint(913655003);w.object(h(v,'channel'));w.object(h(v,'participant'));},
1601
1862
  'channels.toggleJoinToSend':function(w,v){w.uint(3838547328);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
@@ -1614,7 +1875,14 @@ var m={
1614
1875
  'channels.toggleAntiSpam':function(w,v){w.uint(1760814315);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
1615
1876
  'channels.reportAntiSpamFalsePositive':function(w,v){w.uint(2823857811);w.object(h(v,'channel'));w.int(h(v,'msgId'));},
1616
1877
  'channels.toggleParticipantsHidden':function(w,v){w.uint(1785624660);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
1617
- 'channels.clickSponsoredMessage':function(w,v){w.uint(414170259);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
1878
+ '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);},
1879
+ 'channels.toggleViewForumAsMessages':function(w,v){w.uint(2537077525);w.object(h(v,'channel'));w.boolean(h(v,'enabled'));},
1880
+ 'channels.getChannelRecommendations':function(w,v){w.uint(631707458);var flags=0;var _channel=v.channel!==undefined;if(_channel)flags|=1;w.uint(flags);if(_channel)w.object(v.channel);},
1881
+ 'channels.updateEmojiStatus':function(w,v){w.uint(4040418984);w.object(h(v,'channel'));w.object(h(v,'emojiStatus'));},
1882
+ 'channels.setBoostsToUnblockRestrictions':function(w,v){w.uint(2906234094);w.object(h(v,'channel'));w.int(h(v,'boosts'));},
1883
+ 'channels.setEmojiStickers':function(w,v){w.uint(1020866743);w.object(h(v,'channel'));w.object(h(v,'stickerset'));},
1884
+ 'channels.restrictSponsoredMessages':function(w,v){w.uint(2598966553);w.object(h(v,'channel'));w.boolean(h(v,'restricted'));},
1885
+ 'channels.searchPosts':function(w,v){w.uint(3516897403);w.string(h(v,'hashtag'));w.int(h(v,'offsetRate'));w.object(h(v,'offsetPeer'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
1618
1886
  'bots.sendCustomRequest':function(w,v){w.uint(2854709741);w.string(h(v,'customMethod'));w.object(h(v,'params'));},
1619
1887
  'bots.answerWebhookJSONQuery':function(w,v){w.uint(3860938573);w.long(h(v,'queryId'));w.object(h(v,'data'));},
1620
1888
  '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'));},
@@ -1631,6 +1899,16 @@ var m={
1631
1899
  'bots.canSendMessage':function(w,v){w.uint(324662502);w.object(h(v,'bot'));},
1632
1900
  'bots.allowSendMessage':function(w,v){w.uint(4046644207);w.object(h(v,'bot'));},
1633
1901
  'bots.invokeWebViewCustomMethod':function(w,v){w.uint(142591463);w.object(h(v,'bot'));w.string(h(v,'customMethod'));w.object(h(v,'params'));},
1902
+ 'bots.getPopularAppBots':function(w,v){w.uint(3260088722);w.string(h(v,'offset'));w.int(h(v,'limit'));},
1903
+ 'bots.addPreviewMedia':function(w,v){w.uint(397326170);w.object(h(v,'bot'));w.string(h(v,'langCode'));w.object(h(v,'media'));},
1904
+ 'bots.editPreviewMedia':function(w,v){w.uint(2233819247);w.object(h(v,'bot'));w.string(h(v,'langCode'));w.object(h(v,'media'));w.object(h(v,'newMedia'));},
1905
+ 'bots.deletePreviewMedia':function(w,v){w.uint(755054003);w.object(h(v,'bot'));w.string(h(v,'langCode'));w.vector(w.object,h(v,'media'));},
1906
+ 'bots.reorderPreviewMedias':function(w,v){w.uint(3056071594);w.object(h(v,'bot'));w.string(h(v,'langCode'));w.vector(w.object,h(v,'order'));},
1907
+ 'bots.getPreviewInfo':function(w,v){w.uint(1111143341);w.object(h(v,'bot'));w.string(h(v,'langCode'));},
1908
+ 'bots.getPreviewMedias':function(w,v){w.uint(2728745293);w.object(h(v,'bot'));},
1909
+ 'bots.updateUserEmojiStatus':function(w,v){w.uint(3986632901);w.object(h(v,'userId'));w.object(h(v,'emojiStatus'));},
1910
+ 'bots.toggleUserEmojiStatusPermission':function(w,v){w.uint(115237778);w.object(h(v,'bot'));w.boolean(h(v,'enabled'));},
1911
+ 'bots.checkDownloadFileParams':function(w,v){w.uint(1342666121);w.object(h(v,'bot'));w.string(h(v,'fileName'));w.string(h(v,'url'));},
1634
1912
  'payments.getPaymentForm':function(w,v){w.uint(924093883);var flags=0;var _themeParams=v.themeParams!==undefined;if(_themeParams)flags|=1;w.uint(flags);w.object(h(v,'invoice'));if(_themeParams)w.object(v.themeParams);},
1635
1913
  'payments.getPaymentReceipt':function(w,v){w.uint(611897804);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
1636
1914
  'payments.validateRequestedInfo':function(w,v){w.uint(3066622251);var flags=0;if(v.save===true)flags|=1;w.uint(flags);w.object(h(v,'invoice'));w.object(h(v,'info'));},
@@ -1642,7 +1920,31 @@ var m={
1642
1920
  'payments.assignAppStoreTransaction':function(w,v){w.uint(2163045501);w.bytes(h(v,'receipt'));w.object(h(v,'purpose'));},
1643
1921
  'payments.assignPlayMarketTransaction':function(w,v){w.uint(3757920467);w.object(h(v,'receipt'));w.object(h(v,'purpose'));},
1644
1922
  'payments.canPurchasePremium':function(w,v){w.uint(2680266422);w.object(h(v,'purpose'));},
1645
- 'stickers.createStickerSet':function(w,v){w.uint(2418125671);var flags=0;if(v.masks===true)flags|=1;if(v.animated===true)flags|=2;var _thumb=v.thumb!==undefined;if(_thumb)flags|=4;var _software=v.software!==undefined;if(_software)flags|=8;if(v.videos===true)flags|=16;if(v.emojis===true)flags|=32;if(v.textColor===true)flags|=64;w.uint(flags);w.object(h(v,'userId'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_thumb)w.object(v.thumb);w.vector(w.object,h(v,'stickers'));if(_software)w.string(v.software);},
1923
+ 'payments.getPremiumGiftCodeOptions':function(w,v){w.uint(660060756);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);},
1924
+ 'payments.checkGiftCode':function(w,v){w.uint(2387719361);w.string(h(v,'slug'));},
1925
+ 'payments.applyGiftCode':function(w,v){w.uint(4142032980);w.string(h(v,'slug'));},
1926
+ 'payments.getGiveawayInfo':function(w,v){w.uint(4095972389);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
1927
+ 'payments.launchPrepaidGiveaway':function(w,v){w.uint(1609928480);w.object(h(v,'peer'));w.long(h(v,'giveawayId'));w.object(h(v,'purpose'));},
1928
+ 'payments.getStarsTopupOptions':function(w){w.uint(3222194131);},
1929
+ 'payments.getStarsStatus':function(w,v){w.uint(273665959);w.object(h(v,'peer'));},
1930
+ 'payments.getStarsTransactions':function(w,v){w.uint(1775912279);var flags=0;if(v.inbound===true)flags|=1;if(v.outbound===true)flags|=2;if(v.ascending===true)flags|=4;var _subscriptionId=v.subscriptionId!==undefined;if(_subscriptionId)flags|=8;w.uint(flags);if(_subscriptionId)w.string(v.subscriptionId);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
1931
+ 'payments.sendStarsForm':function(w,v){w.uint(2040056084);w.long(h(v,'formId'));w.object(h(v,'invoice'));},
1932
+ 'payments.refundStarsCharge':function(w,v){w.uint(632196938);w.object(h(v,'userId'));w.string(h(v,'chargeId'));},
1933
+ 'payments.getStarsRevenueStats':function(w,v){w.uint(3642751702);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
1934
+ 'payments.getStarsRevenueWithdrawalUrl':function(w,v){w.uint(331081907);w.object(h(v,'peer'));w.long(h(v,'stars'));w.object(h(v,'password'));},
1935
+ 'payments.getStarsRevenueAdsAccountUrl':function(w,v){w.uint(3520589765);w.object(h(v,'peer'));},
1936
+ 'payments.getStarsTransactionsByID':function(w,v){w.uint(662973742);w.object(h(v,'peer'));w.vector(w.object,h(v,'id'));},
1937
+ 'payments.getStarsGiftOptions':function(w,v){w.uint(3553192904);var flags=0;var _userId=v.userId!==undefined;if(_userId)flags|=1;w.uint(flags);if(_userId)w.object(v.userId);},
1938
+ 'payments.getStarsSubscriptions':function(w,v){w.uint(52761285);var flags=0;if(v.missingBalance===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));},
1939
+ 'payments.changeStarsSubscription':function(w,v){w.uint(3346466936);var flags=0;var _canceled=v.canceled!==undefined;if(_canceled)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'subscriptionId'));if(_canceled)w.boolean(v.canceled);},
1940
+ 'payments.fulfillStarsSubscription':function(w,v){w.uint(3428576179);w.object(h(v,'peer'));w.string(h(v,'subscriptionId'));},
1941
+ 'payments.getStarsGiveawayOptions':function(w){w.uint(3172924734);},
1942
+ 'payments.getStarGifts':function(w,v){w.uint(3293984144);w.int(h(v,'hash'));},
1943
+ 'payments.getUserStarGifts':function(w,v){w.uint(1584580577);w.object(h(v,'userId'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
1944
+ 'payments.saveStarGift':function(w,v){w.uint(2276257934);var flags=0;if(v.unsave===true)flags|=1;w.uint(flags);w.object(h(v,'userId'));w.int(h(v,'msgId'));},
1945
+ 'payments.convertStarGift':function(w,v){w.uint(69328935);w.object(h(v,'userId'));w.int(h(v,'msgId'));},
1946
+ 'payments.botCancelStarsSubscription':function(w,v){w.uint(1845102114);var flags=0;if(v.restore===true)flags|=1;w.uint(flags);w.object(h(v,'userId'));w.string(h(v,'chargeId'));},
1947
+ 'stickers.createStickerSet':function(w,v){w.uint(2418125671);var flags=0;if(v.masks===true)flags|=1;var _thumb=v.thumb!==undefined;if(_thumb)flags|=4;var _software=v.software!==undefined;if(_software)flags|=8;if(v.emojis===true)flags|=32;if(v.textColor===true)flags|=64;w.uint(flags);w.object(h(v,'userId'));w.string(h(v,'title'));w.string(h(v,'shortName'));if(_thumb)w.object(v.thumb);w.vector(w.object,h(v,'stickers'));if(_software)w.string(v.software);},
1646
1948
  'stickers.removeStickerFromSet':function(w,v){w.uint(4151709521);w.object(h(v,'sticker'));},
1647
1949
  'stickers.changeStickerPosition':function(w,v){w.uint(4290172106);w.object(h(v,'sticker'));w.int(h(v,'position'));},
1648
1950
  'stickers.addStickerToSet':function(w,v){w.uint(2253651646);w.object(h(v,'stickerset'));w.object(h(v,'sticker'));},
@@ -1652,6 +1954,7 @@ var m={
1652
1954
  'stickers.changeSticker':function(w,v){w.uint(4115889852);var flags=0;var _emoji=v.emoji!==undefined;if(_emoji)flags|=1;var _maskCoords=v.maskCoords!==undefined;if(_maskCoords)flags|=2;var _keywords=v.keywords!==undefined;if(_keywords)flags|=4;w.uint(flags);w.object(h(v,'sticker'));if(_emoji)w.string(v.emoji);if(_maskCoords)w.object(v.maskCoords);if(_keywords)w.string(v.keywords);},
1653
1955
  'stickers.renameStickerSet':function(w,v){w.uint(306912256);w.object(h(v,'stickerset'));w.string(h(v,'title'));},
1654
1956
  'stickers.deleteStickerSet':function(w,v){w.uint(2272281492);w.object(h(v,'stickerset'));},
1957
+ 'stickers.replaceSticker':function(w,v){w.uint(1184253338);w.object(h(v,'sticker'));w.object(h(v,'newSticker'));},
1655
1958
  'phone.getCallConfig':function(w){w.uint(1430593449);},
1656
1959
  'phone.requestCall':function(w,v){w.uint(1124046573);var flags=0;if(v.video===true)flags|=1;w.uint(flags);w.object(h(v,'userId'));w.int(h(v,'randomId'));w.bytes(h(v,'gAHash'));w.object(h(v,'protocol'));},
1657
1960
  'phone.acceptCall':function(w,v){w.uint(1003664544);w.object(h(v,'peer'));w.bytes(h(v,'gB'));w.object(h(v,'protocol'));},
@@ -1692,8 +1995,13 @@ var m={
1692
1995
  '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'));},
1693
1996
  '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);},
1694
1997
  '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'));},
1695
- 'stats.getMessagePublicForwards':function(w,v){w.uint(1445996571);w.object(h(v,'channel'));w.int(h(v,'msgId'));w.int(h(v,'offsetRate'));w.object(h(v,'offsetPeer'));w.int(h(v,'offsetId'));w.int(h(v,'limit'));},
1998
+ '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'));},
1696
1999
  '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'));},
2000
+ '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'));},
2001
+ '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'));},
2002
+ 'stats.getBroadcastRevenueStats':function(w,v){w.uint(4152946201);var flags=0;if(v.dark===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));},
2003
+ 'stats.getBroadcastRevenueWithdrawalUrl':function(w,v){w.uint(2650077869);w.object(h(v,'peer'));w.object(h(v,'password'));},
2004
+ 'stats.getBroadcastRevenueTransactions':function(w,v){w.uint(1889078125);w.object(h(v,'peer'));w.int(h(v,'offset'));w.int(h(v,'limit'));},
1697
2005
  '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'));},
1698
2006
  'chatlists.deleteExportedInvite':function(w,v){w.uint(1906072670);w.object(h(v,'chatlist'));w.string(h(v,'slug'));},
1699
2007
  '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);},
@@ -1706,7 +2014,7 @@ var m={
1706
2014
  'chatlists.getLeaveChatlistSuggestions':function(w,v){w.uint(4257011476);w.object(h(v,'chatlist'));},
1707
2015
  'chatlists.leaveChatlist':function(w,v){w.uint(1962598714);w.object(h(v,'chatlist'));w.vector(w.object,h(v,'peers'));},
1708
2016
  'stories.canSendStory':function(w,v){w.uint(3353337821);w.object(h(v,'peer'));},
1709
- 'stories.sendStory':function(w,v){w.uint(3166123588);var flags=0;var _caption=v.caption!==undefined;if(_caption)flags|=1;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;if(v.pinned===true)flags|=4;var _period=v.period!==undefined;if(_period)flags|=8;if(v.noforwards===true)flags|=16;var _mediaAreas=v.mediaAreas&&v.mediaAreas.length;if(_mediaAreas)flags|=32;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'media'));if(_mediaAreas)w.vector(w.object,v.mediaAreas);if(_caption)w.string(v.caption);if(_entities)w.vector(w.object,v.entities);w.vector(w.object,h(v,'privacyRules'));w.long(h(v,'randomId'));if(_period)w.int(v.period);},
2017
+ 'stories.sendStory':function(w,v){w.uint(3840305483);var flags=0;var _caption=v.caption!==undefined;if(_caption)flags|=1;var _entities=v.entities&&v.entities.length;if(_entities)flags|=2;if(v.pinned===true)flags|=4;var _period=v.period!==undefined;if(_period)flags|=8;if(v.noforwards===true)flags|=16;var _mediaAreas=v.mediaAreas&&v.mediaAreas.length;if(_mediaAreas)flags|=32;var _fwdFromId=v.fwdFromId!==undefined;var _fwdFromStory=v.fwdFromStory!==undefined;var _flags_6=_fwdFromId||_fwdFromStory;if(_flags_6)flags|=64;if(v.fwdModified===true)flags|=128;w.uint(flags);w.object(h(v,'peer'));w.object(h(v,'media'));if(_mediaAreas)w.vector(w.object,v.mediaAreas);if(_caption)w.string(v.caption);if(_entities)w.vector(w.object,v.entities);w.vector(w.object,h(v,'privacyRules'));w.long(h(v,'randomId'));if(_period)w.int(v.period);if(_flags_6)w.object(v.fwdFromId);if(_flags_6)w.int(v.fwdFromStory);},
1710
2018
  'stories.editStory':function(w,v){w.uint(3045308998);var flags=0;var _media=v.media!==undefined;if(_media)flags|=1;var _caption=v.caption!==undefined;var _entities=v.entities&&v.entities.length;var _flags_1=_caption||_entities;if(_flags_1)flags|=2;var _privacyRules=v.privacyRules&&v.privacyRules.length;if(_privacyRules)flags|=4;var _mediaAreas=v.mediaAreas&&v.mediaAreas.length;if(_mediaAreas)flags|=8;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'id'));if(_media)w.object(v.media);if(_mediaAreas)w.vector(w.object,v.mediaAreas);if(_flags_1)w.string(v.caption);if(_flags_1)w.vector(w.object,v.entities);if(_privacyRules)w.vector(w.object,v.privacyRules);},
1711
2019
  'stories.deleteStories':function(w,v){w.uint(2925124447);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
1712
2020
  'stories.togglePinned':function(w,v){w.uint(2591400431);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));w.boolean(h(v,'pinned'));},
@@ -1717,10 +2025,10 @@ var m={
1717
2025
  'stories.toggleAllStoriesHidden':function(w,v){w.uint(2082822084);w.boolean(h(v,'hidden'));},
1718
2026
  'stories.readStories':function(w,v){w.uint(2773932744);w.object(h(v,'peer'));w.int(h(v,'maxId'));},
1719
2027
  'stories.incrementStoryViews':function(w,v){w.uint(2986511099);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
1720
- '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'));},
2028
+ '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'));},
1721
2029
  'stories.getStoriesViews':function(w,v){w.uint(685862088);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
1722
2030
  'stories.exportStoryLink':function(w,v){w.uint(2072899360);w.object(h(v,'peer'));w.int(h(v,'id'));},
1723
- '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'));},
2031
+ 'stories.report':function(w,v){w.uint(433646405);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));w.bytes(h(v,'option'));w.string(h(v,'message'));},
1724
2032
  'stories.activateStealthMode':function(w,v){w.uint(1471926630);var flags=0;if(v.past===true)flags|=1;if(v.future===true)flags|=2;w.uint(flags);},
1725
2033
  'stories.sendReaction':function(w,v){w.uint(2144810674);var flags=0;if(v.addToRecent===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.int(h(v,'storyId'));w.object(h(v,'reaction'));},
1726
2034
  'stories.getPeerStories':function(w,v){w.uint(743103056);w.object(h(v,'peer'));},
@@ -1728,22 +2036,27 @@ var m={
1728
2036
  'stories.getPeerMaxIDs':function(w,v){w.uint(1398375363);w.vector(w.object,h(v,'id'));},
1729
2037
  'stories.getChatsToSend':function(w){w.uint(2775223136);},
1730
2038
  'stories.togglePeerStoriesHidden':function(w,v){w.uint(3171161540);w.object(h(v,'peer'));w.boolean(h(v,'hidden'));},
1731
- 'stories.getBoostsStatus':function(w,v){w.uint(1279562866);w.object(h(v,'peer'));},
1732
- 'stories.getBoostersList':function(w,v){w.uint(863959424);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
1733
- 'stories.canApplyBoost':function(w,v){w.uint(3674587581);w.object(h(v,'peer'));},
1734
- 'stories.applyBoost':function(w,v){w.uint(4070407211);w.object(h(v,'peer'));},
1735
- 'account.updateColor':function(w,v){w.uint(2684472387);var flags=0;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=1;w.uint(flags);w.int(h(v,'color'));if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
1736
- 'account.getDefaultBackgroundEmojis':function(w,v){w.uint(2785720782);w.long(h(v,'hash'));},
1737
- 'channels.updateColor':function(w,v){w.uint(1645879327);var flags=0;var _backgroundEmojiId=v.backgroundEmojiId!==undefined;if(_backgroundEmojiId)flags|=1;w.uint(flags);w.object(h(v,'channel'));w.int(h(v,'color'));if(_backgroundEmojiId)w.long(v.backgroundEmojiId);},
1738
- 'payments.getPremiumGiftCodeOptions':function(w,v){w.uint(660060756);var flags=0;var _boostPeer=v.boostPeer!==undefined;if(_boostPeer)flags|=1;w.uint(flags);if(_boostPeer)w.object(v.boostPeer);},
1739
- 'payments.checkGiftCode':function(w,v){w.uint(2387719361);w.string(h(v,'slug'));},
1740
- 'payments.applyGiftCode':function(w,v){w.uint(4142032980);w.string(h(v,'slug'));},
1741
- 'payments.getGiveawayInfo':function(w,v){w.uint(4095972389);w.object(h(v,'peer'));w.int(h(v,'msgId'));},
1742
- 'payments.launchPrepaidGiveaway':function(w,v){w.uint(1609928480);w.object(h(v,'peer'));w.long(h(v,'giveawayId'));w.object(h(v,'purpose'));},
2039
+ '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'));},
2040
+ 'stories.togglePinnedToTop':function(w,v){w.uint(187268763);w.object(h(v,'peer'));w.vector(w.int,h(v,'id'));},
2041
+ 'stories.searchPosts':function(w,v){w.uint(3514894599);var flags=0;var _hashtag=v.hashtag!==undefined;if(_hashtag)flags|=1;var _area=v.area!==undefined;if(_area)flags|=2;var _peer=v.peer!==undefined;if(_peer)flags|=4;w.uint(flags);if(_hashtag)w.string(v.hashtag);if(_area)w.object(v.area);if(_peer)w.object(v.peer);w.string(h(v,'offset'));w.int(h(v,'limit'));},
1743
2042
  'premium.getBoostsList':function(w,v){w.uint(1626764896);var flags=0;if(v.gifts===true)flags|=1;w.uint(flags);w.object(h(v,'peer'));w.string(h(v,'offset'));w.int(h(v,'limit'));},
1744
2043
  'premium.getMyBoosts':function(w){w.uint(199719754);},
1745
2044
  'premium.applyBoost':function(w,v){w.uint(1803396934);var flags=0;var _slots=v.slots&&v.slots.length;if(_slots)flags|=1;w.uint(flags);if(_slots)w.vector(w.int,v.slots);w.object(h(v,'peer'));},
1746
2045
  'premium.getBoostsStatus':function(w,v){w.uint(70197089);w.object(h(v,'peer'));},
2046
+ 'premium.getUserBoosts':function(w,v){w.uint(965037343);w.object(h(v,'peer'));w.object(h(v,'userId'));},
2047
+ 'smsjobs.isEligibleToJoin':function(w){w.uint(249313744);},
2048
+ 'smsjobs.join':function(w){w.uint(2806959661);},
2049
+ 'smsjobs.leave':function(w){w.uint(2560142707);},
2050
+ 'smsjobs.updateSettings':function(w,v){w.uint(155164863);var flags=0;if(v.allowInternational===true)flags|=1;w.uint(flags);},
2051
+ 'smsjobs.getStatus':function(w){w.uint(279353576);},
2052
+ 'smsjobs.getSmsJob':function(w,v){w.uint(2005766191);w.string(h(v,'jobId'));},
2053
+ 'smsjobs.finishJob':function(w,v){w.uint(1327415076);var flags=0;var _error=v.error!==undefined;if(_error)flags|=1;w.uint(flags);w.string(h(v,'jobId'));if(_error)w.string(v.error);},
2054
+ 'fragment.getCollectibleInfo':function(w,v){w.uint(3189671354);w.object(h(v,'collectible'));},
2055
+ 'channels.viewSponsoredMessage':function(w,v){w.uint(3199130516);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
2056
+ 'channels.getSponsoredMessages':function(w,v){w.uint(3961589695);w.object(h(v,'channel'));},
2057
+ 'channels.clickSponsoredMessage':function(w,v){w.uint(21257589);var flags=0;if(v.media===true)flags|=1;if(v.fullscreen===true)flags|=2;w.uint(flags);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));},
2058
+ 'channels.reportSponsoredMessage':function(w,v){w.uint(2945447609);w.object(h(v,'channel'));w.bytes(h(v,'randomId'));w.bytes(h(v,'option'));},
2059
+ 'mtcute.customMethod':function(w,v){w.raw(h(v,'bytes'));},
1747
2060
  'mt_resPQ':function(w,v){w.uint(85337187);w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.bytes(h(v,'pq'));w.vector(w.long,h(v,'serverPublicKeyFingerprints'));},
1748
2061
  'mt_p_q_inner_data_dc':function(w,v){w.uint(2851430293);w.bytes(h(v,'pq'));w.bytes(h(v,'p'));w.bytes(h(v,'q'));w.int128(h(v,'nonce'));w.int128(h(v,'serverNonce'));w.int256(h(v,'newNonce'));w.int(h(v,'dc'));},
1749
2062
  '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'));},
@@ -1824,9 +2137,9 @@ _staticSize:{
1824
2137
  'userStatusEmpty':4,
1825
2138
  'userStatusOnline':8,
1826
2139
  'userStatusOffline':8,
1827
- 'userStatusRecently':4,
1828
- 'userStatusLastWeek':4,
1829
- 'userStatusLastMonth':4,
2140
+ 'userStatusRecently':8,
2141
+ 'userStatusLastWeek':8,
2142
+ 'userStatusLastMonth':8,
1830
2143
  'chatEmpty':12,
1831
2144
  'chatParticipant':24,
1832
2145
  'chatParticipantCreator':12,
@@ -1846,7 +2159,8 @@ _staticSize:{
1846
2159
  'messageActionContactSignUp':4,
1847
2160
  'messageActionGeoProximityReached':32,
1848
2161
  'messageActionChatJoinedByRequest':4,
1849
- 'messageActionRequestedPeer':20,
2162
+ 'messageActionGiveawayResults':16,
2163
+ 'messageActionBoostApply':8,
1850
2164
  'photoEmpty':12,
1851
2165
  'geoPointEmpty':4,
1852
2166
  'inputNotifyUsers':4,
@@ -1922,9 +2236,13 @@ _staticSize:{
1922
2236
  'updateChannelPinnedTopic':20,
1923
2237
  'updateUser':12,
1924
2238
  'updateAutoSaveSettings':4,
1925
- 'updateGroupInvitePrivacyForbidden':12,
1926
2239
  'updateReadStories':20,
1927
2240
  'updateStoryID':16,
2241
+ 'updateChannelViewForumAsMessages':16,
2242
+ 'updateSavedReactionTags':4,
2243
+ 'updateDeleteQuickReply':8,
2244
+ 'updateStarsBalance':12,
2245
+ 'updatePaidReactionPrivacy':8,
1928
2246
  'updates.state':24,
1929
2247
  'updates.differenceEmpty':12,
1930
2248
  'updates.differenceTooLong':8,
@@ -1973,6 +2291,8 @@ _staticSize:{
1973
2291
  'inputPrivacyKeyAddedByPhone':4,
1974
2292
  'inputPrivacyKeyVoiceMessages':4,
1975
2293
  'inputPrivacyKeyAbout':4,
2294
+ 'inputPrivacyKeyBirthday':4,
2295
+ 'inputPrivacyKeyStarGiftsAutoSave':4,
1976
2296
  'privacyKeyStatusTimestamp':4,
1977
2297
  'privacyKeyChatInvite':4,
1978
2298
  'privacyKeyPhoneCall':4,
@@ -1983,16 +2303,24 @@ _staticSize:{
1983
2303
  'privacyKeyAddedByPhone':4,
1984
2304
  'privacyKeyVoiceMessages':4,
1985
2305
  'privacyKeyAbout':4,
2306
+ 'privacyKeyBirthday':4,
2307
+ 'privacyKeyStarGiftsAutoSave':4,
1986
2308
  'inputPrivacyValueAllowContacts':4,
1987
2309
  'inputPrivacyValueAllowAll':4,
1988
2310
  'inputPrivacyValueDisallowContacts':4,
1989
2311
  'inputPrivacyValueDisallowAll':4,
1990
2312
  'inputPrivacyValueAllowCloseFriends':4,
2313
+ 'inputPrivacyValueAllowPremium':4,
2314
+ 'inputPrivacyValueAllowBots':4,
2315
+ 'inputPrivacyValueDisallowBots':4,
1991
2316
  'privacyValueAllowContacts':4,
1992
2317
  'privacyValueAllowAll':4,
1993
2318
  'privacyValueDisallowContacts':4,
1994
2319
  'privacyValueDisallowAll':4,
1995
2320
  'privacyValueAllowCloseFriends':4,
2321
+ 'privacyValueAllowPremium':4,
2322
+ 'privacyValueAllowBots':4,
2323
+ 'privacyValueDisallowBots':4,
1996
2324
  'accountDaysTTL':8,
1997
2325
  'documentAttributeImageSize':12,
1998
2326
  'documentAttributeAnimated':4,
@@ -2010,6 +2338,7 @@ _staticSize:{
2010
2338
  'inputStickerSetEmojiGenericAnimations':4,
2011
2339
  'inputStickerSetEmojiDefaultStatuses':4,
2012
2340
  'inputStickerSetEmojiDefaultTopicIcons':4,
2341
+ 'inputStickerSetEmojiChannelDefaultStatuses':4,
2013
2342
  'messages.stickerSetNotModified':4,
2014
2343
  'replyKeyboardHide':8,
2015
2344
  'messageEntityUnknown':12,
@@ -2026,16 +2355,14 @@ _staticSize:{
2026
2355
  'messageEntityCashtag':12,
2027
2356
  'messageEntityUnderline':12,
2028
2357
  'messageEntityStrike':12,
2029
- 'messageEntityBlockquote':12,
2030
2358
  'messageEntityBankCard':12,
2031
2359
  'messageEntitySpoiler':12,
2032
2360
  'messageEntityCustomEmoji':20,
2361
+ 'messageEntityBlockquote':16,
2033
2362
  'inputChannelEmpty':4,
2034
2363
  'inputChannel':20,
2035
2364
  'messageRange':12,
2036
2365
  'channelMessagesFilterEmpty':4,
2037
- 'channelParticipant':16,
2038
- 'channelParticipantSelf':28,
2039
2366
  'channelParticipantLeft':16,
2040
2367
  'channelParticipantsRecent':4,
2041
2368
  'channelParticipantsAdmins':4,
@@ -2063,6 +2390,7 @@ _staticSize:{
2063
2390
  'topPeerCategoryPhoneCalls':4,
2064
2391
  'topPeerCategoryForwardUsers':4,
2065
2392
  'topPeerCategoryForwardChats':4,
2393
+ 'topPeerCategoryBotsApp':4,
2066
2394
  'contacts.topPeersNotModified':4,
2067
2395
  'contacts.topPeersDisabled':4,
2068
2396
  'messages.featuredStickersNotModified':8,
@@ -2093,6 +2421,7 @@ _staticSize:{
2093
2421
  'channelAdminLogEventActionToggleNoForwards':8,
2094
2422
  'channelAdminLogEventActionToggleForum':8,
2095
2423
  'channelAdminLogEventActionToggleAntiSpam':8,
2424
+ 'channelAdminLogEventActionToggleSignatureProfiles':8,
2096
2425
  'channelAdminLogEventsFilter':8,
2097
2426
  'popularContact':16,
2098
2427
  'messages.favedStickersNotModified':4,
@@ -2156,14 +2485,13 @@ _staticSize:{
2156
2485
  'statsDateRangeDays':12,
2157
2486
  'statsAbsValueAndPrev':20,
2158
2487
  'statsPercentValue':20,
2159
- 'messageInteractionCounters':16,
2160
2488
  'help.promoDataEmpty':8,
2161
2489
  'statsGroupTopPoster':20,
2162
2490
  'statsGroupTopAdmin':24,
2163
2491
  'statsGroupTopInviter':16,
2164
2492
  'globalPrivacySettings':8,
2165
2493
  'help.countriesListNotModified':4,
2166
- 'messageReplyStoryHeader':16,
2494
+ 'messageReplyStoryHeader':20,
2167
2495
  'peerBlocked':20,
2168
2496
  'groupCallDiscarded':24,
2169
2497
  'inputGroupCall':20,
@@ -2207,6 +2535,7 @@ _staticSize:{
2207
2535
  'account.emojiStatusesNotModified':4,
2208
2536
  'reactionEmpty':4,
2209
2537
  'reactionCustomEmoji':12,
2538
+ 'reactionPaid':4,
2210
2539
  'chatReactionsNone':4,
2211
2540
  'chatReactionsAll':8,
2212
2541
  'messages.reactionsNotModified':4,
@@ -2225,16 +2554,42 @@ _staticSize:{
2225
2554
  'messagePeerVoteInputOption':20,
2226
2555
  'storyItemDeleted':8,
2227
2556
  'storyItemSkipped':20,
2228
- 'mediaAreaCoordinates':44,
2229
- 'stories.canApplyBoostOk':4,
2230
- 'booster':16,
2231
- 'messageActionGiveawayLaunch':4,
2232
- 'channelAdminLogEventActionChangeColor':12,
2233
- 'channelAdminLogEventActionChangeBackgroundEmoji':20,
2234
2557
  'prepaidGiveaway':24,
2235
- 'messageUserVoteInputOption':16,
2236
- 'dummyUpdate':20,
2237
- 'test.useError':4,
2558
+ 'prepaidStarsGiveaway':32,
2559
+ 'postInteractionCountersMessage':20,
2560
+ 'postInteractionCountersStory':20,
2561
+ 'help.peerColorsNotModified':4,
2562
+ 'savedDialog':24,
2563
+ 'messages.savedDialogsNotModified':8,
2564
+ 'messages.savedReactionTagsNotModified':4,
2565
+ 'outboxReadDate':8,
2566
+ 'businessWeeklyOpen':12,
2567
+ 'businessAwayMessageScheduleAlways':4,
2568
+ 'businessAwayMessageScheduleOutsideWorkHours':4,
2569
+ 'businessAwayMessageScheduleCustom':12,
2570
+ 'help.timezonesListNotModified':4,
2571
+ 'inputQuickReplyShortcutId':8,
2572
+ 'messages.quickRepliesNotModified':4,
2573
+ 'missingInvitee':16,
2574
+ 'channels.sponsoredMessageReportResultAdsHidden':4,
2575
+ 'channels.sponsoredMessageReportResultReported':4,
2576
+ 'broadcastRevenueTransactionProceeds':20,
2577
+ 'reactionNotificationsFromContacts':4,
2578
+ 'reactionNotificationsFromAll':4,
2579
+ 'broadcastRevenueBalances':32,
2580
+ 'messages.availableEffectsNotModified':4,
2581
+ 'starsTransactionPeerUnsupported':4,
2582
+ 'starsTransactionPeerAppStore':4,
2583
+ 'starsTransactionPeerPlayMarket':4,
2584
+ 'starsTransactionPeerPremiumBot':4,
2585
+ 'starsTransactionPeerFragment':4,
2586
+ 'starsTransactionPeer':16,
2587
+ 'starsTransactionPeerAds':4,
2588
+ 'starsTransactionPeerAPI':4,
2589
+ 'starsSubscriptionPricing':16,
2590
+ 'starsGiveawayWinnersOption':20,
2591
+ 'payments.starGiftsNotModified':4,
2592
+ 'reportResultReported':4,
2238
2593
  'test.useConfigSimple':4,
2239
2594
  'test.parseInputAppEvent':4,
2240
2595
  'auth.logOut':4,
@@ -2279,6 +2634,13 @@ _staticSize:{
2279
2634
  'account.getDefaultGroupPhotoEmojis':12,
2280
2635
  'account.getAutoSaveSettings':4,
2281
2636
  'account.deleteAutoSaveExceptions':4,
2637
+ 'account.getDefaultBackgroundEmojis':12,
2638
+ 'account.getChannelDefaultEmojiStatuses':12,
2639
+ 'account.getChannelRestrictedStatusEmojis':12,
2640
+ 'account.getConnectedBots':4,
2641
+ 'account.getBusinessChatLinks':4,
2642
+ 'account.toggleSponsoredMessages':8,
2643
+ 'account.getReactionsNotifySettings':4,
2282
2644
  'contacts.getContactIDs':12,
2283
2645
  'contacts.getStatuses':4,
2284
2646
  'contacts.getContacts':12,
@@ -2289,6 +2651,7 @@ _staticSize:{
2289
2651
  'contacts.toggleTopPeers':8,
2290
2652
  'contacts.blockFromReplies':12,
2291
2653
  'contacts.exportContactToken':4,
2654
+ 'contacts.getBirthdays':4,
2292
2655
  'messages.receivedMessages':8,
2293
2656
  'messages.getFullChat':12,
2294
2657
  'messages.getDhConfig':12,
@@ -2328,6 +2691,15 @@ _staticSize:{
2328
2691
  'messages.getEmojiGroups':8,
2329
2692
  'messages.getEmojiStatusGroups':8,
2330
2693
  'messages.getEmojiProfilePhotoGroups':8,
2694
+ 'messages.getPinnedSavedDialogs':4,
2695
+ 'messages.getDefaultTagReactions':12,
2696
+ 'messages.getQuickReplies':12,
2697
+ 'messages.deleteQuickReplyShortcut':8,
2698
+ 'messages.toggleDialogFilterTags':8,
2699
+ 'messages.getMyStickers':16,
2700
+ 'messages.getEmojiStickerGroups':8,
2701
+ 'messages.getAvailableEffects':8,
2702
+ 'messages.getPaidReactionPrivacy':4,
2331
2703
  'updates.getState':4,
2332
2704
  'help.getConfig':4,
2333
2705
  'help.getNearestDc':4,
@@ -2340,6 +2712,9 @@ _staticSize:{
2340
2712
  'help.getSupportName':4,
2341
2713
  'help.getPromoData':4,
2342
2714
  'help.getPremiumPromo':4,
2715
+ 'help.getPeerColors':8,
2716
+ 'help.getPeerProfileColors':8,
2717
+ 'help.getTimezonesList':8,
2343
2718
  'channels.getAdminedPublicChannels':8,
2344
2719
  'channels.getLeftChannels':8,
2345
2720
  'channels.getGroupsForDiscussion':4,
@@ -2348,6 +2723,9 @@ _staticSize:{
2348
2723
  'bots.setBotGroupDefaultAdminRights':12,
2349
2724
  'payments.getSavedInfo':4,
2350
2725
  'payments.clearSavedInfo':8,
2726
+ 'payments.getStarsTopupOptions':4,
2727
+ 'payments.getStarsGiveawayOptions':4,
2728
+ 'payments.getStarGifts':8,
2351
2729
  'phone.getCallConfig':4,
2352
2730
  'phone.receivedCall':24,
2353
2731
  'phone.discardCall':44,
@@ -2367,8 +2745,12 @@ _staticSize:{
2367
2745
  'stories.activateStealthMode':8,
2368
2746
  'stories.getAllReadPeerStories':4,
2369
2747
  'stories.getChatsToSend':4,
2370
- 'account.getDefaultBackgroundEmojis':12,
2371
2748
  'premium.getMyBoosts':4,
2749
+ 'smsjobs.isEligibleToJoin':4,
2750
+ 'smsjobs.join':4,
2751
+ 'smsjobs.leave':4,
2752
+ 'smsjobs.updateSettings':8,
2753
+ 'smsjobs.getStatus':4,
2372
2754
  'mt_dh_gen_ok':52,
2373
2755
  'mt_dh_gen_retry':52,
2374
2756
  'mt_dh_gen_fail':52,
@@ -2398,6 +2780,7 @@ _staticSize:{
2398
2780
  'mt_destroy_auth_key':4,
2399
2781
  'messageActionGroupCallScheduled':28,
2400
2782
  'updateChatDefaultBannedRights':32,
2783
+ 'updateBroadcastRevenueTransactions':48,
2401
2784
  'channelParticipantBanned':44,
2402
2785
  'channelAdminLogEventActionDefaultBannedRights':28,
2403
2786
  'channelAdminLogEventActionStartGroupCall':24,