@@ -70,7 +70,7 @@ inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes th
7070inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation ;
7171inputPeerPhotoFileLocation#37257e99 flags:# big:flags.0? true peer:InputPeer photo_id:long = InputFileLocation ;
7272inputStickerSetThumb#9d84f3db stickerset:InputStickerSet thumb_version:int = InputFileLocation ;
73- inputGroupCallStream#bba51639 call:InputGroupCall time_ms:long scale:int = InputFileLocation ;
73+ inputGroupCallStream#598a92a flags:# call:InputGroupCall time_ms:long scale:int video_channel:flags.0 ? int video_quality:flags.0 ? int = InputFileLocation ;
7474
7575peerUser#9db1bc6d user_id:int = Peer ;
7676peerChat#bad0e5bb chat_id:int = Peer ;
@@ -106,8 +106,8 @@ chatForbidden#7328bdb id:int title:string = Chat;
106106channel#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 ;
107107channelForbidden#289da732 flags:# broadcast:flags.5? true megagroup:flags.8? true id:int access_hash:long title:string until_date:flags.16? int = Chat ;
108108
109- 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 ;
110- 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;
109+ 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 ;
110+ 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;
111111
112112chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant ;
113113chatParticipantCreator#da13538a user_id:int = ChatParticipant ;
@@ -165,6 +165,7 @@ messageActionGroupCall#7a0d7f42 flags:# call:InputGroupCall duration:flags.0?int
165165messageActionInviteToGroupCall#76b9f11a call:InputGroupCall users:Vector<int > = MessageAction ;
166166messageActionSetMessagesTTL#aa1afbfd period:int = MessageAction ;
167167messageActionGroupCallScheduled#b3a07661 call:InputGroupCall schedule_date:int = MessageAction ;
168+ messageActionSetChatTheme#aa786345 emoticon:string = MessageAction ;
168169
169170dialog#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 ;
170171dialogFolder#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 ;
@@ -212,7 +213,7 @@ inputReportReasonCopyright#9b89f93a = ReportReason;
212213inputReportReasonGeoIrrelevant#dbd4feed = ReportReason ;
213214inputReportReasonFake#f5ddd6e7 = ReportReason ;
214215
215- 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 ;
216+ 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 ;
216217
217218contact#f911c994 user_id:int mutual:Bool = Contact ;
218219
@@ -443,6 +444,7 @@ sendMessageRecordRoundAction#88f27fbc = SendMessageAction;
443444sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction ;
444445speakingInGroupCallAction#d92c2285 = SendMessageAction ;
445446sendMessageHistoryImportAction#dbda9246 progress:int = SendMessageAction ;
447+ sendMessageChooseStickerAction#b05ac6b1 = SendMessageAction ;
446448
447449contacts.found#b3134d9d my_results:Vector<Peer > results:Vector<Peer > chats:Vector<Chat > users:Vector<User > = contacts .Found ;
448450
@@ -1094,7 +1096,7 @@ restrictionReason#d072acb4 platform:string reason:string text:string = Restricti
10941096inputTheme#3c5693e9 id:long access_hash:long = InputTheme ;
10951097inputThemeSlug#f5890df1 slug:string = InputTheme ;
10961098
1097- 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 ;
1099+ 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 ;
10981100
10991101account.themesNotModified#f41eb622 = account .Themes ;
11001102account.themes#7f676421 hash:int themes:Vector<Theme > = account .Themes ;
@@ -1113,9 +1115,9 @@ baseThemeNight#b7b31ea8 = BaseTheme;
11131115baseThemeTinted#6d5f77ee = BaseTheme ;
11141116baseThemeArctic#5b11125a = BaseTheme ;
11151117
1116- 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 ;
1118+ 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 ;
11171119
1118- 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 ;
1120+ 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 ;
11191121
11201122webPageAttributeTheme#54b56617 flags:# documents:flags.0? Vector <Document > settings:flags.1? ThemeSettings = WebPageAttribute ;
11211123
@@ -1173,7 +1175,7 @@ messageViews#455b853d flags:# views:flags.0?int forwards:flags.1?int replies:fla
11731175
11741176messages.messageViews#b6c4f543 views:Vector<MessageViews > chats:Vector<Chat > users:Vector<User > = messages .MessageViews ;
11751177
1176- 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 ;
1178+ 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 ;
11771179
11781180messageReplyHeader#a6d57763 flags:# reply_to_msg_id:int reply_to_peer_id:flags.0? Peer reply_to_top_id:flags.1? int = MessageReplyHeader ;
11791181
@@ -1184,7 +1186,7 @@ peerBlocked#e8fd8014 peer_id:Peer date:int = PeerBlocked;
11841186stats.messageStats#8999f295 views_graph:StatsGraph = stats .MessageStats ;
11851187
11861188groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall ;
1187- 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 ;
1189+ 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 ;
11881190
11891191inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall ;
11901192
@@ -1243,6 +1245,15 @@ account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordR
12431245account.resetPasswordRequestedWait#e9effc7d until_date:int = account .ResetPasswordResult ;
12441246account.resetPasswordOk#e926d63e = account .ResetPasswordResult ;
12451247
1248+ chatTheme#ed0b5c33 emoticon:string theme:Theme dark_theme:Theme = ChatTheme ;
1249+
1250+ account.chatThemesNotModified#e011e1c4 = account .ChatThemes ;
1251+ account.chatThemes#fe4cbebd hash:int themes:Vector<ChatTheme > = account .ChatThemes ;
1252+
1253+ sponsoredMessage#f671f0d1 flags:# random_id:bytes peer_id:Peer from_id:Peer message:string media:flags.0? MessageMedia entities:flags.1? Vector <MessageEntity > = SponsoredMessage ;
1254+
1255+ messages.sponsoredMessages#65a4c7d5 messages:Vector<SponsoredMessage > chats:Vector<Chat > users:Vector<User > = messages .SponsoredMessages ;
1256+
12461257---functions ---
12471258
12481259invokeAfterMsg#cb9f372d {X:Type} msg_id:long query :!X = X ;
@@ -1343,6 +1354,7 @@ account.setGlobalPrivacySettings#1edaaac2 settings:GlobalPrivacySettings = Globa
13431354account.reportProfilePhoto#fa8cc6f5 peer:InputPeer photo_id:InputPhoto reason:ReportReason message:string = Bool ;
13441355account.resetPassword#9308ce1b = account .ResetPasswordResult ;
13451356account.declinePasswordReset#4c9409f6 = Bool ;
1357+ account.getChatThemes#d6d71d7b hash:int = account .ChatThemes ;
13461358
13471359users.getUsers#d91a548 id:Vector<InputUser > = Vector <User >;
13481360users.getFullUser#ca30a5b1 id:InputUser = UserFull ;
@@ -1380,7 +1392,7 @@ messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
13801392messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0? int action:SendMessageAction = Bool ;
13811393messages.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 ;
13821394messages.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 ;
1383- 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 ;
1395+ 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 ;
13841396messages.reportSpam#cf1592db peer:InputPeer = Bool ;
13851397messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings ;
13861398messages.report#8953ab4e peer:InputPeer id:Vector<int > reason:ReportReason message:string = Bool ;
@@ -1511,6 +1523,7 @@ messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithI
15111523messages.getChatInviteImporters#26fb7289 peer:InputPeer link:string offset_date:int offset_user:InputUser limit:int = messages .ChatInviteImporters ;
15121524messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates ;
15131525messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages .CheckedHistoryImportPeer ;
1526+ messages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates ;
15141527
15151528updates.getState#edd4882a = updates .State ;
15161529updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
@@ -1589,6 +1602,8 @@ channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint addr
15891602channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates ;
15901603channels.getInactiveChannels#11e831ee = messages .InactiveChats ;
15911604channels.convertToGigagroup#b290c69 channel:InputChannel = Updates ;
1605+ channels.viewSponsoredMessage#beaedb94 channel:InputChannel random_id:bytes = Bool ;
1606+ channels.getSponsoredMessages#ec210fbf channel:InputChannel = messages .SponsoredMessages ;
15921607
15931608bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON ;
15941609bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool ;
@@ -1627,10 +1642,10 @@ phone.leaveGroupCall#500377f9 call:InputGroupCall source:int = Updates;
16271642phone.inviteToGroupCall#7b393160 call:InputGroupCall users:Vector<InputUser > = Updates ;
16281643phone.discardGroupCall#7a777135 call:InputGroupCall = Updates ;
16291644phone.toggleGroupCallSettings#74bbb43d flags:# reset_invite_hash:flags.1? true call:InputGroupCall join_muted:flags.0? Bool = Updates ;
1630- phone.getGroupCall#c7cb017 call:InputGroupCall = phone .GroupCall ;
1645+ phone.getGroupCall#41845db call:InputGroupCall limit:int = phone .GroupCall ;
16311646phone.getGroupParticipants#c558d8ab call:InputGroupCall ids:Vector<InputPeer > sources:Vector<int > offset:string limit:int = phone .GroupParticipants ;
16321647phone.checkGroupCall#b59cf977 call:InputGroupCall sources:Vector<int > = Vector <int >;
1633- phone.toggleGroupCallRecord#c02a66d7 flags:# start:flags.0? true call:InputGroupCall title:flags.1? string = Updates ;
1648+ phone.toggleGroupCallRecord#f128c708 flags:# start:flags.0? true video:flags.2 ? true call:InputGroupCall title:flags.1? string video_portrait:flags.2 ? Bool = Updates ;
16341649phone.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 ;
16351650phone.editGroupCallTitle#1ca6ac0a call:InputGroupCall title:string = Updates ;
16361651phone.getGroupCallJoinAs#ef7c213a peer:InputPeer = phone .JoinAsPeers ;
@@ -1656,4 +1671,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel
16561671stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages .Messages ;
16571672stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0? true channel:InputChannel msg_id:int = stats .MessageStats ;
16581673
1659- // LAYER 131
1674+ // LAYER 132
0 commit comments