From 96024cc5af3991bfc08c653a18bb2ba49ce6624a Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 24 Jan 2024 07:44:22 +0000 Subject: [PATCH] feat(schema): update TDLib to the latest layer --- _schema/tdapi.tl | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/_schema/tdapi.tl b/_schema/tdapi.tl index 5e9c3b8892..60fde8fb39 100644 --- a/_schema/tdapi.tl +++ b/_schema/tdapi.tl @@ -1,7 +1,7 @@ // Code generated by ./cmd/dltl, DO NOT EDIT. // // Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl -// SHA256: 02ab4e6972e308f6b6ce2be916f491df6924ae301d0e437fb3362e957e4c1201 +// SHA256: aef08c7fb411fec74acbfc0fd8cf695b7fef48238bb456136dd4fd98d04effd6 double#2210c154 ? = Double; @@ -5865,7 +5865,7 @@ targetChatInternalLink#dd788fe0 link:InternalLinkType = TargetChat; //@class InternalLinkType @description Describes an internal https://t.me or tg: link, which must be processed by the application in a special way -//@description The link is a link to the active sessions section of the application. Use getActiveSessions to handle the link +//@description The link is a link to the Devices section of the application. Use getActiveSessions to get the list of active sessions and show them to the user internalLinkTypeActiveSessions#706bbbad = InternalLinkType; //@description The link is a link to an attachment menu bot to be opened in the specified or a chosen chat. Process given target_chat to open the chat. @@ -5906,14 +5906,14 @@ internalLinkTypeChangePhoneNumber#f0275b01 = InternalLinkType; //@url URL to be passed to getChatBoostLinkInfo internalLinkTypeChatBoost#d549fd40 url:string = InternalLinkType; -//@description The link is an invite link to a chat folder. Call checkChatFolderInviteLink with the given invite link to process the link +//@description The link is an invite link to a chat folder. Call checkChatFolderInviteLink with the given invite link to process the link. //@invite_link Internal representation of the invite link internalLinkTypeChatFolderInvite#89b2493e invite_link:string = InternalLinkType; //@description The link is a link to the folder section of the app settings internalLinkTypeChatFolderSettings#bfff055c = InternalLinkType; -//@description The link is a chat invite link. Call checkChatInviteLink with the given invite link to process the link +//@description The link is a chat invite link. Call checkChatInviteLink with the given invite link to process the link. //@invite_link Internal representation of the invite link internalLinkTypeChatInvite#198c3cd9 invite_link:string = InternalLinkType; @@ -5923,12 +5923,12 @@ internalLinkTypeDefaultMessageAutoDeleteTimerSettings#2baaf931 = InternalLinkTyp //@description The link is a link to the edit profile section of the app settings internalLinkTypeEditProfileSettings#c30e5066 = InternalLinkType; -//@description The link is a link to a game. Call searchPublicChat with the given bot username, check that the user is a bot, ask the current user to select a chat to send the game, and then call sendMessage with inputMessageGame +//@description The link is a link to a game. Call searchPublicChat with the given bot username, check that the user is a bot, //@bot_username Username of the bot that owns the game //@game_short_name Short name of the game internalLinkTypeGame#f074adcd bot_username:string game_short_name:string = InternalLinkType; -//@description The link must be opened in an Instant View. Call getWebPageInstantView with the given URL to process the link +//@description The link must be opened in an Instant View. Call getWebPageInstantView with the given URL to process the link. //@url URL to be passed to getWebPageInstantView //@fallback_url An URL to open if getWebPageInstantView fails internalLinkTypeInstantView#69e4df3f url:string fallback_url:string = InternalLinkType; @@ -5937,14 +5937,14 @@ internalLinkTypeInstantView#69e4df3f url:string fallback_url:string = InternalLi //@invoice_name Name of the invoice internalLinkTypeInvoice#f34c6dac invoice_name:string = InternalLinkType; -//@description The link is a link to a language pack. Call getLanguagePackInfo with the given language pack identifier to process the link +//@description The link is a link to a language pack. Call getLanguagePackInfo with the given language pack identifier to process the link. //@language_pack_id Language pack identifier internalLinkTypeLanguagePack#a9870d6c language_pack_id:string = InternalLinkType; //@description The link is a link to the language section of the app settings internalLinkTypeLanguageSettings#b019e6e6 = InternalLinkType; -//@description The link is a link to a Telegram message or a forum topic. Call getMessageLinkInfo with the given URL to process the link +//@description The link is a link to a Telegram message or a forum topic. Call getMessageLinkInfo with the given URL to process the link, //@url URL to be passed to getMessageLinkInfo internalLinkTypeMessage#3a535c52 url:string = InternalLinkType; @@ -5961,7 +5961,7 @@ internalLinkTypeMessageDraft#276fbad5 text:formattedText contains_link:Bool = In //@callback_url An HTTP URL to open once the request is finished, canceled, or failed with the parameters tg_passport=success, tg_passport=cancel, or tg_passport=error&error=... respectively. internalLinkTypePassportDataRequest#c50fce81 bot_user_id:int53 scope:string public_key:string nonce:string callback_url:string = InternalLinkType; -//@description The link can be used to confirm ownership of a phone number to prevent account deletion. Call sendPhoneNumberConfirmationCode with the given hash and phone number to process the link +//@description The link can be used to confirm ownership of a phone number to prevent account deletion. Call sendPhoneNumberConfirmationCode with the given hash and phone number to process the link. //@hash Hash value from the link //@phone_number Phone number value from the link internalLinkTypePhoneNumberConfirmation#68bf6b16 hash:string phone_number:string = InternalLinkType; @@ -5970,11 +5970,11 @@ internalLinkTypePhoneNumberConfirmation#68bf6b16 hash:string phone_number:string //@referrer Referrer specified in the link internalLinkTypePremiumFeatures#48884f49 referrer:string = InternalLinkType; -//@description The link is a link to the screen for gifting Telegram Premium subscriptions to friends +//@description The link is a link to the screen for gifting Telegram Premium subscriptions to friends via inputInvoiceTelegram payments or in-store purchases //@referrer Referrer specified in the link internalLinkTypePremiumGift#5ad56d41 referrer:string = InternalLinkType; -//@description The link is a link with a Telegram Premium gift code. Call checkPremiumGiftCode with the given code to process the link. If the code is valid and the user wants to apply it, then call applyPremiumGiftCode +//@description The link is a link with a Telegram Premium gift code. Call checkPremiumGiftCode with the given code to process the link. //@code The Telegram Premium gift code internalLinkTypePremiumGiftCode#de5c9892 code:string = InternalLinkType; @@ -6005,12 +6005,12 @@ internalLinkTypeSettings#177545b4 = InternalLinkType; //@url URL to be passed to getWebAppUrl internalLinkTypeSideMenuBot#a260e77d bot_username:string url:string = InternalLinkType; -//@description The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set +//@description The link is a link to a sticker set. Call searchStickerSet with the given sticker set name to process the link and show the sticker set. //@sticker_set_name Name of the sticker set //@expect_custom_emoji True, if the sticker set is expected to contain custom emoji internalLinkTypeStickerSet#a1464fa2 sticker_set_name:string expect_custom_emoji:Bool = InternalLinkType; -//@description The link is a link to a story. Call searchPublicChat with the given sender username, then call getStory with the received chat identifier and the given story identifier +//@description The link is a link to a story. Call searchPublicChat with the given sender username, then call getStory with the received chat identifier and the given story identifier, then show the story if received //@story_sender_username Username of the sender of the story //@story_id Story identifier internalLinkTypeStory#57bce647 story_sender_username:string story_id:int32 = InternalLinkType; @@ -6029,11 +6029,11 @@ internalLinkTypeUnknownDeepLink#2549d7db link:string = InternalLinkType; //@description The link is a link to an unsupported proxy. An alert can be shown to the user internalLinkTypeUnsupportedProxy#de399f09 = InternalLinkType; -//@description The link is a link to a user by its phone number. Call searchUserByPhoneNumber with the given phone number to process the link +//@description The link is a link to a user by its phone number. Call searchUserByPhoneNumber with the given phone number to process the link. //@phone_number Phone number of the user internalLinkTypeUserPhoneNumber#8b6d9a69 phone_number:string = InternalLinkType; -//@description The link is a link to a user by a temporary token. Call searchUserByToken with the given token to process the link +//@description The link is a link to a user by a temporary token. Call searchUserByToken with the given token to process the link. //@token The token internalLinkTypeUserToken#a8d7db59 token:string = InternalLinkType;