Changes on: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/Resources/tl/api.tl at 8/31/2021, 8:00:25 AM

Files changed (1) hide show
  1. scheme.api.tl.tdesktop +28 -13
scheme.api.tl.tdesktop CHANGED
@@ -91,9 +91,9 @@
91
  inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
92
  inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation;
93
  inputPeerPhotoFileLocation#37257e99 flags:# big:flags.0?true peer:InputPeer photo_id:long = InputFileLocation;
94
  inputStickerSetThumb#9d84f3db stickerset:InputStickerSet thumb_version:int = InputFileLocation;
95
- inputGroupCallStream#bba51639 call:InputGroupCall time_ms:long scale:int = InputFileLocation;
96
 
97
  peerUser#9db1bc6d user_id:int = Peer;
98
  peerChat#bad0e5bb chat_id:int = Peer;
99
  peerChannel#bddde532 channel_id:int = Peer;
@@ -127,10 +127,10 @@
127
  chatForbidden#7328bdb id:int title:string = Chat;
128
  channel#d31a961e 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 scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat;
129
  channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat;
130
 
131
- chatFull#8a1e2983 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer = ChatFull;
132
- channelFull#548c3f93 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_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?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:flags.23?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 folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer = ChatFull;
133
 
134
  chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant;
135
  chatParticipantCreator#da13538a user_id:int = ChatParticipant;
136
  chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant;
@@ -186,8 +186,9 @@
186
  messageActionGroupCall#7a0d7f42 flags:# call:InputGroupCall duration:flags.0?int = MessageAction;
187
  messageActionInviteToGroupCall#76b9f11a call:InputGroupCall users:Vector<int> = MessageAction;
188
  messageActionSetMessagesTTL#aa1afbfd period:int = MessageAction;
189
  messageActionGroupCallScheduled#b3a07661 call:InputGroupCall schedule_date:int = MessageAction;
 
190
 
191
  dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog;
192
  dialogFolder#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;
193
 
@@ -233,9 +234,9 @@
233
  inputReportReasonCopyright#9b89f93a = ReportReason;
234
  inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;
235
  inputReportReasonFake#f5ddd6e7 = ReportReason;
236
 
237
- userFull#139a9a77 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int = UserFull;
238
 
239
  contact#f911c994 user_id:int mutual:Bool = Contact;
240
 
241
  importedContact#d0028438 user_id:int client_id:long = ImportedContact;
@@ -464,8 +465,9 @@
464
  sendMessageRecordRoundAction#88f27fbc = SendMessageAction;
465
  sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;
466
  speakingInGroupCallAction#d92c2285 = SendMessageAction;
467
  sendMessageHistoryImportAction#dbda9246 progress:int = SendMessageAction;
 
468
 
469
  contacts.found#b3134d9d my_results:Vector<Peer> results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;
470
 
471
  inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;
@@ -1115,9 +1117,9 @@
1115
 
1116
  inputTheme#3c5693e9 id:long access_hash:long = InputTheme;
1117
  inputThemeSlug#f5890df1 slug:string = InputTheme;
1118
 
1119
- theme#28f1114 flags:# creator:flags.0?true default:flags.1?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:int = Theme;
1120
 
1121
  account.themesNotModified#f41eb622 = account.Themes;
1122
  account.themes#7f676421 hash:int themes:Vector<Theme> = account.Themes;
1123
 
@@ -1134,11 +1136,11 @@
1134
  baseThemeNight#b7b31ea8 = BaseTheme;
1135
  baseThemeTinted#6d5f77ee = BaseTheme;
1136
  baseThemeArctic#5b11125a = BaseTheme;
1137
 
1138
- inputThemeSettings#bd507cd1 flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings;
1139
 
1140
- themeSettings#9c14984a flags:# base_theme:BaseTheme accent_color:int message_top_color:flags.0?int message_bottom_color:flags.0?int wallpaper:flags.1?WallPaper = ThemeSettings;
1141
 
1142
  webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector<Document> settings:flags.1?ThemeSettings = WebPageAttribute;
1143
 
1144
  messageUserVote#a28e5559 user_id:int option:bytes date:int = MessageUserVote;
@@ -1194,9 +1196,9 @@
1194
  messageViews#455b853d flags:# views:flags.0?int forwards:flags.1?int replies:flags.2?MessageReplies = MessageViews;
1195
 
1196
  messages.messageViews#b6c4f543 views:Vector<MessageViews> chats:Vector<Chat> users:Vector<User> = messages.MessageViews;
1197
 
1198
- messages.discussionMessage#f5dd8f9d flags:# messages:Vector<Message> max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int chats:Vector<Chat> users:Vector<User> = messages.DiscussionMessage;
1199
 
1200
  messageReplyHeader#a6d57763 flags:# reply_to_msg_id:int reply_to_peer_id:flags.0?Peer reply_to_top_id:flags.1?int = MessageReplyHeader;
1201
 
1202
  messageReplies#4128faac flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector<Peer> channel_id:flags.0?int max_id:flags.2?int read_max_id:flags.3?int = MessageReplies;
@@ -1205,9 +1207,9 @@
1205
 
1206
  stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats;
1207
 
1208
  groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall;
1209
- groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;
1210
 
1211
  inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall;
1212
 
1213
  groupCallParticipant#eba636fe flags:# muted:flags.0?true left:flags.1?true can_self_unmute:flags.2?true just_joined:flags.4?true versioned:flags.5?true min:flags.8?true muted_by_you:flags.9?true volume_by_admin:flags.10?true self:flags.12?true video_joined:flags.15?true peer:Peer date:int active_date:flags.3?int source:int volume:flags.7?int about:flags.11?string raise_hand_rating:flags.13?long video:flags.6?GroupCallParticipantVideo presentation:flags.14?GroupCallParticipantVideo = GroupCallParticipant;
@@ -1264,8 +1266,17 @@
1264
  account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordResult;
1265
  account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult;
1266
  account.resetPasswordOk#e926d63e = account.ResetPasswordResult;
1267
 
 
 
 
 
 
 
 
 
 
1268
  ---functions---
1269
 
1270
  invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
1271
  invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
@@ -1364,8 +1375,9 @@
1364
  account.setGlobalPrivacySettings#1edaaac2 settings:GlobalPrivacySettings = GlobalPrivacySettings;
1365
  account.reportProfilePhoto#fa8cc6f5 peer:InputPeer photo_id:InputPhoto reason:ReportReason message:string = Bool;
1366
  account.resetPassword#9308ce1b = account.ResetPasswordResult;
1367
  account.declinePasswordReset#4c9409f6 = Bool;
 
1368
 
1369
  users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
1370
  users.getFullUser#ca30a5b1 id:InputUser = UserFull;
1371
  users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector<SecureValueError> = Bool;
@@ -1401,9 +1413,9 @@
1401
  messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
1402
  messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
1403
  messages.sendMessage#520c3870 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int = Updates;
1404
  messages.sendMedia#3491eba9 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int = Updates;
1405
- messages.forwardMessages#d9fee60e flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer schedule_date:flags.10?int = Updates;
1406
  messages.reportSpam#cf1592db peer:InputPeer = Bool;
1407
  messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings;
1408
  messages.report#8953ab4e peer:InputPeer id:Vector<int> reason:ReportReason message:string = Bool;
1409
  messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;
@@ -1532,8 +1544,9 @@
1532
  messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithInvites;
1533
  messages.getChatInviteImporters#26fb7289 peer:InputPeer link:string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;
1534
  messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates;
1535
  messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer;
 
1536
 
1537
  updates.getState#edd4882a = updates.State;
1538
  updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
1539
  updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
@@ -1610,8 +1623,10 @@
1610
  channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool;
1611
  channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates;
1612
  channels.getInactiveChannels#11e831ee = messages.InactiveChats;
1613
  channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
 
 
1614
 
1615
  bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
1616
  bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
1617
  bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = Bool;
@@ -1648,12 +1663,12 @@
1648
  phone.leaveGroupCall#500377f9 call:InputGroupCall source:int = Updates;
1649
  phone.inviteToGroupCall#7b393160 call:InputGroupCall users:Vector<InputUser> = Updates;
1650
  phone.discardGroupCall#7a777135 call:InputGroupCall = Updates;
