@@ -36,15 +36,15 @@ inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile
3636inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile ;
3737
3838inputMediaEmpty#9664f57f = InputMedia ;
39- inputMediaUploadedPhoto#1e287d04 flags:# file:InputFile stickers:flags.0? Vector <InputDocument > ttl_seconds:flags.1? int = InputMedia ;
40- inputMediaPhoto#b3ba0635 flags:# id:InputPhoto ttl_seconds:flags.0? int = InputMedia ;
39+ inputMediaUploadedPhoto#1e287d04 flags:# spoiler:flags.2 ? true file:InputFile stickers:flags.0? Vector <InputDocument > ttl_seconds:flags.1? int = InputMedia ;
40+ inputMediaPhoto#b3ba0635 flags:# spoiler:flags.1 ? true 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 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 ;
44- inputMediaDocument#33473058 flags:# id:InputDocument ttl_seconds:flags.0? int query:flags.1? string = InputMedia ;
43+ inputMediaUploadedDocument#5b38c6c1 flags:# nosound_video:flags.3? true force_file:flags.4? true spoiler:flags.5 ? true file:InputFile thumb:flags.2? InputFile mime_type:string attributes:Vector<DocumentAttribute > stickers:flags.0? Vector <InputDocument > ttl_seconds:flags.1? int = InputMedia ;
44+ inputMediaDocument#33473058 flags:# spoiler:flags.2 ? true id:InputDocument ttl_seconds:flags.0? int query:flags.1? string = InputMedia ;
4545inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia ;
46- inputMediaPhotoExternal#e5bbfe1a flags:# url:string ttl_seconds:flags.0? int = InputMedia ;
47- inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0? int = InputMedia ;
46+ inputMediaPhotoExternal#e5bbfe1a flags:# spoiler:flags.1 ? true url:string ttl_seconds:flags.0? int = InputMedia ;
47+ inputMediaDocumentExternal#fb52dc99 flags:# spoiler:flags.1 ? true url:string ttl_seconds:flags.0? int = InputMedia ;
4848inputMediaGame#d33f43f3 id:InputGame = InputMedia ;
4949inputMediaInvoice#8eb5a6d5 flags:# title:string description:string photo:flags.0? InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:flags.1? string extended_media:flags.2? InputMedia = InputMedia ;
5050inputMediaGeoLive#971fa843 flags:# stopped:flags.0? true geo_point:InputGeoPoint heading:flags.2? int period:flags.1? int proximity_notification_radius:flags.3? int = InputMedia ;
@@ -91,7 +91,7 @@ userEmpty#d3bc4b7a id:long = User;
9191user#8f97c628 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 apply_min_photo:flags.25? true fake:flags.26? true bot_attach_menu:flags.27? true premium:flags.28? true attach_menu_enabled:flags.29? true flags2:# id:long 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 emoji_status:flags.30? EmojiStatus usernames:flags2.0? Vector <Username > = User ;
9292
9393userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto ;
94- userProfilePhoto#82d1f706 flags:# has_video:flags.0? true photo_id:long stripped_thumb:flags.1? bytes dc_id:int = UserProfilePhoto ;
94+ userProfilePhoto#82d1f706 flags:# has_video:flags.0? true personal:flags.2 ? true photo_id:long stripped_thumb:flags.1? bytes dc_id:int = UserProfilePhoto ;
9595
9696userStatusEmpty#9d05049 = UserStatus ;
9797userStatusOnline#edb93949 expires:int = UserStatus ;
@@ -107,7 +107,7 @@ channel#83259464 flags:# creator:flags.0?true left:flags.2?true broadcast:flags.
107107channelForbidden#17d493d5 flags:# broadcast:flags.5? true megagroup:flags.8? true id:long access_hash:long title:string until_date:flags.16? int = Chat ;
108108
109109chatFull#c9d31138 flags:# can_set_username:flags.7? true has_scheduled:flags.8? true id:long 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 requests_pending:flags.17? int recent_requesters:flags.17? Vector <long > available_reactions:flags.18? ChatReactions = ChatFull ;
110- channelFull#f2355507 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 flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true id:long 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?long 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?long 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 requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions = ChatFull;
110+ channelFull#f2355507 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 flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true id:long 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?long 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?long 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 requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions = ChatFull;
111111
112112chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant ;
113113chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant ;
@@ -124,11 +124,11 @@ message#38116ee0 flags:# out:flags.1?true mentioned:flags.4?true media_unread:fl
124124messageService#2b085862 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? Peer peer_id:Peer reply_to:flags.3? MessageReplyHeader date:int action:MessageAction ttl_period:flags.25? int = Message ;
125125
126126messageMediaEmpty#3ded6320 = MessageMedia ;
127- messageMediaPhoto#695150d7 flags:# photo:flags.0? Photo ttl_seconds:flags.2? int = MessageMedia ;
127+ messageMediaPhoto#695150d7 flags:# spoiler:flags.3 ? true photo:flags.0? Photo ttl_seconds:flags.2? int = MessageMedia ;
128128messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia ;
129129messageMediaContact#70322949 phone_number:string first_name:string last_name:string vcard:string user_id:long = MessageMedia ;
130130messageMediaUnsupported#9f84f49e = MessageMedia ;
131- messageMediaDocument#9cb070d7 flags:# nopremium:flags.3? true document:flags.0? Document ttl_seconds:flags.2? int = MessageMedia ;
131+ messageMediaDocument#9cb070d7 flags:# nopremium:flags.3? true spoiler:flags.4 ? true document:flags.0? Document ttl_seconds:flags.2? int = MessageMedia ;
132132messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia ;
133133messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia ;
134134messageMediaGame#fdb19008 game:Game = MessageMedia ;
@@ -172,6 +172,8 @@ messageActionWebViewDataSent#b4c38cb5 text:string = MessageAction;
172172messageActionGiftPremium#aba0f5c6 currency:string amount:long months:int = MessageAction ;
173173messageActionTopicCreate#d999256 flags:# title:string icon_color:int icon_emoji_id:flags.0? long = MessageAction ;
174174messageActionTopicEdit#c0944820 flags:# title:flags.0? string icon_emoji_id:flags.1? long closed:flags.2? Bool hidden:flags.3? Bool = MessageAction ;
175+ messageActionSuggestProfilePhoto#57de635e photo:Photo = MessageAction ;
176+ messageActionAttachMenuBotAllowed#e7e75f97 = MessageAction ;
175177
176178dialog#d58a08c6 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 unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0? int draft:flags.1? DraftMessage folder_id:flags.4? int ttl_period:flags.5? int = Dialog ;
177179dialogFolder#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 ;
@@ -222,7 +224,7 @@ inputReportReasonFake#f5ddd6e7 = ReportReason;
222224inputReportReasonIllegalDrugs#a8eb2be = ReportReason ;
223225inputReportReasonPersonalDetails#9ec7863d = ReportReason ;
224226
225- userFull#c4b1fc3f 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 voice_messages_forbidden:flags.20? true id:long 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 private_forward_name:flags.16? string bot_group_admin_rights:flags.17? ChatAdminRights bot_broadcast_admin_rights:flags.18? ChatAdminRights premium_gifts:flags.19? Vector <PremiumGiftOption > = UserFull ;
227+ userFull#f8d32aed 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 voice_messages_forbidden:flags.20? true id:long about:flags.1? string settings:PeerSettings personal_photo:flags.21 ? Photo profile_photo:flags.2? Photo fallback_photo:flags.22 ? 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 private_forward_name:flags.16? string bot_group_admin_rights:flags.17? ChatAdminRights bot_broadcast_admin_rights:flags.18? ChatAdminRights premium_gifts:flags.19? Vector <PremiumGiftOption > = UserFull ;
226228
227229contact#145ade0b user_id:long mutual:Bool = Contact ;
228230
@@ -280,7 +282,6 @@ updateChatUserTyping#83487af0 chat_id:long from_id:Peer action:SendMessageAction
280282updateChatParticipants#7761198 participants:ChatParticipants = Update ;
281283updateUserStatus#e5bdf8de user_id:long status:UserStatus = Update ;
282284updateUserName#a7848924 user_id:long first_name:string last_name:string usernames:Vector<Username > = Update ;
283- updateUserPhoto#f227868c user_id:long date:int photo:UserProfilePhoto previous:Bool = Update ;
284285updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update ;
285286updateEncryptedChatTyping#1710f156 chat_id:int = Update ;
286287updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update ;
@@ -381,6 +382,7 @@ updateMoveStickerSetToTop#86fccf85 flags:# masks:flags.0?true emojis:flags.1?tru
381382updateMessageExtendedMedia#5a73a98c peer:Peer msg_id:int extended_media:MessageExtendedMedia = Update ;
382383updateChannelPinnedTopic#192efbe3 flags:# pinned:flags.0? true channel_id:long topic_id:int = Update ;
383384updateChannelPinnedTopics#fe198602 flags:# channel_id:long order:flags.0? Vector <int > = Update ;
385+ updateUser#20529438 user_id:long = Update ;
384386
385387updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
386388
@@ -525,7 +527,7 @@ documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true supports_strea
525527documentAttributeAudio#9852f9c6 flags:# voice:flags.10? true duration:int title:flags.0? string performer:flags.1? string waveform:flags.2? bytes = DocumentAttribute ;
526528documentAttributeFilename#15590068 file_name:string = DocumentAttribute ;
527529documentAttributeHasStickers#9801d2f7 = DocumentAttribute ;
528- documentAttributeCustomEmoji#fd149899 flags:# free:flags.0? true alt:string stickerset:InputStickerSet = DocumentAttribute ;
530+ documentAttributeCustomEmoji#fd149899 flags:# free:flags.0? true text_color:flags.1 ? true alt:string stickerset:InputStickerSet = DocumentAttribute ;
529531
530532messages.stickersNotModified#f1749a22 = messages .Stickers ;
531533messages.stickers#30a6ec7e hash:long stickers:Vector<Document > = messages .Stickers ;
@@ -603,7 +605,7 @@ keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;
603605
604606replyKeyboardHide#a03e5b85 flags:# selective:flags.2? true = ReplyMarkup ;
605607replyKeyboardForceReply#86b40b08 flags:# single_use:flags.1? true selective:flags.2? true placeholder:flags.3? string = ReplyMarkup ;
606- replyKeyboardMarkup#85dd99d1 flags:# resize:flags.0? true single_use:flags.1? true selective:flags.2? true rows:Vector<KeyboardButtonRow > placeholder:flags.3? string = ReplyMarkup ;
608+ replyKeyboardMarkup#85dd99d1 flags:# resize:flags.0? true single_use:flags.1? true selective:flags.2? true persistent:flags.4 ? true rows:Vector<KeyboardButtonRow > placeholder:flags.3? string = ReplyMarkup ;
607609replyInlineMarkup#48a30254 rows:Vector<KeyboardButtonRow > = ReplyMarkup ;
608610
609611messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity ;
@@ -758,6 +760,7 @@ messages.stickerSetInstallResultArchive#35e410a8 sets:Vector<StickerSetCovered>
758760stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered ;
759761stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector<Document > = StickerSetCovered ;
760762stickerSetFullCovered#40d13c0e set:StickerSet packs:Vector<StickerPack > keywords:Vector<StickerKeyword > documents:Vector<Document > = StickerSetCovered ;
763+ stickerSetNoCovered#77b15d1c set:StickerSet = StickerSetCovered ;
761764
762765maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords ;
763766
@@ -1357,7 +1360,7 @@ attachMenuBotIconColor#4576f3f0 name:string color:int = AttachMenuBotIconColor;
13571360
13581361attachMenuBotIcon#b2a7386b flags:# name:string icon:Document colors:flags.0? Vector <AttachMenuBotIconColor > = AttachMenuBotIcon ;
13591362
1360- attachMenuBot#c8aa2cd2 flags:# inactive:flags.0? true has_settings:flags.1? true bot_id:long short_name:string peer_types:Vector<AttachMenuPeerType > icons:Vector<AttachMenuBotIcon > = AttachMenuBot ;
1363+ attachMenuBot#c8aa2cd2 flags:# inactive:flags.0? true has_settings:flags.1? true request_write_access:flags.2 ? true bot_id:long short_name:string peer_types:Vector<AttachMenuPeerType > icons:Vector<AttachMenuBotIcon > = AttachMenuBot ;
13611364
13621365attachMenuBotsNotModified#f1d88a5c = AttachMenuBots ;
13631366attachMenuBots#3c4301c0 hash:long bots:Vector<AttachMenuBot > users:Vector<User > = AttachMenuBots ;
@@ -1759,7 +1762,7 @@ messages.readReactions#54aa7f8e flags:# peer:InputPeer top_msg_id:flags.0?int =
17591762messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages .Messages ;
17601763messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots ;
17611764messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot ;
1762- messages.toggleBotInAttachMenu#1aee33af bot:InputUser enabled:Bool = Bool ;
1765+ messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0 ? true bot:InputUser enabled:Bool = Bool ;
17631766messages.requestWebView#178b480b flags:# from_bot_menu:flags.4? true silent:flags.5? true peer:InputPeer bot:InputUser url:flags.1? string start_param:flags.3? string theme_params:flags.2? DataJSON platform:string reply_to_msg_id:flags.0? int top_msg_id:flags.9? int send_as:flags.13? InputPeer = WebViewResult ;
17641767messages.prolongWebView#7ff34309 flags:# silent:flags.5? true peer:InputPeer bot:InputUser query_id:long reply_to_msg_id:flags.0? int top_msg_id:flags.9? int send_as:flags.13? InputPeer = Bool ;
17651768messages.requestSimpleWebView#299bec8e flags:# bot:InputUser url:string theme_params:flags.0? DataJSON platform:string = SimpleWebViewResult ;
@@ -1782,10 +1785,11 @@ updates.getState#edd4882a = updates.State;
17821785updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
17831786updates.getChannelDifference#3173d78 flags:# force:flags.0? true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates .ChannelDifference ;
17841787
1785- photos.updateProfilePhoto#72d4742c id:InputPhoto = photos .Photo ;
1786- photos.uploadProfilePhoto#89f30f69 flags:# file:flags.0? InputFile video:flags.1? InputFile video_start_ts:flags.2? double = photos .Photo ;
1788+ photos.updateProfilePhoto#1c3d5956 flags:# fallback:flags.0 ? true id:InputPhoto = photos .Photo ;
1789+ photos.uploadProfilePhoto#89f30f69 flags:# fallback:flags.3 ? true file:flags.0? InputFile video:flags.1? InputFile video_start_ts:flags.2? double = photos .Photo ;
17871790photos.deletePhotos#87cf7f2f id:Vector<InputPhoto > = Vector <long >;
17881791photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos .Photos ;
1792+ photos.uploadContactProfilePhoto#b91a83bf flags:# suggest:flags.3? true save:flags.4? true user_id:InputUser file:flags.0? InputFile video:flags.1? InputFile video_start_ts:flags.2? double = photos .Photo ;
17891793
17901794upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool ;
17911795upload.getFile#be5335be flags:# precise:flags.0? true cdn_supported:flags.1? true location:InputFileLocation offset:long limit:int = upload .File ;
@@ -1874,6 +1878,7 @@ channels.deleteTopicHistory#34435f2d channel:InputChannel top_msg_id:int = messa
18741878channels.reorderPinnedForumTopics#2950a18f flags:# force:flags.0? true channel:InputChannel order:Vector<int > = Updates ;
18751879channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates ;
18761880channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool ;
1881+ channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates ;
18771882
18781883bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON ;
18791884bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool ;
@@ -1952,4 +1957,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel
19521957stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages .Messages ;
19531958stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0? true channel:InputChannel msg_id:int = stats .MessageStats ;
19541959
1955- // LAYER 150
1960+ // LAYER 151
0 commit comments