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: 187
5
- // SHA256: 13e5ee643d6d776ab46f2cd1a21c9b274a4cb46106dea20770ebce90115e1e42
4
+ // Layer: 189
5
+ // SHA256: 274a71c5b60947275de376cce5cecb0a907181439ae6d53c54f4a0331c66be75
6
6
7
7
boolFalse#bc799737 = Bool ;
8
8
@@ -204,7 +204,7 @@ messageMediaContact#70322949 phone_number:string first_name:string last_name:str
204
204
205
205
messageMediaUnsupported#9f84f49e = MessageMedia ;
206
206
207
- messageMediaDocument#4cf4d72d flags:# nopremium:flags.3? true spoiler:flags.4? true video:flags.6? true round:flags.7? true voice:flags.8? true document:flags.0? Document alt_document :flags.5? Document ttl_seconds:flags.2? int = MessageMedia ;
207
+ messageMediaDocument#dd570bd5 flags:# nopremium:flags.3? true spoiler:flags.4? true video:flags.6? true round:flags.7? true voice:flags.8? true document:flags.0? Document alt_documents :flags.5? Vector < Document > ttl_seconds:flags.2? int = MessageMedia ;
208
208
209
209
messageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0? true force_small_media:flags.1? true manual:flags.3? true safe:flags.4? true webpage:WebPage = MessageMedia ;
210
210
@@ -320,6 +320,8 @@ messageActionGiftStars#45d5b021 flags:# currency:string amount:long stars:long c
320
320
321
321
messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0? true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction ;
322
322
323
+ messageActionStarGift#9bb3ef44 flags:# name_hidden:flags.0? true saved:flags.2? true converted:flags.3? true gift:StarGift message:flags.1? TextWithEntities convert_stars:long = MessageAction ;
324
+
323
325
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 ;
324
326
325
327
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 ;
@@ -394,7 +396,7 @@ inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
394
396
395
397
inputReportReasonPersonalDetails#9ec7863d = ReportReason ;
396
398
397
- userFull#cc997720 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 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> 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 = UserFull;
399
+ userFull#1f58e369 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 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> 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 = UserFull;
398
400
399
401
contact#145ade0b user_id:long mutual:Bool = Contact ;
400
402
@@ -984,7 +986,7 @@ documentAttributeAnimated#11b58939 = DocumentAttribute;
984
986
985
987
documentAttributeSticker#6319d612 flags:# mask:flags.1? true alt:string stickerset:InputStickerSet mask_coords:flags.0? MaskCoords = DocumentAttribute ;
986
988
987
- documentAttributeVideo#17399fad flags:# round_message:flags.0? true supports_streaming:flags.1? true nosound:flags.3? true duration:double w:int h:int preload_prefix_size:flags.2? int video_start_ts:flags.4? double = DocumentAttribute ;
989
+ documentAttributeVideo#43c57c48 flags:# round_message:flags.0? true supports_streaming:flags.1? true nosound:flags.3? true duration:double w:int h:int preload_prefix_size:flags.2? int video_start_ts:flags.4? double video_codec:flags.5 ? string = DocumentAttribute ;
988
990
989
991
documentAttributeAudio#9852f9c6 flags:# voice:flags.10? true duration:int title:flags.0? string performer:flags.1? string waveform:flags.2? bytes = DocumentAttribute ;
990
992
@@ -1104,6 +1106,8 @@ keyboardButtonRequestPeer#53d7bfd8 text:string button_id:int peer_type:RequestPe
1104
1106
1105
1107
inputKeyboardButtonRequestPeer#c9662d05 flags:# name_requested:flags.0? true username_requested:flags.1? true photo_requested:flags.2? true text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton ;
1106
1108
1109
+ keyboardButtonCopy#75d2698e text:string copy_text:string = KeyboardButton ;
1110
+
1107
1111
keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton > = KeyboardButtonRow ;
1108
1112
1109
1113
replyKeyboardHide#a03e5b85 flags:# selective:flags.2? true = ReplyMarkup ;
@@ -1508,6 +1512,8 @@ payments.paymentForm#a0058751 flags:# can_save_credentials:flags.2?true password
1508
1512
1509
1513
payments.paymentFormStars#7bf6b15c flags:# form_id:long bot_id:long title:string description:string photo:flags.5? WebDocument invoice:Invoice users:Vector<User > = payments .PaymentForm ;
1510
1514
1515
+ payments.paymentFormStarGift#b425cfe1 form_id:long invoice:Invoice = payments .PaymentForm ;
1516
+
1511
1517
payments.validatedRequestedInfo#d1451883 flags:# id:flags.0? string shipping_options:flags.1? Vector <ShippingOption > = payments .ValidatedRequestedInfo ;
1512
1518
1513
1519
payments.paymentResult#4e5f810d updates:Updates = payments .PaymentResult ;
@@ -2230,6 +2236,8 @@ inputInvoiceStars#65f00ce3 purpose:InputStorePaymentPurpose = InputInvoice;
2230
2236
2231
2237
inputInvoiceChatInviteSubscription#34e793f1 hash:string = InputInvoice ;
2232
2238
2239
+ inputInvoiceStarGift#25d8c1d8 flags:# hide_name:flags.0? true user_id:InputUser gift_id:long message:flags.1? TextWithEntities = InputInvoice ;
2240
+
2233
2241
payments.exportedInvoice#aed0cbd9 url:string = payments .ExportedInvoice ;
2234
2242
2235
2243
messages.transcribedAudio#cfb9d957 flags:# pending:flags.0? true transcription_id:long text:string trial_remains_num:flags.1? int trial_remains_until_date:flags.1? int = messages .TranscribedAudio ;
@@ -2664,7 +2672,7 @@ starsTransactionPeerAds#60682812 = StarsTransactionPeer;
2664
2672
2665
2673
starsTopupOption#bd915c0 flags:# extended:flags.1? true stars:long store_product:flags.0? string currency:string amount:long = StarsTopupOption ;
2666
2674
2667
- starsTransaction#ee7522d5 flags:# refund:flags.3? true pending:flags.4? true failed:flags.6? true gift:flags.10? true reaction:flags.11? true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0? string description:flags.1? string photo:flags.2? WebDocument transaction_date:flags.5? int transaction_url:flags.5? string bot_payload:flags.7? bytes msg_id:flags.8? int extended_media:flags.9? Vector <MessageMedia > subscription_period:flags.12? int giveaway_post_id:flags.13? int = StarsTransaction ;
2675
+ starsTransaction#a9ee4c2 flags:# refund:flags.3? true pending:flags.4? true failed:flags.6? true gift:flags.10? true reaction:flags.11? true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0? string description:flags.1? string photo:flags.2? WebDocument transaction_date:flags.5? int transaction_url:flags.5? string bot_payload:flags.7? bytes msg_id:flags.8? int extended_media:flags.9? Vector <MessageMedia > subscription_period:flags.12? int giveaway_post_id:flags.13? int stargift:flags.14 ? StarGift = StarsTransaction ;
2668
2676
2669
2677
payments.starsStatus#bbfa316c flags:# balance:long subscriptions:flags.1? Vector <StarsSubscription > subscriptions_next_offset:flags.2? string subscriptions_missing_balance:flags.4? long history:flags.3? Vector <StarsTransaction > next_offset:flags.0? string chats:Vector<Chat > users:Vector<User > = payments .StarsStatus ;
2670
2678
@@ -2702,6 +2710,24 @@ starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true
2702
2710
2703
2711
starsGiveawayWinnersOption#54236209 flags:# default:flags.0? true users:int per_user_stars:long = StarsGiveawayWinnersOption ;
2704
2712
2713
+ starGift#aea174ee flags:# limited:flags.0? true id:long sticker:Document stars:long availability_remains:flags.0? int availability_total:flags.0? int convert_stars:long = StarGift ;
2714
+
2715
+ payments.starGiftsNotModified#a388a368 = payments .StarGifts ;
2716
+
2717
+ payments.starGifts#901689ea hash:int gifts:Vector<StarGift > = payments .StarGifts ;
2718
+
2719
+ userStarGift#eea49a6e flags:# name_hidden:flags.0? true unsaved:flags.5? true from_id:flags.1? long date:int gift:StarGift message:flags.2? TextWithEntities msg_id:flags.3? int convert_stars:flags.4? long = UserStarGift ;
2720
+
2721
+ payments.userStarGifts#6b65b517 flags:# count:int gifts:Vector<UserStarGift > next_offset:flags.0? string users:Vector<User > = payments .UserStarGifts ;
2722
+
2723
+ messageReportOption#7903e3d9 text:string option:bytes = MessageReportOption ;
2724
+
2725
+ reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOption > = ReportResult ;
2726
+
2727
+ reportResultAddComment#6f09ac31 flags:# optional:flags.0? true option:bytes = ReportResult ;
2728
+
2729
+ reportResultReported#8db33c4b = ReportResult ;
2730
+
2705
2731
2706
2732
---functions ---
2707
2733
@@ -3083,7 +3109,7 @@ messages.reportSpam#cf1592db peer:InputPeer = Bool;
3083
3109
3084
3110
messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages .PeerSettings ;
3085
3111
3086
- messages.report#8953ab4e peer:InputPeer id:Vector<int > reason:ReportReason message:string = Bool ;
3112
+ messages.report#fc78af9b peer:InputPeer id:Vector<int > option:bytes message:string = ReportResult ;
3087
3113
3088
3114
messages.getChats#49e9528f id:Vector<long > = messages .Chats ;
3089
3115
@@ -3681,7 +3707,7 @@ channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int =
3681
3707
3682
3708
channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates ;
3683
3709
3684
- channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool ;
3710
+ channels.clickSponsoredMessage#1445d75 flags:# media:flags.0 ? true fullscreen:flags.1 ? true channel:InputChannel random_id:bytes = Bool ;
3685
3711
3686
3712
channels.updateColor#d8aa3671 flags:# for_profile:flags.1? true channel:InputChannel color:flags.2? int background_emoji_id:flags.0? long = Updates ;
3687
3713
@@ -3785,7 +3811,7 @@ payments.getStarsStatus#104fcfa7 peer:InputPeer = payments.StarsStatus;
3785
3811
3786
3812
payments.getStarsTransactions#69da4557 flags:# inbound:flags.0? true outbound:flags.1? true ascending:flags.2? true subscription_id:flags.3? string peer:InputPeer offset:string limit:int = payments .StarsStatus ;
3787
3813
3788
- payments.sendStarsForm#2bb731d flags:# form_id:long invoice:InputInvoice = payments .PaymentResult ;
3814
+ payments.sendStarsForm#7998c914 form_id:long invoice:InputInvoice = payments .PaymentResult ;
3789
3815
3790
3816
payments.refundStarsCharge#25ae8f4a user_id:InputUser charge_id:string = Updates ;
3791
3817
@@ -3807,6 +3833,14 @@ payments.fulfillStarsSubscription#cc5bebb3 peer:InputPeer subscription_id:string
3807
3833
3808
3834
payments.getStarsGiveawayOptions#bd1efd3e = Vector <StarsGiveawayOption >;
3809
3835
3836
+ payments.getStarGifts#c4563590 hash:int = payments .StarGifts ;
3837
+
3838
+ payments.getUserStarGifts#5e72c7e1 user_id:InputUser offset:string limit:int = payments .UserStarGifts ;
3839
+
3840
+ payments.saveStarGift#87acf08e flags:# unsave:flags.0? true user_id:InputUser msg_id:int = Bool ;
3841
+
3842
+ payments.convertStarGift#421e027 user_id:InputUser msg_id:int = Bool ;
3843
+
3810
3844
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 ;
3811
3845
3812
3846
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages .StickerSet ;
@@ -3975,7 +4009,7 @@ stories.getStoriesViews#28e16cc8 peer:InputPeer id:Vector<int> = stories.StoryVi
3975
4009
3976
4010
stories.exportStoryLink#7b8def20 peer:InputPeer id:int = ExportedStoryLink ;
3977
4011
3978
- stories.report#1923fa8c peer:InputPeer id:Vector<int > reason:ReportReason message:string = Bool ;
4012
+ stories.report#19d8eb45 peer:InputPeer id:Vector<int > option:bytes message:string = ReportResult ;
3979
4013
3980
4014
stories.activateStealthMode#57bbd166 flags:# past:flags.0? true future:flags.1? true = Updates ;
3981
4015
@@ -4023,4 +4057,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;
4023
4057
4024
4058
fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment .CollectibleInfo ;
4025
4059
4026
- // LAYER 187
4060
+ // LAYER 189
0 commit comments