1651
  phone.toggleGroupCallSettings#74bbb43d flags:# reset_invite_hash:flags.1?true call:InputGroupCall join_muted:flags.0?Bool = Updates;
1652
- phone.getGroupCall#c7cb017 call:InputGroupCall = phone.GroupCall;
1653
  phone.getGroupParticipants#c558d8ab call:InputGroupCall ids:Vector<InputPeer> sources:Vector<int> offset:string limit:int = phone.GroupParticipants;
1654
  phone.checkGroupCall#b59cf977 call:InputGroupCall sources:Vector<int> = Vector<int>;
1655
- phone.toggleGroupCallRecord#c02a66d7 flags:# start:flags.0?true call:InputGroupCall title:flags.1?string = Updates;
1656
  phone.editGroupCallParticipant#a5273abf flags:# call:InputGroupCall participant:InputPeer muted:flags.0?Bool volume:flags.1?int raise_hand:flags.2?Bool video_stopped:flags.3?Bool video_paused:flags.4?Bool presentation_paused:flags.5?Bool = Updates;
1657
  phone.editGroupCallTitle#1ca6ac0a call:InputGroupCall title:string = Updates;
1658
  phone.getGroupCallJoinAs#ef7c213a peer:InputPeer = phone.JoinAsPeers;
1659
  phone.exportGroupCallInvite#e6aa647f flags:# can_self_unmute:flags.0?true call:InputGroupCall = phone.ExportedGroupCallInvite;
@@ -1677,5 +1692,5 @@
1677
  stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel = stats.MegagroupStats;
1678
  stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
1679
  stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
1680
 
1681
- // LAYER 131
91
  inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
92
  inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation;
93
  inputPeerPhotoFileLocation#37257e99 flags:# big:flags.0?true peer:InputPeer photo_id:long = InputFileLocation;
94
  inputStickerSetThumb#9d84f3db stickerset:InputStickerSet thumb_version:int = InputFileLocation;
95
+ inputGroupCallStream#598a92a flags:# call:InputGroupCall time_ms:long scale:int video_channel:flags.0?int video_quality:flags.0?int = InputFileLocation;
96
 
97
  peerUser#9db1bc6d user_id:int = Peer;
98
  peerChat#bad0e5bb chat_id:int = Peer;
99
  peerChannel#bddde532 channel_id:int = Peer;
127
  chatForbidden#7328bdb id:int title:string = Chat;
128
  channel#d31a961e 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 scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int = Chat;
129
  channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat;
130
 
131
+ chatFull#49a0a5d9 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true id:int about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string = ChatFull;
132
+ channelFull#2f532f3c 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_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?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:flags.23?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 folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string = ChatFull;
133
 
134
  chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant;
135
  chatParticipantCreator#da13538a user_id:int = ChatParticipant;
136
  chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant;
186
  messageActionGroupCall#7a0d7f42 flags:# call:InputGroupCall duration:flags.0?int = MessageAction;
187
  messageActionInviteToGroupCall#76b9f11a call:InputGroupCall users:Vector<int> = MessageAction;
188
  messageActionSetMessagesTTL#aa1afbfd period:int = MessageAction;
189
  messageActionGroupCallScheduled#b3a07661 call:InputGroupCall schedule_date:int = MessageAction;
190
+ messageActionSetChatTheme#aa786345 emoticon:string = MessageAction;
191
 
192
  dialog#2c171f72 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int = Dialog;
193
  dialogFolder#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;
194
 
234
  inputReportReasonCopyright#9b89f93a = ReportReason;
235
  inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;
236
  inputReportReasonFake#f5ddd6e7 = ReportReason;
237
 
238
+ userFull#d697ff05 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true user:User about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string = UserFull;
239
 
240
  contact#f911c994 user_id:int mutual:Bool = Contact;
241
 
242
  importedContact#d0028438 user_id:int client_id:long = ImportedContact;
465
  sendMessageRecordRoundAction#88f27fbc = SendMessageAction;
466
  sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;
467
  speakingInGroupCallAction#d92c2285 = SendMessageAction;
468
  sendMessageHistoryImportAction#dbda9246 progress:int = SendMessageAction;
469
+ sendMessageChooseStickerAction#b05ac6b1 = SendMessageAction;
470
 
