From 5f30d77fe00897be9a7c753fbd15b0beae724f6c Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 21 Dec 2023 21:52:30 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/giveaways.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/web/corefork.telegram.org/api/giveaways.html b/data/web/corefork.telegram.org/api/giveaways.html index 9d5ad7a052..8b735e5626 100644 --- a/data/web/corefork.telegram.org/api/giveaways.html +++ b/data/web/corefork.telegram.org/api/giveaways.html @@ -88,9 +88,9 @@
  • inputStorePaymentPremiumGiveaway to create a giveaway, where Telegram will randomly select option.users subscribers to the channel specified in purpose.boost_peer (only new subscribers starting from the giveaway creation date if the purpose.only_new_subscribers field is set).
    Additional channels that the user must join to participate to the giveaway can be specified in additional_peers.
    The set of users that can participate to the giveaway can be restricted by passing an explicit whitelist of up to giveaway_countries_max countries, specified as two-letter ISO 3166-1 alpha-2 country codes in countries_iso2.
    -The end date of the giveaway must be specified in until_date; at that date, Telegram will randomly choose option.users subscribers according to the conditions specified above, and send them a Telegram Premium giftcode as a messageActionGiftCode constructor, that should be used client-side to generate a giftcode link .
    +The end date of the giveaway must be specified in until_date, and it must be at most giveaway_period_max seconds in the future; at that date, Telegram will randomly choose option.users subscribers according to the conditions specified above, and send them a Telegram Premium giftcode as a messageActionGiftCode constructor, that should be used client-side to generate a giftcode link .
    The channel specified in boost_peer will receive giveaway_boosts_per_premium boosts from each user, that cannot be reassigned to another channel for the duration of the gifted subscription.
  • -
  • or inputStorePaymentPremiumGiftCode, to gift Telegram Premium subscriptions only to some specific subscribers (purpose.users) of the channel specified in purpose.boost_peer, which will receive giveaway_boosts_per_premium boosts from each user, that cannot be reassigned to another channel for the duration of the gifted subscription.
  • +
  • or inputStorePaymentPremiumGiftCode, to gift Telegram Premium subscriptions only to some specific subscribers (purpose.users, max giveaway_add_peers_max users) of the channel specified in purpose.boost_peer, which will receive giveaway_boosts_per_premium boosts from each user, that cannot be reassigned to another channel for the duration of the gifted subscription.
  • Then, follow the invoice payment flow as described in the payments documentation ยป.

    Two alternative payment flows are also available, offering more affordable pricing: