From fce9ba0da1099b0345626e6e6b17412faf31bea4 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 13 Feb 2024 00:26:52 +0300 Subject: [PATCH] Fix giveaway documentation. --- td/generate/scheme/td_api.tl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index a0eddff31..14e6d6ccf 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -4883,7 +4883,7 @@ storePaymentPurposeGiftedPremium user_id:int53 currency:string amount:int53 = St //@user_ids Identifiers of the users which can activate the gift codes storePaymentPurposePremiumGiftCodes boosted_chat_id:int53 currency:string amount:int53 user_ids:vector = StorePaymentPurpose; -//@description The user creating a Telegram Premium giveaway for subscribers of channel chats; requires can_post_messages right in the channels +//@description The user creating a Telegram Premium giveaway //@parameters Giveaway parameters //@currency ISO 4217 currency code of the payment currency //@amount Paid amount, in the smallest units of the currency @@ -4900,7 +4900,7 @@ storePaymentPurposePremiumGiveaway parameters:premiumGiveawayParameters currency //@month_count Number of months the Telegram Premium subscription will be active for the users telegramPaymentPurposePremiumGiftCodes boosted_chat_id:int53 currency:string amount:int53 user_ids:vector month_count:int32 = TelegramPaymentPurpose; -//@description The user creating a Telegram Premium giveaway for subscribers of channel chats; requires can_post_messages right in the channels +//@description The user creating a Telegram Premium giveaway //@parameters Giveaway parameters //@currency ISO 4217 currency code of the payment currency //@amount Paid amount, in the smallest units of the currency @@ -9931,7 +9931,7 @@ checkPremiumGiftCode code:string = PremiumGiftCodeInfo; //@description Applies a Telegram Premium gift code @code The code to apply applyPremiumGiftCode code:string = Ok; -//@description Launches a prepaid Telegram Premium giveaway for subscribers of channel chats +//@description Launches a prepaid Telegram Premium giveaway //@giveaway_id Unique identifier of the prepaid giveaway //@parameters Giveaway parameters launchPrepaidPremiumGiveaway giveaway_id:int64 parameters:premiumGiveawayParameters = Ok;