471
  contacts.found#b3134d9d my_results:Vector<Peer> results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;
472
 
473
  inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;
1117
 
1118
  inputTheme#3c5693e9 id:long access_hash:long = InputTheme;
1119
  inputThemeSlug#f5890df1 slug:string = InputTheme;
1120
 
1121
+ theme#e802b8dc flags:# creator:flags.0?true default:flags.1?true for_chat:flags.5?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?ThemeSettings installs_count:flags.4?int = Theme;
1122
 
1123
  account.themesNotModified#f41eb622 = account.Themes;
1124
  account.themes#7f676421 hash:int themes:Vector<Theme> = account.Themes;
1125
 
1136
  baseThemeNight#b7b31ea8 = BaseTheme;
1137
  baseThemeTinted#6d5f77ee = BaseTheme;
1138
  baseThemeArctic#5b11125a = BaseTheme;
1139
 
1140
+ inputThemeSettings#ff38f912 flags:# message_colors_animated:flags.2?true base_theme:BaseTheme accent_color:int message_colors:flags.0?Vector<int> wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings;
1141
 
1142
+ themeSettings#8db4e76c flags:# message_colors_animated:flags.2?true base_theme:BaseTheme accent_color:int message_colors:flags.0?Vector<int> wallpaper:flags.1?WallPaper = ThemeSettings;
1143
 
1144
  webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector<Document> settings:flags.1?ThemeSettings = WebPageAttribute;
1145
 
1146
  messageUserVote#a28e5559 user_id:int option:bytes date:int = MessageUserVote;
1196
  messageViews#455b853d flags:# views:flags.0?int forwards:flags.1?int replies:flags.2?MessageReplies = MessageViews;
1197
 
1198
  messages.messageViews#b6c4f543 views:Vector<MessageViews> chats:Vector<Chat> users:Vector<User> = messages.MessageViews;
1199
 
1200
+ messages.discussionMessage#a6341782 flags:# messages:Vector<Message> max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int unread_count:int chats:Vector<Chat> users:Vector<User> = messages.DiscussionMessage;
1201
 
1202
  messageReplyHeader#a6d57763 flags:# reply_to_msg_id:int reply_to_peer_id:flags.0?Peer reply_to_top_id:flags.1?int = MessageReplyHeader;
1203
 
1204
  messageReplies#4128faac flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector<Peer> channel_id:flags.0?int max_id:flags.2?int read_max_id:flags.3?int = MessageReplies;
1207
 
1208
  stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats;
1209
 
1210
  groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall;
1211
+ groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;
1212
 
1213
  inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall;
1214
 
1215
  groupCallParticipant#eba636fe flags:# muted:flags.0?true left:flags.1?true can_self_unmute:flags.2?true just_joined:flags.4?true versioned:flags.5?true min:flags.8?true muted_by_you:flags.9?true volume_by_admin:flags.10?true self:flags.12?true video_joined:flags.15?true peer:Peer date:int active_date:flags.3?int source:int volume:flags.7?int about:flags.11?string raise_hand_rating:flags.13?long video:flags.6?GroupCallParticipantVideo presentation:flags.14?GroupCallParticipantVideo = GroupCallParticipant;
1266
  account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordResult;
1267
  account.resetPasswordRequestedWait#e9effc7d until_date:int = account.ResetPasswordResult;
1268
  account.resetPasswordOk#e926d63e = account.ResetPasswordResult;
1269
 
1270
+ chatTheme#ed0b5c33 emoticon:string theme:Theme dark_theme:Theme = ChatTheme;
1271
+
1272
+ account.chatThemesNotModified#e011e1c4 = account.ChatThemes;
1273
+ account.chatThemes#fe4cbebd hash:int themes:Vector<ChatTheme> = account.ChatThemes;
1274
+
1275
+ sponsoredMessage#f671f0d1 flags:# random_id:bytes peer_id:Peer from_id:Peer message:string media:flags.0?MessageMedia entities:flags.1?Vector<MessageEntity> = SponsoredMessage;
1276
+
1277
+ messages.sponsoredMessages#65a4c7d5 messages:Vector<SponsoredMessage> chats:Vector<Chat> users:Vector<User> = messages.SponsoredMessages;
1278
+
1279
  ---functions---
