|
1 | 1 | // Code generated by ./cmd/dltl, DO NOT EDIT. |
2 | 2 | // |
3 | 3 | // Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl |
4 | | -// Layer: 200 |
5 | | -// SHA256: d412e1766320a7dce05248226f7e77ac7b0134766db340612212e5470b48d4e6 |
| 4 | +// Layer: 201 |
| 5 | +// SHA256: 9ed575bcb2fe2b7e16eee144145141f64ff61f6c577340c981a19cb73a02788e |
6 | 6 |
|
7 | 7 | boolFalse#bc799737 = Bool; |
8 | 8 |
|
@@ -324,6 +324,10 @@ messageActionStarGift#4717e8a4 flags:# name_hidden:flags.0?true saved:flags.2?tr |
324 | 324 |
|
325 | 325 | messageActionStarGiftUnique#acdfcb81 flags:# upgrade:flags.0?true transferred:flags.1?true saved:flags.2?true refunded:flags.5?true gift:StarGift can_export_at:flags.3?int transfer_stars:flags.4?long from_id:flags.6?Peer peer:flags.7?Peer saved_id:flags.7?long = MessageAction; |
326 | 326 |
|
| 327 | +messageActionPaidMessagesRefunded#ac1f1fcd count:int stars:long = MessageAction; |
| 328 | + |
| 329 | +messageActionPaidMessagesPrice#bcd71419 stars:long = MessageAction; |
| 330 | + |
327 | 331 | dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?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; |
328 | 332 |
|
329 | 333 | dialogFolder#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; |
@@ -352,6 +356,8 @@ auth.sentCode#5e002502 flags:# type:auth.SentCodeType phone_code_hash:string nex |
352 | 356 |
|
353 | 357 | auth.sentCodeSuccess#2390fe44 authorization:auth.Authorization = auth.SentCode; |
354 | 358 |
|
| 359 | +auth.sentCodePaymentRequired#d7cef980 store_product:string phone_code_hash:string = auth.SentCode; |
| 360 | + |
355 | 361 | auth.authorization#2ea2c0d4 flags:# setup_password_required:flags.1?true otherwise_relogin_days:flags.1?int tmp_sessions:flags.0?int future_auth_token:flags.2?bytes user:User = auth.Authorization; |
356 | 362 |
|
357 | 363 | auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization; |
@@ -398,7 +404,7 @@ inputReportReasonIllegalDrugs#a8eb2be = ReportReason; |
398 | 404 |
|
399 | 405 | inputReportReasonPersonalDetails#9ec7863d = ReportReason; |
400 | 406 |
|
401 | | -userFull#d2234ea0 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 translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?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 wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int starref_program:flags2.11?StarRefProgram bot_verification:flags2.12?BotVerification send_paid_messages_stars:flags2.14?long = UserFull; |
| 407 | +userFull#99e78045 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 translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true display_gifts_button:flags2.16?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 wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int starref_program:flags2.11?StarRefProgram bot_verification:flags2.12?BotVerification send_paid_messages_stars:flags2.14?long disallowed_gifts:flags2.15?DisallowedGiftsSettings = UserFull; |
402 | 408 |
|
403 | 409 | contact#145ade0b user_id:long mutual:Bool = Contact; |
404 | 410 |
|
@@ -754,6 +760,8 @@ updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Updat |
754 | 760 |
|
755 | 761 | updatePaidReactionPrivacy#8b725fce private:PaidReactionPrivacy = Update; |
756 | 762 |
|
| 763 | +updateSentPhoneCode#504aa18f sent_code:auth.SentCode = Update; |
| 764 | + |
757 | 765 | updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; |
758 | 766 |
|
759 | 767 | updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference; |
@@ -2056,7 +2064,7 @@ statsGroupTopInviter#535f779d user_id:long invitations:int = StatsGroupTopInvite |
2056 | 2064 |
|
2057 | 2065 | stats.megagroupStats#ef7ff916 period:StatsDateRangeDays members:StatsAbsValueAndPrev messages:StatsAbsValueAndPrev viewers:StatsAbsValueAndPrev posters:StatsAbsValueAndPrev growth_graph:StatsGraph members_graph:StatsGraph new_members_by_source_graph:StatsGraph languages_graph:StatsGraph messages_graph:StatsGraph actions_graph:StatsGraph top_hours_graph:StatsGraph weekdays_graph:StatsGraph top_posters:Vector<StatsGroupTopPoster> top_admins:Vector<StatsGroupTopAdmin> top_inviters:Vector<StatsGroupTopInviter> users:Vector<User> = stats.MegagroupStats; |
2058 | 2066 |
|
2059 | | -globalPrivacySettings#c9d8df1c flags:# archive_and_mute_new_noncontact_peers:flags.0?true keep_archived_unmuted:flags.1?true keep_archived_folders:flags.2?true hide_read_marks:flags.3?true new_noncontact_peers_require_premium:flags.4?true noncontact_peers_paid_stars:flags.5?long = GlobalPrivacySettings; |
| 2067 | +globalPrivacySettings#fe41b34f flags:# archive_and_mute_new_noncontact_peers:flags.0?true keep_archived_unmuted:flags.1?true keep_archived_folders:flags.2?true hide_read_marks:flags.3?true new_noncontact_peers_require_premium:flags.4?true display_gifts_button:flags.7?true noncontact_peers_paid_stars:flags.5?long disallowed_gifts:flags.6?DisallowedGiftsSettings = GlobalPrivacySettings; |
2060 | 2068 |
|
2061 | 2069 | help.countryCode#4203c5ef flags:# country_code:string prefixes:flags.0?Vector<string> patterns:flags.1?Vector<string> = help.CountryCode; |
2062 | 2070 |
|
@@ -2286,6 +2294,8 @@ inputStorePaymentStarsGift#1d741ef7 user_id:InputUser stars:long currency:string |
2286 | 2294 |
|
2287 | 2295 | inputStorePaymentStarsGiveaway#751f08fa flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.3?true stars:long boost_peer:InputPeer additional_peers:flags.1?Vector<InputPeer> countries_iso2:flags.2?Vector<string> prize_description:flags.4?string random_id:long until_date:int currency:string amount:long users:int = InputStorePaymentPurpose; |
2288 | 2296 |
|
| 2297 | +inputStorePaymentAuthCode#9bb2636d flags:# restore:flags.0?true phone_number:string phone_code_hash:string currency:string amount:long = InputStorePaymentPurpose; |
| 2298 | + |
2289 | 2299 | paymentFormMethod#88f8f21b url:string title:string = PaymentFormMethod; |
2290 | 2300 |
|
2291 | 2301 | emojiStatusEmpty#2de11aae = EmojiStatus; |
@@ -2602,15 +2612,15 @@ messages.quickReplies#c68d6695 quick_replies:Vector<QuickReply> messages:Vector< |
2602 | 2612 |
|
2603 | 2613 | messages.quickRepliesNotModified#5f91eb5b = messages.QuickReplies; |
2604 | 2614 |
|
2605 | | -connectedBot#bd068601 flags:# can_reply:flags.0?true bot_id:long recipients:BusinessBotRecipients = ConnectedBot; |
| 2615 | +connectedBot#cd64636c flags:# bot_id:long recipients:BusinessBotRecipients rights:BusinessBotRights = ConnectedBot; |
2606 | 2616 |
|
2607 | 2617 | account.connectedBots#17d7f87b connected_bots:Vector<ConnectedBot> users:Vector<User> = account.ConnectedBots; |
2608 | 2618 |
|
2609 | 2619 | messages.dialogFilters#2ad93719 flags:# tags_enabled:flags.0?true filters:Vector<DialogFilter> = messages.DialogFilters; |
2610 | 2620 |
|
2611 | 2621 | birthday#6c8e1e06 flags:# day:int month:int year:flags.0?int = Birthday; |
2612 | 2622 |
|
2613 | | -botBusinessConnection#896433b4 flags:# can_reply:flags.0?true disabled:flags.1?true connection_id:string user_id:long dc_id:int date:int = BotBusinessConnection; |
| 2623 | +botBusinessConnection#8f34b2f5 flags:# disabled:flags.1?true connection_id:string user_id:long dc_id:int date:int rights:flags.2?BusinessBotRights = BotBusinessConnection; |
2614 | 2624 |
|
2615 | 2625 | inputBusinessIntro#9c469cd flags:# title:string description:string sticker:flags.0?InputDocument = InputBusinessIntro; |
2616 | 2626 |
|
@@ -2824,6 +2834,16 @@ requirementToContactPremium#e581e4e9 = RequirementToContact; |
2824 | 2834 |
|
2825 | 2835 | requirementToContactPaidMessages#b4f67e93 stars_amount:long = RequirementToContact; |
2826 | 2836 |
|
| 2837 | +businessBotRights#a0624cf7 flags:# reply:flags.0?true read_messages:flags.1?true delete_sent_messages:flags.2?true delete_received_messages:flags.3?true edit_name:flags.4?true edit_bio:flags.5?true edit_profile_photo:flags.6?true edit_username:flags.7?true view_gifts:flags.8?true sell_gifts:flags.9?true change_gift_settings:flags.10?true transfer_and_upgrade_gifts:flags.11?true transfer_stars:flags.12?true manage_stories:flags.13?true = BusinessBotRights; |
| 2838 | + |
| 2839 | +disallowedGiftsSettings#71f276c4 flags:# disallow_unlimited_stargifts:flags.0?true disallow_limited_stargifts:flags.1?true disallow_unique_stargifts:flags.2?true disallow_premium_gifts:flags.3?true = DisallowedGiftsSettings; |
| 2840 | + |
| 2841 | +sponsoredPeer#c69708d3 flags:# random_id:bytes peer:Peer sponsor_info:flags.0?string additional_info:flags.1?string = SponsoredPeer; |
| 2842 | + |
| 2843 | +contacts.sponsoredPeersEmpty#ea32b4b1 = contacts.SponsoredPeers; |
| 2844 | + |
| 2845 | +contacts.sponsoredPeers#eb032884 peers:Vector<SponsoredPeer> chats:Vector<Chat> users:Vector<User> = contacts.SponsoredPeers; |
| 2846 | + |
2827 | 2847 |
|
2828 | 2848 | ---functions--- |
2829 | 2849 |
|
@@ -3087,7 +3107,7 @@ account.updateBusinessGreetingMessage#66cdafc4 flags:# message:flags.0?InputBusi |
3087 | 3107 |
|
3088 | 3108 | account.updateBusinessAwayMessage#a26a7fa5 flags:# message:flags.0?InputBusinessAwayMessage = Bool; |
3089 | 3109 |
|
3090 | | -account.updateConnectedBot#43d8521d flags:# can_reply:flags.0?true deleted:flags.1?true bot:InputUser recipients:InputBusinessBotRecipients = Updates; |
| 3110 | +account.updateConnectedBot#66a08c7e flags:# deleted:flags.1?true rights:flags.0?BusinessBotRights bot:InputUser recipients:InputBusinessBotRecipients = Updates; |
3091 | 3111 |
|
3092 | 3112 | account.getConnectedBots#4ea4c80f = account.ConnectedBots; |
3093 | 3113 |
|
@@ -3185,6 +3205,8 @@ contacts.setBlocked#94c65c76 flags:# my_stories_from:flags.0?true id:Vector<Inpu |
3185 | 3205 |
|
3186 | 3206 | contacts.getBirthdays#daeda864 = contacts.ContactBirthdays; |
3187 | 3207 |
|
| 3208 | +contacts.getSponsoredPeers#b6c8c393 q:string = contacts.SponsoredPeers; |
| 3209 | + |
3188 | 3210 | messages.getMessages#63c66506 id:Vector<InputMessage> = messages.Messages; |
3189 | 3211 |
|
3190 | 3212 | messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs; |
@@ -3619,11 +3641,11 @@ messages.togglePaidReactionPrivacy#435885b5 peer:InputPeer msg_id:int private:Pa |
3619 | 3641 |
|
3620 | 3642 | messages.getPaidReactionPrivacy#472455aa = Updates; |
3621 | 3643 |
|
3622 | | -messages.viewSponsoredMessage#673ad8f1 peer:InputPeer random_id:bytes = Bool; |
| 3644 | +messages.viewSponsoredMessage#269e3643 random_id:bytes = Bool; |
3623 | 3645 |
|
3624 | | -messages.clickSponsoredMessage#f093465 flags:# media:flags.0?true fullscreen:flags.1?true peer:InputPeer random_id:bytes = Bool; |
| 3646 | +messages.clickSponsoredMessage#8235057e flags:# media:flags.0?true fullscreen:flags.1?true random_id:bytes = Bool; |
3625 | 3647 |
|
3626 | | -messages.reportSponsoredMessage#1af3dbb8 peer:InputPeer random_id:bytes option:bytes = channels.SponsoredMessageReportResult; |
| 3648 | +messages.reportSponsoredMessage#12cbf0c4 random_id:bytes option:bytes = channels.SponsoredMessageReportResult; |
3627 | 3649 |
|
3628 | 3650 | messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessages; |
3629 | 3651 |
|
@@ -3921,8 +3943,6 @@ payments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaym |
3921 | 3943 |
|
3922 | 3944 | payments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates; |
3923 | 3945 |
|
3924 | | -payments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool; |
3925 | | - |
3926 | 3946 | payments.getPremiumGiftCodeOptions#2757ba54 flags:# boost_peer:flags.0?InputPeer = Vector<PremiumGiftCodeOption>; |
3927 | 3947 |
|
3928 | 3948 | payments.checkGiftCode#8e51b4c1 slug:string = payments.CheckedGiftCode; |
@@ -3997,6 +4017,8 @@ payments.toggleChatStarGiftNotifications#60eaefa1 flags:# enabled:flags.0?true p |
3997 | 4017 |
|
3998 | 4018 | payments.toggleStarGiftsPinnedToTop#1513e7b0 peer:InputPeer stargift:Vector<InputSavedStarGift> = Bool; |
3999 | 4019 |
|
| 4020 | +payments.canPurchaseStore#4fdc5ea7 purpose:InputStorePaymentPurpose = Bool; |
| 4021 | + |
4000 | 4022 | stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet; |
4001 | 4023 |
|
4002 | 4024 | stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; |
@@ -4215,4 +4237,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool; |
4215 | 4237 |
|
4216 | 4238 | fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo; |
4217 | 4239 |
|
4218 | | -// LAYER 200 |
| 4240 | +// LAYER 201 |
0 commit comments