@@ -96,12 +96,12 @@ userStatusLastWeek#7bf09fc = UserStatus;
9696userStatusLastMonth#77ebc742 = UserStatus ;
9797
9898chatEmpty#9ba2d800 id:int = Chat ;
99- chat#d91cdd54 flags:# creator:flags.0? true kicked:flags.1? true left:flags.2? true admins_enabled:flags.3 ? true admin:flags.4 ? true deactivated:flags.5? true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6? InputChannel = Chat ;
99+ chat#3bda1bde flags:# creator:flags.0? true kicked:flags.1? true left:flags.2? true deactivated:flags.5? true id:int title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6? InputChannel admin_rights:flags.14 ? ChatAdminRights default_banned_rights:flags.18 ? ChatBannedRights = Chat ;
100100chatForbidden#7328bdb id:int title:string = Chat ;
101- channel#c88974ac flags:# creator:flags.0? true left:flags.2? true editor:flags.3 ? true broadcast:flags.5? true verified:flags.7? true megagroup:flags.8? true restricted:flags.9? true democracy:flags.10 ? true signatures:flags.11? true min:flags.12? true id:int access_hash:flags.13? long title:string username:flags.6? string photo:ChatPhoto date:int version:int restriction_reason:flags.9? string admin_rights:flags.14? ChannelAdminRights banned_rights:flags.15? ChannelBannedRights participants_count:flags.17? int = Chat ;
101+ channel#4df30834 flags:# creator:flags.0? true left:flags.2? true broadcast:flags.5? true verified:flags.7? true megagroup:flags.8? true restricted:flags.9? true signatures:flags.11? true min:flags.12? true id:int access_hash:flags.13? long title:string username:flags.6? string photo:ChatPhoto date:int version:int restriction_reason:flags.9? string admin_rights:flags.14? ChatAdminRights banned_rights:flags.15? ChatBannedRights default_banned_rights:flags.18 ? ChatBannedRights participants_count:flags.17? int = Chat ;
102102channelForbidden#289da732 flags:# broadcast:flags.5? true megagroup:flags.8? true id:int access_hash:long title:string until_date:flags.16? int = Chat ;
103103
104- chatFull#edd2a791 flags:# id:int participants:ChatParticipants chat_photo:flags.2? Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3? Vector <BotInfo > pinned_msg_id:flags.6? int = ChatFull ;
104+ chatFull#22a235da flags:# can_set_username:flags.7 ? true id:int about:string participants:ChatParticipants chat_photo:flags.2? Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:flags.3? Vector <BotInfo > pinned_msg_id:flags.6? int = ChatFull ;
105105channelFull#1c87a71a flags:# can_view_participants:flags.3? true can_set_username:flags.6? true can_set_stickers:flags.7? true hidden_prehistory:flags.10? true can_view_stats:flags.12? true id:int about:string participants_count:flags.0? int admins_count:flags.1? int kicked_count:flags.2? int banned_count:flags.2? int online_count:flags.13? int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo > migrated_from_chat_id:flags.4? int migrated_from_max_id:flags.4? int pinned_msg_id:flags.5? int stickerset:flags.8? StickerSet available_min_id:flags.9? int = ChatFull ;
106106
107107chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant ;
@@ -163,6 +163,7 @@ photo#9c477dd8 flags:# has_stickers:flags.0?true id:long access_hash:long file_r
163163photoSizeEmpty#e17e23c type:string = PhotoSize ;
164164photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize ;
165165photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize ;
166+ photoStrippedSize#e0b0bc2e type:string bytes:bytes = PhotoSize ;
166167
167168geoPointEmpty#1117dd5f = GeoPoint ;
168169geoPoint#296f104 long:double lat:double access_hash:long = GeoPoint ;
@@ -186,8 +187,7 @@ peerNotifySettings#af509d20 flags:# show_previews:flags.0?Bool silent:flags.1?Bo
186187
187188peerSettings#818426cd flags:# report_spam:flags.0? true = PeerSettings ;
188189
189- wallPaper#ccb03657 id:int title:string sizes:Vector<PhotoSize > color:int = WallPaper ;
190- wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper ;
190+ wallPaper#f04f91ec id:long flags:# creator:flags.0? true default:flags.1? true access_hash:long slug:string document:Document = WallPaper ;
191191
192192inputReportReasonSpam#58dbcab8 = ReportReason ;
193193inputReportReasonViolence#1e22c78d = ReportReason ;
@@ -221,7 +221,7 @@ messages.dialogsSlice#71e094f3 count:int dialogs:Vector<Dialog> messages:Vector<
221221messages.dialogsNotModified#f0e3e596 count:int = messages .Dialogs ;
222222
223223messages.messages#8c718e87 messages:Vector<Message > chats:Vector<Chat > users:Vector<User > = messages .Messages ;
224- messages.messagesSlice#b446ae3 count:int messages:Vector<Message > chats:Vector<Chat > users:Vector<User > = messages .Messages ;
224+ messages.messagesSlice#a6c47aaa flags:# inexact:flags.1 ? true count:int messages:Vector<Message > chats:Vector<Chat > users:Vector<User > = messages .Messages ;
225225messages.channelMessages#99262e37 flags:# inexact:flags.1? true pts:int count:int messages:Vector<Message > chats:Vector<Chat > users:Vector<User > = messages .Messages ;
226226messages.messagesNotModified#74535f21 count:int = messages .Messages ;
227227
@@ -281,7 +281,6 @@ updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update;
281281updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update ;
282282updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int > pts:int pts_count:int = Update ;
283283updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update ;
284- updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update ;
285284updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update ;
286285updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update ;
287286updateStickerSetsOrder#bb2d201 flags:# masks:flags.0? true order:Vector<long > = Update ;
@@ -318,6 +317,7 @@ updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Up
318317updateUserPinnedMessage#4c43da18 user_id:int id:int = Update ;
319318updateChatPinnedMessage#22893b26 chat_id:int id:int = Update ;
320319updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0? Poll results:PollResults = Update ;
320+ updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBannedRights version:int = Update ;
321321
322322updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
323323
@@ -382,7 +382,7 @@ inputDocumentEmpty#72f0eaae = InputDocument;
382382inputDocument#1abfb575 id:long access_hash:long file_reference:bytes = InputDocument ;
383383
384384documentEmpty#36f8c871 id:long = Document ;
385- document#59534e4c id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumb: PhotoSize dc_id:int attributes:Vector<DocumentAttribute > = Document ;
385+ document#9ba29cc1 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:int thumbs:flags.0 ? Vector < PhotoSize > dc_id:int attributes:Vector<DocumentAttribute > = Document ;
386386
387387help.support#17c6b5f6 phone_number:string user:User = help .Support ;
388388
@@ -544,15 +544,16 @@ channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:
544544channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant ;
545545channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant ;
546546channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant ;
547- channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0? true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant ;
548- channelParticipantBanned#222c1886 flags:# left:flags.0? true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant ;
547+ channelParticipantAdmin#5daa6e23 flags:# can_edit:flags.0? true self:flags.1 ? true user_id:int inviter_id:flags.1 ? int promoted_by:int date:int admin_rights:ChatAdminRights = ChannelParticipant ;
548+ channelParticipantBanned#1c0facaf flags:# left:flags.0? true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant ;
549549
550550channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter ;
551551channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter ;
552552channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter ;
553553channelParticipantsBots#b0d1865b = ChannelParticipantsFilter ;
554554channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter ;
555555channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter ;
556+ channelParticipantsContacts#bb6ae88d q:string = ChannelParticipantsFilter ;
556557
557558channels.channelParticipants#f56ee2a8 count:int participants:Vector<ChannelParticipant > users:Vector<User > = channels .ChannelParticipants ;
558559channels.channelParticipantsNotModified#f0173fe9 = channels .ChannelParticipants ;
@@ -789,10 +790,6 @@ langPackDifference#f385c1f6 lang_code:string from_version:int version:int string
789790
790791langPackLanguage#eeca5ce3 flags:# official:flags.0? true rtl:flags.2? true beta:flags.3? true name:string native_name:string lang_code:string base_lang_code:flags.1? string plural_code:string strings_count:int translated_count:int translations_url:string = LangPackLanguage ;
791792
792- channelAdminRights#5d7ceba5 flags:# change_info:flags.0? true post_messages:flags.1? true edit_messages:flags.2? true delete_messages:flags.3? true ban_users:flags.4? true invite_users:flags.5? true invite_link:flags.6? true pin_messages:flags.7? true add_admins:flags.9? true manage_call:flags.10? true = ChannelAdminRights ;
793-
794- channelBannedRights#58cf4249 flags:# view_messages:flags.0? true send_messages:flags.1? true send_media:flags.2? true send_stickers:flags.3? true send_gifs:flags.4? true send_games:flags.5? true send_inline:flags.6? true embed_links:flags.7? true until_date:int = ChannelBannedRights ;
795-
796793channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction ;
797794channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction ;
798795channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction ;
@@ -809,6 +806,8 @@ channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:Channel
809806channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction ;
810807channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction ;
811808channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction ;
809+ channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction ;
810+ channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction ;
812811
813812channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent ;
814813
@@ -972,6 +971,16 @@ chatOnlines#f041e250 onlines:int = ChatOnlines;
972971
973972statsURL#47a971e0 url:string = StatsURL ;
974973
974+ chatAdminRights#5fb224d5 flags:# change_info:flags.0? true post_messages:flags.1? true edit_messages:flags.2? true delete_messages:flags.3? true ban_users:flags.4? true invite_users:flags.5? true pin_messages:flags.7? true add_admins:flags.9? true = ChatAdminRights ;
975+
976+ chatBannedRights#9f120418 flags:# view_messages:flags.0? true send_messages:flags.1? true send_media:flags.2? true send_stickers:flags.3? true send_gifs:flags.4? true send_games:flags.5? true send_inline:flags.6? true embed_links:flags.7? true send_polls:flags.8? true change_info:flags.10? true invite_users:flags.15? true pin_messages:flags.17? true until_date:int = ChatBannedRights ;
977+
978+ inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper ;
979+ inputWallPaperSlug#72091c80 slug:string = InputWallPaper ;
980+
981+ account.wallPapersNotModified#1c199183 = account .WallPapers ;
982+ account.wallPapers#702b65a9 hash:int wallpapers:Vector<WallPaper > = account .WallPapers ;
983+
975984---functions ---
976985
977986invokeAfterMsg#cb9f372d {X:Type} msg_id:long query :!X = X ;
@@ -1005,7 +1014,7 @@ account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;
10051014account.resetNotifySettings#db7e1747 = Bool ;
10061015account.updateProfile#78515775 flags:# first_name:flags.0? string last_name:flags.1? string about:flags.2? string = User ;
10071016account.updateStatus#6628562c offline:Bool = Bool ;
1008- account.getWallPapers#c04cfac2 = Vector < WallPaper > ;
1017+ account.getWallPapers#aabb1763 hash:int = account . WallPapers ;
10091018account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool ;
10101019account.checkUsername#2714d86c username:string = Bool ;
10111020account.updateUsername#3e0bdd7c username:string = User ;
@@ -1046,6 +1055,10 @@ account.cancelPasswordEmail#c1cbd5b6 = Bool;
10461055account.getContactSignUpNotification#9f07c728 = Bool ;
10471056account.setContactSignUpNotification#cff43f61 silent:Bool = Bool ;
10481057account.getNotifyExceptions#53577479 flags:# compare_sound:flags.1? true peer:flags.0? InputNotifyPeer = Updates ;
1058+ account.uploadWallPaper#c7ba9b4d file:InputFile mime_type:string = WallPaper ;
1059+ account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper ;
1060+ account.saveWallPaper#189581b3 wallpaper:InputWallPaper unsave:Bool = Bool ;
1061+ account.installWallPaper#4a0378ce wallpaper:InputWallPaper = Bool ;
10491062
10501063users.getUsers#d91a548 id:Vector<InputUser > = Vector <User >;
10511064users.getFullUser#ca30a5b1 id:InputUser = UserFull ;
@@ -1107,15 +1120,14 @@ messages.readMessageContents#36a73f77 id:Vector<int> = messages.AffectedMessages
11071120messages.getStickers#43d4f2c emoticon:string hash:int = messages .Stickers ;
11081121messages.getAllStickers#1c9618b1 hash:int = messages .AllStickers ;
11091122messages.getWebPagePreview#8b68b0cc flags:# message:string entities:flags.3? Vector <MessageEntity > = MessageMedia ;
1110- messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite ;
1123+ messages.exportChatInvite#df7534c peer:InputPeer = ExportedChatInvite ;
11111124messages.checkChatInvite#3eadb1bb hash:string = ChatInvite ;
11121125messages.importChatInvite#6c50051c hash:string = Updates ;
11131126messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages .StickerSet ;
11141127messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages .StickerSetInstallResult ;
11151128messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool ;
11161129messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates ;
11171130messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector<int > increment:Bool = Vector <int >;
1118- messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates ;
11191131messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool ;
11201132messages.migrateChat#15a3b8e3 chat_id:int = Updates ;
11211133messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages .Messages ;
@@ -1174,6 +1186,8 @@ messages.sendVote#10ea6184 peer:InputPeer msg_id:int options:Vector<bytes> = Upd
11741186messages.getPollResults#73bb643b peer:InputPeer msg_id:int = Updates ;
11751187messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines ;
11761188messages.getStatsURL#83f6c0cd peer:InputPeer = StatsURL ;
1189+ messages.editChatAbout#def60797 peer:InputPeer about:string = Bool ;
1190+ messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates ;
11771191
11781192updates.getState#edd4882a = updates .State ;
11791193updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
@@ -1223,22 +1237,19 @@ channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channe
12231237channels.getChannels#a7f6bbb id:Vector<InputChannel > = messages .Chats ;
12241238channels.getFullChannel#8736a09 channel:InputChannel = messages .ChatFull ;
12251239channels.createChannel#f4893d7f flags:# broadcast:flags.0? true megagroup:flags.1? true title:string about:string = Updates ;
1226- channels.editAbout#13e27f1e channel:InputChannel about:string = Bool ;
1227- channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates ;
1240+ channels.editAdmin#70f893ba channel:InputChannel user_id:InputUser admin_rights:ChatAdminRights = Updates ;
12281241channels.editTitle#566decd0 channel:InputChannel title:string = Updates ;
12291242channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates ;
12301243channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool ;
12311244channels.updateUsername#3514b3de channel:InputChannel username:string = Bool ;
12321245channels.joinChannel#24b524c5 channel:InputChannel = Updates ;
12331246channels.leaveChannel#f836aa95 channel:InputChannel = Updates ;
12341247channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser > = Updates ;
1235- channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite ;
12361248channels.deleteChannel#c0111fe3 channel:InputChannel = Updates ;
1237- channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates ;
12381249channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink ;
12391250channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates ;
12401251channels.getAdminedPublicChannels#8d8d82d7 = messages .Chats ;
1241- channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates ;
1252+ channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates ;
12421253channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0? ChannelAdminLogEventsFilter admins:flags.1? Vector <InputUser > max_id:long min_id:long limit:int = channels .AdminLogResults ;
12431254channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool ;
12441255channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector<int > = Bool ;
@@ -1276,4 +1287,4 @@ langpack.getDifference#9d51e814 lang_code:string from_version:int = LangPackDiff
12761287langpack.getLanguages#42c6978f lang_pack:string = Vector <LangPackLanguage >;
12771288langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage ;
12781289
1279- // LAYER 91
1290+ // LAYER 93
0 commit comments