1280
 
1281
  invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
1282
  invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
1375
  account.setGlobalPrivacySettings#1edaaac2 settings:GlobalPrivacySettings = GlobalPrivacySettings;
1376
  account.reportProfilePhoto#fa8cc6f5 peer:InputPeer photo_id:InputPhoto reason:ReportReason message:string = Bool;
1377
  account.resetPassword#9308ce1b = account.ResetPasswordResult;
1378
  account.declinePasswordReset#4c9409f6 = Bool;
1379
+ account.getChatThemes#d6d71d7b hash:int = account.ChatThemes;
1380
 
1381
  users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
1382
  users.getFullUser#ca30a5b1 id:InputUser = UserFull;
1383
  users.setSecureValueErrors#90c894b5 id:InputUser errors:Vector<SecureValueError> = Bool;
1413
  messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
1414
  messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
1415
  messages.sendMessage#520c3870 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int = Updates;
1416
  messages.sendMedia#3491eba9 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int = Updates;
1417
+ messages.forwardMessages#d9fee60e flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer schedule_date:flags.10?int = Updates;
1418
  messages.reportSpam#cf1592db peer:InputPeer = Bool;
1419
  messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings;
1420
  messages.report#8953ab4e peer:InputPeer id:Vector<int> reason:ReportReason message:string = Bool;
1421
  messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;
1544
  messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithInvites;
1545
  messages.getChatInviteImporters#26fb7289 peer:InputPeer link:string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;
1546
  messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates;
1547
  messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages.CheckedHistoryImportPeer;
1548
+ messages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates;
1549
 
1550
  updates.getState#edd4882a = updates.State;
1551
  updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
1552
  updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
1623
  channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint address:string = Bool;
1624
  channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates;
1625
  channels.getInactiveChannels#11e831ee = messages.InactiveChats;
1626
  channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
1627
+ channels.viewSponsoredMessage#beaedb94 channel:InputChannel random_id:bytes = Bool;
1628
+ channels.getSponsoredMessages#ec210fbf channel:InputChannel = messages.SponsoredMessages;
1629
 
1630
  bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
1631
  bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
1632
  bots.setBotCommands#517165a scope:BotCommandScope lang_code:string commands:Vector<BotCommand> = Bool;
1663
  phone.leaveGroupCall#500377f9 call:InputGroupCall source:int = Updates;
1664
  phone.inviteToGroupCall#7b393160 call:InputGroupCall users:Vector<InputUser> = Updates;
1665
  phone.discardGroupCall#7a777135 call:InputGroupCall = Updates;
1666
  phone.toggleGroupCallSettings#74bbb43d flags:# reset_invite_hash:flags.1?true call:InputGroupCall join_muted:flags.0?Bool = Updates;
1667
+ phone.getGroupCall#41845db call:InputGroupCall limit:int = phone.GroupCall;
1668
  phone.getGroupParticipants#c558d8ab call:InputGroupCall ids:Vector<InputPeer> sources:Vector<int> offset:string limit:int = phone.GroupParticipants;
1669
  phone.checkGroupCall#b59cf977 call:InputGroupCall sources:Vector<int> = Vector<int>;
1670
+ phone.toggleGroupCallRecord#f128c708 flags:# start:flags.0?true video:flags.2?true call:InputGroupCall title:flags.1?string video_portrait:flags.2?Bool = Updates;
1671
  phone.editGroupCallParticipant#a5273abf flags:# call:InputGroupCall participant:InputPeer muted:flags.0?Bool volume:flags.1?int raise_hand:flags.2?Bool video_stopped:flags.3?Bool video_paused:flags.4?Bool presentation_paused:flags.5?Bool = Updates;
1672
  phone.editGroupCallTitle#1ca6ac0a call:InputGroupCall title:string = Updates;
1673
  phone.getGroupCallJoinAs#ef7c213a peer:InputPeer = phone.JoinAsPeers;
1674
  phone.exportGroupCallInvite#e6aa647f flags:# can_self_unmute:flags.0?true call:InputGroupCall = phone.ExportedGroupCallInvite;
1692
  stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel = stats.MegagroupStats;
1693
  stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
1694
  stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;
1695
 
1696
+ // LAYER 132