@@ -86,7 +86,7 @@ storage.fileMp4#b3cea0e4 = storage.FileType;
8686storage.fileWebp#1081464c = storage .FileType ;
8787
8888userEmpty#200250ba id:int = User ;
89- user#2e13f4c3 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? string bot_inline_placeholder:flags.19? string lang_code:flags.22? string = User ;
89+ user#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 ;
9090
9191userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto ;
9292userProfilePhoto#ecd75d8c photo_id:long photo_small:FileLocation photo_big:FileLocation dc_id:int = UserProfilePhoto ;
@@ -101,11 +101,11 @@ userStatusLastMonth#77ebc742 = UserStatus;
101101chatEmpty#9ba2d800 id:int = Chat ;
102102chat#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 ;
103103chatForbidden#7328bdb id:int title:string = Chat ;
104- 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 scam:flags.19? true has_link:flags.20? true has_geo:flags.21? true slowmode_enabled:flags.22? 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 ;
104+ 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 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 ;
105105channelForbidden#289da732 flags:# broadcast:flags.5? true megagroup:flags.8? true id:int access_hash:long title:string until_date:flags.16? int = Chat ;
106106
107- chatFull#1b7c9db3 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 folder_id:flags.11? int = ChatFull ;
108- channelFull#2d895c74 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 can_set_location:flags.16? 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 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 pts:int = ChatFull ;
107+ chatFull#1b7c9db3 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:ExportedChatInvite bot_info:flags.3? Vector <BotInfo > pinned_msg_id:flags.6? int folder_id:flags.11? int = ChatFull ;
108+ channelFull#2d895c74 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 can_set_location:flags.16? true has_scheduled:flags.19 ? 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 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 pts:int = ChatFull ;
109109
110110chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant ;
111111chatParticipantCreator#da13538a user_id:int = ChatParticipant ;
@@ -118,7 +118,7 @@ chatPhotoEmpty#37c1011c = ChatPhoto;
118118chatPhoto#475cdbd5 photo_small:FileLocation photo_big:FileLocation dc_id:int = ChatPhoto ;
119119
120120messageEmpty#83e5de54 id:int = Message ;
121- message#44f9b43d 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 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 = Message ;
121+ message#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 ;
122122messageService#9e19a1f6 flags:# out:flags.1? true mentioned:flags.4? true media_unread:flags.5? true silent:flags.13? true post:flags.14? true legacy:flags.19? true id:int from_id:flags.8? int to_id:Peer reply_to_msg_id:flags.3? int date:int action:MessageAction = Message ;
123123
124124messageMediaEmpty#3ded6320 = MessageMedia ;
@@ -200,7 +200,7 @@ inputReportReasonOther#e1746d0a text:string = ReportReason;
200200inputReportReasonCopyright#9b89f93a = ReportReason ;
201201inputReportReasonGeoIrrelevant#dbd4feed = ReportReason ;
202202
203- userFull#edf17c12 flags:# blocked:flags.0? true phone_calls_available:flags.4? true phone_calls_private:flags.5? true can_pin_message:flags.7? 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 = UserFull ;
203+ userFull#edf17c12 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 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 = UserFull ;
204204
205205contact#f911c994 user_id:int mutual:Bool = Contact ;
206206
@@ -322,6 +322,9 @@ updateChatDefaultBannedRights#54c01850 peer:Peer default_banned_rights:ChatBanne
322322updateFolderPeers#19360dc0 folder_peers:Vector<FolderPeer > pts:int pts_count:int = Update ;
323323updatePeerSettings#6a7e7366 peer:Peer settings:PeerSettings = Update ;
324324updatePeerLocated#b4afcfb0 peers:Vector<PeerLocated > = Update ;
325+ updateNewScheduledMessage#39a51dfb message:Message = Update ;
326+ updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector<int > = Update ;
327+ updateTheme#8216fba3 theme:Theme = Update ;
325328
326329updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
327330
@@ -418,6 +421,7 @@ inputPrivacyKeyPhoneP2P#db9e70d2 = InputPrivacyKey;
418421inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey ;
419422inputPrivacyKeyProfilePhoto#5719bacc = InputPrivacyKey ;
420423inputPrivacyKeyPhoneNumber#352dafa = InputPrivacyKey ;
424+ inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey ;
421425
422426privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey ;
423427privacyKeyChatInvite#500e6dfa = PrivacyKey ;
@@ -426,6 +430,7 @@ privacyKeyPhoneP2P#39491cc8 = PrivacyKey;
426430privacyKeyForwards#69ec56a3 = PrivacyKey ;
427431privacyKeyProfilePhoto#96151fed = PrivacyKey ;
428432privacyKeyPhoneNumber#d19ae46d = PrivacyKey ;
433+ privacyKeyAddedByPhone#42ffd42b = PrivacyKey ;
429434
430435inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule ;
431436inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule ;
@@ -469,7 +474,7 @@ messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMess
469474
470475webPageEmpty#eb1477e8 id:long = WebPage ;
471476webPagePending#c586da1c id:long date:int = WebPage ;
472- webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0? string site_name:flags.1? string title:flags.2? string description:flags.3? string photo:flags.4? Photo embed_url:flags.5? string embed_type:flags.5? string embed_width:flags.6? int embed_height:flags.6? int duration:flags.7? int author:flags.8? string document:flags.9? Document cached_page:flags.10? Page = WebPage ;
477+ webPage#fa64e172 flags:# id:long url:string display_url:string hash:int type:flags.0? string site_name:flags.1? string title:flags.2? string description:flags.3? string photo:flags.4? Photo embed_url:flags.5? string embed_type:flags.5? string embed_width:flags.6? int embed_height:flags.6? int duration:flags.7? int author:flags.8? string document:flags.9? Document documents:flags.11 ? Vector < Document > cached_page:flags.10? Page = WebPage ;
473478webPageNotModified#85849473 = WebPage ;
474479
475480authorization#ad01d61d flags:# current:flags.0? true official_app:flags.1? true password_pending:flags.2? true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization ;
@@ -1040,6 +1045,17 @@ channelLocation#209b82db geo_point:GeoPoint address:string = ChannelLocation;
10401045
10411046peerLocated#ca461b5d peer:Peer expires:int distance:int = PeerLocated ;
10421047
1048+ restrictionReason#d072acb4 platform:string reason:string text:string = RestrictionReason ;
1049+
1050+ inputTheme#3c5693e9 id:long access_hash:long = InputTheme ;
1051+ inputThemeSlug#f5890df1 slug:string = InputTheme ;
1052+
1053+ themeDocumentNotModified#483d270c = Theme ;
1054+ theme#f7d90ce0 flags:# creator:flags.0? true default:flags.1? true id:long access_hash:long slug:string title:string document:flags.2? Document installs_count:int = Theme ;
1055+
1056+ account.themesNotModified#f41eb622 = account .Themes ;
1057+ account.themes#7f676421 hash:int themes:Vector<Theme > = account .Themes ;
1058+
10431059---functions ---
10441060
10451061invokeAfterMsg#cb9f372d {X:Type} msg_id:long query :!X = X ;
@@ -1121,6 +1137,13 @@ account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSet
11211137account.resetWallPapers#bb3b9804 = Bool ;
11221138account.getAutoDownloadSettings#56da0b3f = account .AutoDownloadSettings ;
11231139account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0? true high:flags.1? true settings:AutoDownloadSettings = Bool ;
1140+ account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0? InputFile file_name:string mime_type:string = Document ;
1141+ account.createTheme#2b7ffd7f slug:string title:string document:InputDocument = Theme ;
1142+ account.updateTheme#3b8ea202 flags:# format:string theme:InputTheme slug:flags.0? string title:flags.1? string document:flags.2? InputDocument = Theme ;
1143+ account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool ;
1144+ account.installTheme#7ae43737 flags:# dark:flags.0? true format:flags.1? string theme:flags.1? InputTheme = Bool ;
1145+ account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme ;
1146+ account.getThemes#285946f8 format:string hash:int = account .Themes ;
11241147
11251148users.getUsers#d91a548 id:Vector<InputUser > = Vector <User >;
11261149users.getFullUser#ca30a5b1 id:InputUser = UserFull ;
@@ -1155,9 +1178,9 @@ messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true revoke:flags.1?t
11551178messages.deleteMessages#e58e95d2 flags:# revoke:flags.0? true id:Vector<int > = messages .AffectedMessages ;
11561179messages.receivedMessages#5a954c0 max_id:int = Vector <ReceivedNotifyMessage >;
11571180messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool ;
1158- messages.sendMessage#fa88427a 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 > = Updates ;
1159- messages.sendMedia#b8d1262b 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 > = Updates ;
1160- messages.forwardMessages#708e0195 flags:# silent:flags.5? true background:flags.6? true with_my_score:flags.8? true grouped:flags.9? true from_peer:InputPeer id:Vector<int > random_id:Vector<long > to_peer:InputPeer = Updates ;
1181+ 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 ;
1182+ 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 ;
1183+ messages.forwardMessages#d9fee60e flags:# silent:flags.5? true background:flags.6? true with_my_score:flags.8? true grouped:flags.9? true from_peer:InputPeer id:Vector<int > random_id:Vector<long > to_peer:InputPeer schedule_date:flags.10 ? int = Updates ;
11611184messages.reportSpam#cf1592db peer:InputPeer = Bool ;
11621185messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings ;
11631186messages.report#bd82b658 peer:InputPeer id:Vector<int > reason:ReportReason = Bool ;
@@ -1201,9 +1224,9 @@ messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs;
12011224messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool ;
12021225messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0? InputGeoPoint query:string offset:string = messages .BotResults ;
12031226messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0? true private:flags.1? true query_id:long results:Vector<InputBotInlineResult > cache_time:int next_offset:flags.2? string switch_pm:flags.3? InlineBotSwitchPM = Bool ;
1204- messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true hide_via:flags.11? true peer:InputPeer reply_to_msg_id:flags.0? int random_id:long query_id:long id:string = Updates ;
1227+ messages.sendInlineBotResult#220815b0 flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true hide_via:flags.11? true peer:InputPeer reply_to_msg_id:flags.0? int random_id:long query_id:long id:string schedule_date:flags.10 ? int = Updates ;
12051228messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages .MessageEditData ;
1206- messages.editMessage#d116f31e flags:# no_webpage:flags.1? true peer:InputPeer id:int message:flags.11? string media:flags.14? InputMedia reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > = Updates ;
1229+ messages.editMessage#48f71778 flags:# no_webpage:flags.1? true peer:InputPeer id:int message:flags.11? string media:flags.14? InputMedia reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > schedule_date:flags.15 ? int = Updates ;
12071230messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1? true id:InputBotInlineMessageID message:flags.11? string media:flags.14? InputMedia reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > = Bool ;
12081231messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1? true peer:InputPeer msg_id:int data:flags.0? bytes = messages .BotCallbackAnswer ;
12091232messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1? true query_id:long message:flags.0? string url:flags.2? string cache_time:int = Bool ;
@@ -1237,7 +1260,7 @@ messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;
12371260messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages .Messages ;
12381261messages.readMentions#f0189d3 peer:InputPeer = messages .AffectedHistory ;
12391262messages.getRecentLocations#bbc45b09 peer:InputPeer limit:int hash:int = messages .Messages ;
1240- messages.sendMultiMedia#2095512f flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true peer:InputPeer reply_to_msg_id:flags.0? int multi_media:Vector<InputSingleMedia > = Updates ;
1263+ messages.sendMultiMedia#cc0110cb flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true peer:InputPeer reply_to_msg_id:flags.0? int multi_media:Vector<InputSingleMedia > schedule_date:flags.10 ? int = Updates ;
12411264messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile ;
12421265messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0? true q:string hash:int = messages .FoundStickerSets ;
12431266messages.getSplitRanges#1cff7e08 = Vector <MessageRange >;
@@ -1259,6 +1282,10 @@ messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector<MessagesFilter
12591282messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult ;
12601283messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0? true peer:InputPeer msg_id:int button_id:int = UrlAuthResult ;
12611284messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool ;
1285+ messages.getScheduledHistory#e2c2685b peer:InputPeer hash:int = messages .Messages ;
1286+ messages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector<int > = messages .Messages ;
1287+ messages.sendScheduledMessages#bd38850a peer:InputPeer id:Vector<int > = Updates ;
1288+ messages.deleteScheduledMessages#59ae2b16 peer:InputPeer id:Vector<int > = Updates ;
12621289
12631290updates.getState#edd4882a = updates .State ;
12641291updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
@@ -1366,4 +1393,4 @@ langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLangua
13661393folders.editPeerFolders#6847d0ab folder_peers:Vector<InputFolderPeer > = Updates ;
13671394folders.deleteFolder#1c295881 folder_id:int = Updates ;
13681395
1369- // LAYER 104
1396+ // LAYER 105
0 commit comments