@@ -40,10 +40,9 @@ inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0?Vector<
4040inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0? int = InputMedia ;
4141inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia ;
4242inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia ;
43- inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3? true file:InputFile thumb:flags.2? InputFile mime_type:string attributes:Vector<DocumentAttribute > stickers:flags.0? Vector <InputDocument > ttl_seconds:flags.1? int = InputMedia ;
43+ inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3? true force_file:flags.4 ? true file:InputFile thumb:flags.2? InputFile mime_type:string attributes:Vector<DocumentAttribute > stickers:flags.0? Vector <InputDocument > ttl_seconds:flags.1? int = InputMedia ;
4444inputMediaDocument#23ab23d2 flags:# id:InputDocument ttl_seconds:flags.0? int = InputMedia ;
4545inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia ;
46- inputMediaGifExternal#4843b0fd url:string q:string = InputMedia ;
4746inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0? int = InputMedia ;
4847inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0? int = InputMedia ;
4948inputMediaGame#d33f43f3 id:InputGame = InputMedia ;
@@ -53,7 +52,7 @@ inputMediaPoll#f94e5f1 flags:# poll:Poll correct_answers:flags.0?Vector<bytes> s
5352inputMediaDice#e66fbf7b emoticon:string = InputMedia ;
5453
5554inputChatPhotoEmpty#1ca48f57 = InputChatPhoto ;
56- inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto ;
55+ inputChatUploadedPhoto#c642724e flags:# file:flags.0 ? InputFile video:flags.1 ? InputFile video_start_ts:flags.2 ? double = InputChatPhoto ;
5756inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto ;
5857
5958inputGeoPointEmpty#e4c123d6 = InputGeoPoint ;
@@ -91,7 +90,7 @@ userEmpty#200250ba id:int = User;
9190user#938458c1 flags:# self:flags.10? true contact:flags.11? true mutual_contact:flags.12? true deleted:flags.13? true bot:flags.14? true bot_chat_history:flags.15? true bot_nochats:flags.16? true verified:flags.17? true restricted:flags.18? true min:flags.20? true bot_inline_geo:flags.21? true support:flags.23? true scam:flags.24? true id:int access_hash:flags.0? long first_name:flags.1? string last_name:flags.2? string username:flags.3? string phone:flags.4? string photo:flags.5? UserProfilePhoto status:flags.6? UserStatus bot_info_version:flags.14? int restriction_reason:flags.18? Vector <RestrictionReason > bot_inline_placeholder:flags.19? string lang_code:flags.22? string = User ;
9291
9392userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto ;
94- userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto ;
93+ userProfilePhoto#69d3ab26 flags:# has_video:flags.0 ? true photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto ;
9594
9695userStatusEmpty#9d05049 = UserStatus ;
9796userStatusOnline#edb93949 expires:int = UserStatus ;
@@ -117,7 +116,7 @@ chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?
117116chatParticipants#3f460fed chat_id:int participants:Vector<ChatParticipant > version:int = ChatParticipants ;
118117
119118chatPhotoEmpty#37c1011c = ChatPhoto ;
120- chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto ;
119+ chatPhoto#d20b9f3c flags:# has_video:flags.0 ? true photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto ;
121120
122121messageEmpty#83e5de54 id:int = Message ;
123122message#452c0e65 flags:# out:flags.1? true mentioned:flags.4? true media_unread:flags.5? true silent:flags.13? true post:flags.14? true from_scheduled:flags.18? true legacy:flags.19? true edit_hide:flags.21? true id:int from_id:flags.8? int to_id:Peer fwd_from:flags.2? MessageFwdHeader via_bot_id:flags.11? int reply_to_msg_id:flags.3? int date:int message:string media:flags.9? MessageMedia reply_markup:flags.6? ReplyMarkup entities:flags.7? Vector <MessageEntity > views:flags.10? int edit_date:flags.15? int post_author:flags.16? string grouped_id:flags.17? long restriction_reason:flags.22? Vector <RestrictionReason > = Message ;
@@ -165,7 +164,7 @@ dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer t
165164dialogFolder#71bd134c flags:# pinned:flags.2? true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog ;
166165
167166photoEmpty#2331b22d id:long = Photo ;
168- photo#d07504a5 flags:# has_stickers:flags.0? true id:long access_hash:long file_reference:bytes date:int sizes:Vector<PhotoSize > dc_id:int = Photo ;
167+ photo#fb197a65 flags:# has_stickers:flags.0? true id:long access_hash:long file_reference:bytes date:int sizes:Vector<PhotoSize > video_sizes:flags.1 ? Vector < VideoSize > dc_id:int = Photo ;
169168
170169photoSizeEmpty#e17e23c type:string = PhotoSize ;
171170photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize ;
@@ -191,7 +190,7 @@ inputPeerNotifySettings#9c3d198e flags:# show_previews:flags.0?Bool silent:flags
191190
192191peerNotifySettings#af509d20 flags:# show_previews:flags.0? Bool silent:flags.1? Bool mute_until:flags.2? int sound:flags.3? string = PeerNotifySettings ;
193192
194- peerSettings#818426cd flags:# report_spam:flags.0? true add_contact:flags.1? true block_contact:flags.2? true share_contact:flags.3? true need_contacts_exception:flags.4? true report_geo:flags.5? true = PeerSettings ;
193+ peerSettings#733f2961 flags:# report_spam:flags.0? true add_contact:flags.1? true block_contact:flags.2? true share_contact:flags.3? true need_contacts_exception:flags.4? true report_geo:flags.5? true autoarchived:flags.7 ? true geo_distance:flags.6 ? int = PeerSettings ;
195194
196195wallPaper#a437c3ed id:long flags:# creator:flags.0? true default:flags.1? true pattern:flags.3? true dark:flags.4? true access_hash:long slug:string document:Document settings:flags.2? WallPaperSettings = WallPaper ;
197196wallPaperNoFile#8af40b25 flags:# default:flags.1? true dark:flags.4? true settings:flags.2? WallPaperSettings = WallPaper ;
@@ -336,6 +335,7 @@ updateDialogFilter#26ffde7d flags:# id:int filter:flags.0?DialogFilter = Update;
336335updateDialogFilterOrder#a5d72105 order:Vector<int > = Update ;
337336updateDialogFilters#3504914f = Update ;
338337updatePhoneCallSignalingData#2661bf09 phone_call_id:long data:bytes = Update ;
338+ updateChannelParticipant#65d2b464 flags:# channel_id:int date:int user_id:int prev_participant:flags.0? ChannelParticipant new_participant:flags.1? ChannelParticipant qts:int = Update ;
339339
340340updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
341341
@@ -373,7 +373,7 @@ help.inviteText#18cb9f78 message:string = help.InviteText;
373373
374374encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat ;
375375encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat ;
376- encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat ;
376+ encryptedChatRequested#62718a82 flags:# folder_id:flags.0 ? int id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat ;
377377encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat ;
378378encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat ;
379379
@@ -507,6 +507,7 @@ chatInviteExported#fc2e05bc link:string = ExportedChatInvite;
507507
508508chatInviteAlready#5a686d7c chat:Chat = ChatInvite ;
509509chatInvite#dfc2f58e flags:# channel:flags.0? true broadcast:flags.1? true public:flags.2? true megagroup:flags.3? true title:string photo:Photo participants_count:int participants:flags.4? Vector <User > = ChatInvite ;
510+ chatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite ;
510511
511512inputStickerSetEmpty#ffb62b95 = InputStickerSet ;
512513inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet ;
@@ -597,11 +598,6 @@ channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector
597598
598599help.termsOfService#780a0310 flags:# popup:flags.0? true id:DataJSON text:string entities:Vector<MessageEntity > min_age_confirm:flags.1? int = help .TermsOfService ;
599600
600- foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif ;
601- foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif ;
602-
603- messages.foundGifs#450a1c0a next_offset:int results:Vector<FoundGif > = messages .FoundGifs ;
604-
605601messages.savedGifsNotModified#e8025ca2 = messages .SavedGifs ;
606602messages.savedGifs#2e0709a5 hash:int gifs:Vector<Document > = messages .SavedGifs ;
607603
@@ -1119,7 +1115,17 @@ stats.broadcastStats#bdf78394 period:StatsDateRangeDays followers:StatsAbsValueA
11191115help.promoDataEmpty#98f6ac75 expires:int = help .PromoData ;
11201116help.promoData#8c39793f flags:# proxy:flags.0? true expires:int peer:Peer chats:Vector<Chat > users:Vector<User > psa_type:flags.1? string psa_message:flags.2? string = help .PromoData ;
11211117
1122- videoSize#435bb987 type:string location:FileLocation w:int h:int size:int = VideoSize ;
1118+ videoSize#e831c556 flags:# type:string location:FileLocation w:int h:int size:int video_start_ts:flags.0? double = VideoSize ;
1119+
1120+ statsGroupTopPoster#18f3d0f7 user_id:int messages:int avg_chars:int = StatsGroupTopPoster ;
1121+
1122+ statsGroupTopAdmin#6014f412 user_id:int deleted:int kicked:int banned:int = StatsGroupTopAdmin ;
1123+
1124+ statsGroupTopInviter#31962a4c user_id:int invitations:int = StatsGroupTopInviter ;
1125+
1126+ stats.megagroupStats#ef7ff916 period:StatsDateRangeDays members:StatsAbsValueAndPrev messages:StatsAbsValueAndPrev viewers:StatsAbsValueAndPrev posters:StatsAbsValueAndPrev growth_graph:StatsGraph members_graph:StatsGraph new_members_by_source_graph:StatsGraph languages_graph:StatsGraph messages_graph:StatsGraph actions_graph:StatsGraph top_hours_graph:StatsGraph weekdays_graph:StatsGraph top_posters:Vector<StatsGroupTopPoster > top_admins:Vector<StatsGroupTopAdmin > top_inviters:Vector<StatsGroupTopInviter > users:Vector<User > = stats .MegagroupStats ;
1127+
1128+ globalPrivacySettings#bea2f424 flags:# archive_and_mute_new_noncontact_peers:flags.0? Bool = GlobalPrivacySettings ;
11231129
11241130---functions ---
11251131
@@ -1215,6 +1221,8 @@ account.getThemes#285946f8 format:string hash:int = account.Themes;
12151221account.setContentSettings#b574b16b flags:# sensitive_enabled:flags.0? true = Bool ;
12161222account.getContentSettings#8b9b4dae = account .ContentSettings ;
12171223account.getMultiWallPapers#65ad71dc wallpapers:Vector<InputWallPaper > = Vector <WallPaper >;
1224+ account.getGlobalPrivacySettings#eb2b4cf6 = GlobalPrivacySettings ;
1225+ account.setGlobalPrivacySettings#1edaaac2 settings:GlobalPrivacySettings = GlobalPrivacySettings ;
12181226
12191227users.getUsers#d91a548 id:Vector<InputUser > = Vector <User >;
12201228users.getFullUser#ca30a5b1 id:InputUser = UserFull ;
@@ -1290,7 +1298,6 @@ messages.migrateChat#15a3b8e3 chat_id:int = Updates;
12901298messages.searchGlobal#bf7225a4 flags:# folder_id:flags.0? int q:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages .Messages ;
12911299messages.reorderStickerSets#78337739 flags:# masks:flags.0? true order:Vector<long > = Bool ;
12921300messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document ;
1293- messages.searchGifs#bf9a776b q:string offset:int = messages .FoundGifs ;
12941301messages.getSavedGifs#83bf3d52 hash:int = messages .SavedGifs ;
12951302messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool ;
12961303messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0? InputGeoPoint query:string offset:string = messages .BotResults ;
@@ -1370,7 +1377,7 @@ updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:
13701377updates.getChannelDifference#3173d78 flags:# force:flags.0? true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates .ChannelDifference ;
13711378
13721379photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto ;
1373- photos.uploadProfilePhoto#4f32c098 file:InputFile = photos .Photo ;
1380+ photos.uploadProfilePhoto#89f30f69 flags:# file:flags.0 ? InputFile video:flags.1 ? InputFile video_start_ts:flags.2 ? double = photos .Photo ;
13741381photos.deletePhotos#87cf7f2f id:Vector<InputPhoto > = Vector <long >;
13751382photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos .Photos ;
13761383
@@ -1403,6 +1410,7 @@ help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo;
14031410help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector<MessageEntity > = help .UserInfo ;
14041411help.getPromoData#c0977421 = help .PromoData ;
14051412help.hidePromoData#1e251c95 peer:InputPeer = Bool ;
1413+ help.dismissSuggestion#77fa99f suggestion:string = Bool ;
14061414
14071415channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool ;
14081416channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int > = messages .AffectedMessages ;
@@ -1479,5 +1487,6 @@ folders.deleteFolder#1c295881 folder_id:int = Updates;
14791487
14801488stats.getBroadcastStats#ab42441a flags:# dark:flags.0? true channel:InputChannel = stats .BroadcastStats ;
14811489stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0? long = StatsGraph ;
1490+ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0? true channel:InputChannel = stats .MegagroupStats ;
14821491
1483- // LAYER 114
1492+ // LAYER 116
0 commit comments