@@ -161,12 +161,13 @@ inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;
161161inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia ;
162162inputMediaUploadedDocument#e39621fd flags:# file:InputFile thumb:flags.2? InputFile mime_type:string attributes:Vector<DocumentAttribute > caption:string stickers:flags.0? Vector <InputDocument > ttl_seconds:flags.1? int = InputMedia ;
163163inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0? int = InputMedia ;
164- inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia ;
164+ inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type :string = InputMedia ;
165165inputMediaGifExternal#4843b0fd url:string q:string = InputMedia ;
166166inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0? int = InputMedia ;
167167inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0? int = InputMedia ;
168168inputMediaGame#d33f43f3 id:InputGame = InputMedia ;
169169inputMediaInvoice#92153685 flags:# title:string description:string photo:flags.0? InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia ;
170+ inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia ;
170171
171172inputChatPhotoEmpty#1ca48f57 = InputChatPhoto ;
172173inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto ;
@@ -222,7 +223,7 @@ channel#cb44b1c flags:# creator:flags.0?true left:flags.2?true editor:flags.3?tr
222223channelForbidden#289da732 flags:# broadcast:flags.5? true megagroup:flags.8? true id:int access_hash:long title:string until_date:flags.16? int = Chat ;
223224
224225chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo > = ChatFull ;
225- channelFull#17f45fcf flags:# can_view_participants:flags.3? true can_set_username:flags.6? true can_set_stickers:flags.7? 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 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 = ChatFull ;
226+ channelFull#76af5481 flags:# can_view_participants:flags.3? true can_set_username:flags.6? true can_set_stickers:flags.7? true hidden_prehistory:flags.10 ? 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 read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo > migrated_from_chat_id:flags.4? int migrated_from_max_id:flags.4? int pinned_msg_id:flags.5? int stickerset:flags.8? StickerSet available_min_id:flags.9 ? int = ChatFull ;
226227
227228chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant ;
228229chatParticipantCreator#da13538a user_id:int = ChatParticipant ;
@@ -245,9 +246,10 @@ messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:str
245246messageMediaUnsupported#9f84f49e = MessageMedia ;
246247messageMediaDocument#7c4414d3 flags:# document:flags.0? Document caption:flags.1? string ttl_seconds:flags.2? int = MessageMedia ;
247248messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia ;
248- messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia ;
249+ messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type :string = MessageMedia ;
249250messageMediaGame#fdb19008 game:Game = MessageMedia ;
250251messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1? true test:flags.3? true title:string description:string photo:flags.0? WebDocument receipt_msg_id:flags.2? int currency:string total_amount:long start_param:string = MessageMedia ;
252+ messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia ;
251253
252254messageActionEmpty#b6aef7b0 = MessageAction ;
253255messageActionChatCreate#a6638b9a title:string users:Vector<int > = MessageAction ;
@@ -267,6 +269,7 @@ messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long pa
267269messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction ;
268270messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0? PhoneCallDiscardReason duration:flags.1? int = MessageAction ;
269271messageActionScreenshotTaken#4792929b = MessageAction ;
272+ messageActionCustomAction#fae69f56 message:string = MessageAction ;
270273
271274dialog#e4def5db flags:# pinned:flags.2? 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 = Dialog ;
272275
@@ -363,6 +366,8 @@ inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFil
363366inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter ;
364367inputMessagesFilterRoundVideo#b549da53 = MessagesFilter ;
365368inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter ;
369+ inputMessagesFilterContacts#e062db83 = MessagesFilter ;
370+ inputMessagesFilterGeo#e7026d0d = MessagesFilter ;
366371
367372updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update ;
368373updateMessageID#4e90bfd6 id:int random_id:long = Update ;
@@ -429,6 +434,7 @@ updateLangPack#56022f4d difference:LangPackDifference = Update;
429434updateFavedStickers#e511996d = Update ;
430435updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector<int > = Update ;
431436updateContactsReset#7084a7be = Update ;
437+ updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update ;
432438
433439updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
434440
@@ -455,7 +461,7 @@ upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes
455461
456462dcOption#5d8c6cc flags:# ipv6:flags.0? true media_only:flags.1? true tcpo_only:flags.2? true cdn:flags.3? true static:flags.4? true id:int ip_address:string port:int = DcOption ;
457463
458- config#8df376a4 flags:# phonecalls_enabled:flags.1? true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption > chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int tmp_sessions:flags.0? int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2? string lang_pack_version:flags.2? int disabled_features:Vector<DisabledFeature > = Config ;
464+ config#9c840964 flags:# phonecalls_enabled:flags.1? true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption > chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period :int tmp_sessions:flags.0? int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string suggested_lang_code:flags.2? string lang_pack_version:flags.2? int disabled_features:Vector<DisabledFeature > = Config ;
459465
460466nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc ;
461467
@@ -665,6 +671,7 @@ channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter;
665671channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter ;
666672
667673channels.channelParticipants#f56ee2a8 count:int participants:Vector<ChannelParticipant > users:Vector<User > = channels .ChannelParticipants ;
674+ channels.channelParticipantsNotModified#f0173fe9 = channels .ChannelParticipants ;
668675
669676channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector<User > = channels .ChannelParticipant ;
670677
@@ -680,7 +687,7 @@ messages.savedGifs#2e0709a5 hash:int gifs:Vector<Document> = messages.SavedGifs;
680687
681688inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2? ReplyMarkup = InputBotInlineMessage ;
682689inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0? true message:string entities:flags.1? Vector <MessageEntity > reply_markup:flags.2? ReplyMarkup = InputBotInlineMessage ;
683- inputBotInlineMessageMediaGeo#f4a59de1 flags:# geo_point:InputGeoPoint reply_markup:flags.2? ReplyMarkup = InputBotInlineMessage ;
690+ inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2? ReplyMarkup = InputBotInlineMessage ;
684691inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2? ReplyMarkup = InputBotInlineMessage ;
685692inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2? ReplyMarkup = InputBotInlineMessage ;
686693inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2? ReplyMarkup = InputBotInlineMessage ;
@@ -692,14 +699,14 @@ inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:Input
692699
693700botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2? ReplyMarkup = BotInlineMessage ;
694701botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0? true message:string entities:flags.1? Vector <MessageEntity > reply_markup:flags.2? ReplyMarkup = BotInlineMessage ;
695- botInlineMessageMediaGeo#3a8fd8b8 flags:# geo:GeoPoint reply_markup:flags.2? ReplyMarkup = BotInlineMessage ;
702+ botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2? ReplyMarkup = BotInlineMessage ;
696703botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2? ReplyMarkup = BotInlineMessage ;
697704botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2? ReplyMarkup = BotInlineMessage ;
698705
699706botInlineResult#9bebaeb9 flags:# id:string type:string title:flags.1? string description:flags.2? string url:flags.3? string thumb_url:flags.4? string content_url:flags.5? string content_type:flags.5? string w:flags.6? int h:flags.6? int duration:flags.7? int send_message:BotInlineMessage = BotInlineResult ;
700707botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0? Photo document:flags.1? Document title:flags.2? string description:flags.3? string send_message:BotInlineMessage = BotInlineResult ;
701708
702- messages.botResults#ccd3563d flags:# gallery:flags.0? true query_id:long next_offset:flags.1? string switch_pm:flags.2? InlineBotSwitchPM results:Vector<BotInlineResult > cache_time:int = messages .BotResults ;
709+ messages.botResults#947ca848 flags:# gallery:flags.0? true query_id:long next_offset:flags.1? string switch_pm:flags.2? InlineBotSwitchPM results:Vector<BotInlineResult > cache_time:int users:Vector< User > = messages .BotResults ;
703710
704711exportedMessageLink#1f486803 link:string = ExportedMessageLink ;
705712
@@ -903,6 +910,7 @@ channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticip
903910channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction ;
904911channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction ;
905912channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction ;
913+ channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction ;
906914
907915channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent ;
908916
@@ -917,6 +925,14 @@ cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash;
917925messages.favedStickersNotModified#9e8fa6d3 = messages .FavedStickers ;
918926messages.favedStickers#f37f2f16 hash:int packs:Vector<StickerPack > stickers:Vector<Document > = messages .FavedStickers ;
919927
928+ help.recentMeUrls#e0310d7 urls:Vector<RecentMeUrl > chats:Vector<Chat > users:Vector<User > = help .RecentMeUrls ;
929+
930+ recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl ;
931+ recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl ;
932+ recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl ;
933+ recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl ;
934+ recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl ;
935+
920936---functions ---
921937
922938invokeAfterMsg#cb9f372d {X:Type} msg_id:long query :!X = X ;
@@ -1048,7 +1064,7 @@ messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_p
10481064messages.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 ;
10491065messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true peer:InputPeer reply_to_msg_id:flags.0? int random_id:long query_id:long id:string = Updates ;
10501066messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages .MessageEditData ;
1051- messages.editMessage#ce91e4ca flags:# no_webpage:flags.1? true peer:InputPeer id:int message:flags.11? string reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > = Updates ;
1067+ messages.editMessage#5d1b8dd flags:# no_webpage:flags.1? true stop_geo_live:flags.12 ? true peer:InputPeer id:int message:flags.11? string reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > geo_point:flags.13 ? InputGeoPoint = Updates ;
10521068messages.editInlineBotMessage#130c2c85 flags:# no_webpage:flags.1? true id:InputBotInlineMessageID message:flags.11? string reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > = Bool ;
10531069messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1? true peer:InputPeer msg_id:int data:flags.0? bytes = messages .BotCallbackAnswer ;
10541070messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1? true query_id:long message:flags.0? string url:flags.2? string cache_time:int = Bool ;
@@ -1080,6 +1096,8 @@ messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int
10801096messages.getFavedStickers#21ce0b0e hash:int = messages .FavedStickers ;
10811097messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool ;
10821098messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages .Messages ;
1099+ messages.getRecentLocations#249431e2 peer:InputPeer limit:int = messages .Messages ;
1100+ messages.readMentions#f0189d3 peer:InputPeer = messages .AffectedHistory ;
10831101
10841102updates.getState#edd4882a = updates .State ;
10851103updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
@@ -1108,13 +1126,14 @@ help.getAppChangelog#9010ef6f prev_app_version:string = Updates;
11081126help.getTermsOfService#350170f3 = help .TermsOfService ;
11091127help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool ;
11101128help.getCdnConfig#52029342 = CdnConfig ;
1129+ help.getRecentMeUrls#3dc0f114 referer:string = help .RecentMeUrls ;
11111130
11121131channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool ;
11131132channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int > = messages .AffectedMessages ;
11141133channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages .AffectedHistory ;
11151134channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int > = Bool ;
11161135channels.getMessages#93d7b347 channel:InputChannel id:Vector<int > = messages .Messages ;
1117- channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels .ChannelParticipants ;
1136+ channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash :int = channels .ChannelParticipants ;
11181137channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels .ChannelParticipant ;
11191138channels.getChannels#a7f6bbb id:Vector<InputChannel > = messages .Chats ;
11201139channels.getFullChannel#8736a09 channel:InputChannel = messages .ChatFull ;
@@ -1139,6 +1158,8 @@ channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_right
11391158channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0? ChannelAdminLogEventsFilter admins:flags.1? Vector <InputUser > max_id:long min_id:long limit:int = channels .AdminLogResults ;
11401159channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool ;
11411160channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector<int > = Bool ;
1161+ channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool ;
1162+ channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates ;
11421163
11431164bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON ;
11441165bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool ;
@@ -1169,4 +1190,4 @@ langpack.getStrings#2e1ee318 lang_code:string keys:Vector<string> = Vector<LangP
11691190langpack.getDifference#b2e4d7d from_version:int = LangPackDifference ;
11701191langpack.getLanguages#800fd57d = Vector <LangPackLanguage >;
11711192
1172- // LAYER 71
1193+ // LAYER 72
0 commit comments