|
1 | 1 | // Code generated by ./cmd/dltl, DO NOT EDIT. |
2 | 2 | // |
3 | 3 | // Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl |
4 | | -// Layer: 203 |
5 | | -// SHA256: 45e7157ba4835a49559a97b88d5879c4522c61b0d13a7c30c00f7a68926de1a7 |
| 4 | +// Layer: 204 |
| 5 | +// SHA256: e39e4ec7b5e23a972775fa0a92cadfe44aaed3e8522735b085939a10c10f81ec |
6 | 6 |
|
7 | 7 | int#a8509bda ? = Int; |
8 | 8 |
|
@@ -206,7 +206,7 @@ chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5 |
206 | 206 |
|
207 | 207 | chatForbidden#6592a1a7 id:long title:string = Chat; |
208 | 208 |
|
209 | | -channel#7482147e 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 noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true signature_profiles:flags2.12?true autotranslation:flags2.15?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date: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 usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int subscription_until_date:flags2.11?int bot_verification_icon:flags2.13?long send_paid_messages_stars:flags2.14?long = Chat; |
| 209 | +channel#fe685355 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 noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true signature_profiles:flags2.12?true autotranslation:flags2.15?true broadcast_messages_allowed:flags2.16?true monoforum:flags2.17?true forum_tabs:flags2.19?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date: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 usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int subscription_until_date:flags2.11?int bot_verification_icon:flags2.13?long send_paid_messages_stars:flags2.14?long linked_monoforum_id:flags2.18?long = Chat; |
210 | 210 |
|
211 | 211 | channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat; |
212 | 212 |
|
@@ -366,7 +366,7 @@ messageActionStarGiftUnique#2e3ae60e flags:# upgrade:flags.0?true transferred:fl |
366 | 366 |
|
367 | 367 | messageActionPaidMessagesRefunded#ac1f1fcd count:int stars:long = MessageAction; |
368 | 368 |
|
369 | | -messageActionPaidMessagesPrice#bcd71419 stars:long = MessageAction; |
| 369 | +messageActionPaidMessagesPrice#84b88578 flags:# broadcast_messages_allowed:flags.0?true stars:long = MessageAction; |
370 | 370 |
|
371 | 371 | messageActionConferenceCall#2ffe2f7a flags:# missed:flags.0?true active:flags.1?true video:flags.4?true call_id:long duration:flags.2?int other_participants:flags.3?Vector<Peer> = MessageAction; |
372 | 372 |
|
@@ -604,7 +604,7 @@ updateInlineBotCallbackQuery#691e9052 flags:# query_id:long user_id:long msg_id: |
604 | 604 |
|
605 | 605 | updateReadChannelOutbox#b75f99a9 channel_id:long max_id:int = Update; |
606 | 606 |
|
607 | | -updateDraftMessage#1b49ec6d flags:# peer:Peer top_msg_id:flags.0?int draft:DraftMessage = Update; |
| 607 | +updateDraftMessage#edfc111e flags:# peer:Peer top_msg_id:flags.0?int saved_peer_id:flags.1?Peer draft:DraftMessage = Update; |
608 | 608 |
|
609 | 609 | updateReadFeaturedStickers#571d2742 = Update; |
610 | 610 |
|
@@ -636,13 +636,13 @@ updateLangPack#56022f4d difference:LangPackDifference = Update; |
636 | 636 |
|
637 | 637 | updateFavedStickers#e511996d = Update; |
638 | 638 |
|
639 | | -updateChannelReadMessagesContents#ea29055d flags:# channel_id:long top_msg_id:flags.0?int messages:Vector<int> = Update; |
| 639 | +updateChannelReadMessagesContents#25f324f7 flags:# channel_id:long top_msg_id:flags.0?int saved_peer_id:flags.1?Peer messages:Vector<int> = Update; |
640 | 640 |
|
641 | 641 | updateContactsReset#7084a7be = Update; |
642 | 642 |
|
643 | 643 | updateChannelAvailableMessages#b23fc698 channel_id:long available_min_id:int = Update; |
644 | 644 |
|
645 | | -updateDialogUnreadMark#e16459c3 flags:# unread:flags.0?true peer:DialogPeer = Update; |
| 645 | +updateDialogUnreadMark#b658f23e flags:# unread:flags.0?true peer:DialogPeer saved_peer_id:flags.1?Peer = Update; |
646 | 646 |
|
647 | 647 | updateMessagePoll#aca1657b flags:# poll_id:long poll:flags.0?Poll results:PollResults = Update; |
648 | 648 |
|
@@ -710,7 +710,7 @@ updatePendingJoinRequests#7063c3db peer:Peer requests_pending:int recent_request |
710 | 710 |
|
711 | 711 | updateBotChatInviteRequester#11dfa986 peer:Peer date:int user_id:long about:string invite:ExportedChatInvite qts:int = Update; |
712 | 712 |
|
713 | | -updateMessageReactions#5e1b3cb8 flags:# peer:Peer msg_id:int top_msg_id:flags.0?int reactions:MessageReactions = Update; |
| 713 | +updateMessageReactions#1e297bfa flags:# peer:Peer msg_id:int top_msg_id:flags.0?int saved_peer_id:flags.1?Peer reactions:MessageReactions = Update; |
714 | 714 |
|
715 | 715 | updateAttachMenuBots#17b7a20b = Update; |
716 | 716 |
|
@@ -806,6 +806,10 @@ updateSentPhoneCode#504aa18f sent_code:auth.SentCode = Update; |
806 | 806 |
|
807 | 807 | updateGroupCallChainBlocks#a477288f call:InputGroupCall sub_chain_id:int blocks:Vector<bytes> next_offset:int = Update; |
808 | 808 |
|
| 809 | +updateReadMonoForumInbox#77b0e372 channel_id:long saved_peer_id:Peer read_max_id:int = Update; |
| 810 | + |
| 811 | +updateReadMonoForumOutbox#a4a79376 channel_id:long saved_peer_id:Peer read_max_id:int = Update; |
| 812 | + |
809 | 813 | updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; |
810 | 814 |
|
811 | 815 | updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; |
@@ -2514,10 +2518,12 @@ stories.storyViewsList#59d78fc5 flags:# count:int views_count:int forwards_count |
2514 | 2518 |
|
2515 | 2519 | stories.storyViews#de9eed1d views:Vector<StoryViews> users:Vector<User> = stories.StoryViews; |
2516 | 2520 |
|
2517 | | -inputReplyToMessage#22c0f6d5 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector<MessageEntity> quote_offset:flags.4?int = InputReplyTo; |
| 2521 | +inputReplyToMessage#b07038b0 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector<MessageEntity> quote_offset:flags.4?int monoforum_peer_id:flags.5?InputPeer = InputReplyTo; |
2518 | 2522 |
|
2519 | 2523 | inputReplyToStory#5881323a peer:InputPeer story_id:int = InputReplyTo; |
2520 | 2524 |
|
| 2525 | +inputReplyToMonoForum#69d66c45 monoforum_peer_id:InputPeer = InputReplyTo; |
| 2526 | + |
2521 | 2527 | exportedStoryLink#3fc9053b link:string = ExportedStoryLink; |
2522 | 2528 |
|
2523 | 2529 | storiesStealthMode#712e27fd flags:# active_until_date:flags.0?int cooldown_until_date:flags.1?int = StoriesStealthMode; |
@@ -2606,6 +2612,8 @@ stories.storyReactionsList#aa5f789c flags:# count:int reactions:Vector<StoryReac |
2606 | 2612 |
|
2607 | 2613 | savedDialog#bd87cb6c flags:# pinned:flags.2?true peer:Peer top_message:int = SavedDialog; |
2608 | 2614 |
|
| 2615 | +monoForumDialog#64407ea7 flags:# unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_reactions_count:int draft:flags.1?DraftMessage = SavedDialog; |
| 2616 | + |
2609 | 2617 | messages.savedDialogs#f83ae221 dialogs:Vector<SavedDialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.SavedDialogs; |
2610 | 2618 |
|
2611 | 2619 | messages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector<SavedDialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.SavedDialogs; |
@@ -3299,7 +3307,7 @@ messages.sendMessage#fbf2340a flags:# no_webpage:flags.1?true silent:flags.5?tru |
3299 | 3307 |
|
3300 | 3308 | messages.sendMedia#a550cd78 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long allow_paid_stars:flags.21?long = Updates; |
3301 | 3309 |
|
3302 | | -messages.forwardMessages#bb9fa475 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 noforwards:flags.14?true allow_paid_floodskip:flags.19?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut video_timestamp:flags.20?int allow_paid_stars:flags.21?long = Updates; |
| 3310 | +messages.forwardMessages#38f0188c 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 noforwards:flags.14?true allow_paid_floodskip:flags.19?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int reply_to:flags.22?InputReplyTo schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut video_timestamp:flags.20?int allow_paid_stars:flags.21?long = Updates; |
3303 | 3311 |
|
3304 | 3312 | messages.reportSpam#cf1592db peer:InputPeer = Bool; |
3305 | 3313 |
|
@@ -3463,9 +3471,9 @@ messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:stri |
3463 | 3471 |
|
3464 | 3472 | messages.getSplitRanges#1cff7e08 = Vector<MessageRange>; |
3465 | 3473 |
|
3466 | | -messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool; |
| 3474 | +messages.markDialogUnread#8c5006f8 flags:# unread:flags.0?true parent_peer:flags.1?InputPeer peer:InputDialogPeer = Bool; |
3467 | 3475 |
|
3468 | | -messages.getDialogUnreadMarks#22e24e22 = Vector<DialogPeer>; |
| 3476 | +messages.getDialogUnreadMarks#21202222 flags:# parent_peer:flags.0?InputPeer = Vector<DialogPeer>; |
3469 | 3477 |
|
3470 | 3478 | messages.clearAllDrafts#7e58ee9c = Bool; |
3471 | 3479 |
|
@@ -3525,7 +3533,7 @@ messages.getDiscussionMessage#446972fd peer:InputPeer msg_id:int = messages.Disc |
3525 | 3533 |
|
3526 | 3534 | messages.readDiscussion#f731a9f4 peer:InputPeer msg_id:int read_max_id:int = Bool; |
3527 | 3535 |
|
3528 | | -messages.unpinAllMessages#ee22b9a8 flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory; |
| 3536 | +messages.unpinAllMessages#62dd747 flags:# peer:InputPeer top_msg_id:flags.0?int saved_peer_id:flags.1?InputPeer = messages.AffectedHistory; |
3529 | 3537 |
|
3530 | 3538 | messages.deleteChat#5bd0ee50 chat_id:long = Bool; |
3531 | 3539 |
|
@@ -3587,9 +3595,9 @@ messages.setDefaultReaction#4f47a016 reaction:Reaction = Bool; |
3587 | 3595 |
|
3588 | 3596 | messages.translateText#63183030 flags:# peer:flags.0?InputPeer id:flags.0?Vector<int> text:flags.1?Vector<TextWithEntities> to_lang:string = messages.TranslatedText; |
3589 | 3597 |
|
3590 | | -messages.getUnreadReactions#3223495b flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; |
| 3598 | +messages.getUnreadReactions#bd7f90ac flags:# peer:InputPeer top_msg_id:flags.0?int saved_peer_id:flags.1?InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; |
3591 | 3599 |
|
3592 | | -messages.readReactions#54aa7f8e flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory; |
| 3600 | +messages.readReactions#9ec44f93 flags:# peer:InputPeer top_msg_id:flags.0?int saved_peer_id:flags.1?InputPeer = messages.AffectedHistory; |
3593 | 3601 |
|
3594 | 3602 | messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages; |
3595 | 3603 |
|
@@ -3653,11 +3661,11 @@ messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4? |
3653 | 3661 |
|
3654 | 3662 | messages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets; |
3655 | 3663 |
|
3656 | | -messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs; |
| 3664 | +messages.getSavedDialogs#1e91fc99 flags:# exclude_pinned:flags.0?true parent_peer:flags.1?InputPeer offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs; |
3657 | 3665 |
|
3658 | | -messages.getSavedHistory#3d9a414d peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; |
| 3666 | +messages.getSavedHistory#998ab009 flags:# parent_peer:flags.0?InputPeer peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages; |
3659 | 3667 |
|
3660 | | -messages.deleteSavedHistory#6e98102b flags:# peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory; |
| 3668 | +messages.deleteSavedHistory#4dc5085f flags:# parent_peer:flags.0?InputPeer peer:InputPeer max_id:int min_date:flags.2?int max_date:flags.3?int = messages.AffectedHistory; |
3661 | 3669 |
|
3662 | 3670 | messages.getPinnedSavedDialogs#d63d94e0 = messages.SavedDialogs; |
3663 | 3671 |
|
@@ -3727,6 +3735,10 @@ messages.searchStickers#29b1c66a flags:# emojis:flags.0?true q:string emoticon:s |
3727 | 3735 |
|
3728 | 3736 | messages.reportMessagesDelivery#5a6d7395 flags:# push:flags.0?true peer:InputPeer id:Vector<int> = Bool; |
3729 | 3737 |
|
| 3738 | +messages.getSavedDialogsByID#6f6f9c96 flags:# parent_peer:flags.1?InputPeer ids:Vector<InputPeer> = messages.SavedDialogs; |
| 3739 | + |
| 3740 | +messages.readSavedHistory#ba4a3b5b parent_peer:InputPeer peer:InputPeer max_id:int = Bool; |
| 3741 | + |
3730 | 3742 | updates.getState#edd4882a = updates.State; |
3731 | 3743 |
|
3732 | 3744 | updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference; |
@@ -3893,7 +3905,7 @@ channels.toggleUsername#50f24105 channel:InputChannel username:string active:Boo |
3893 | 3905 |
|
3894 | 3906 | channels.deactivateAllUsernames#a245dd3 channel:InputChannel = Bool; |
3895 | 3907 |
|
3896 | | -channels.toggleForum#a4298b29 channel:InputChannel enabled:Bool = Updates; |
| 3908 | +channels.toggleForum#3ff75734 channel:InputChannel enabled:Bool tabs:Bool = Updates; |
3897 | 3909 |
|
3898 | 3910 | channels.createForumTopic#f40c0224 flags:# channel:InputChannel title:string icon_color:flags.0?int icon_emoji_id:flags.3?long random_id:long send_as:flags.2?InputPeer = Updates; |
3899 | 3911 |
|
@@ -3931,10 +3943,12 @@ channels.restrictSponsoredMessages#9ae91519 channel:InputChannel restricted:Bool |
3931 | 3943 |
|
3932 | 3944 | channels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; |
3933 | 3945 |
|
3934 | | -channels.updatePaidMessagesPrice#fc84653f channel:InputChannel send_paid_messages_stars:long = Updates; |
| 3946 | +channels.updatePaidMessagesPrice#4b12327b flags:# broadcast_messages_allowed:flags.0?true channel:InputChannel send_paid_messages_stars:long = Updates; |
3935 | 3947 |
|
3936 | 3948 | channels.toggleAutotranslation#167fc0a1 channel:InputChannel enabled:Bool = Updates; |
3937 | 3949 |
|
| 3950 | +channels.getMessageAuthor#ece2a0e6 channel:InputChannel id:int = User; |
| 3951 | + |
3938 | 3952 | bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON; |
3939 | 3953 |
|
3940 | 3954 | bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool; |
@@ -4323,4 +4337,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool; |
4323 | 4337 |
|
4324 | 4338 | fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo; |
4325 | 4339 |
|
4326 | | -// LAYER 203 |
| 4340 | +// LAYER 204 |
0 commit comments