diff --git a/data/web/corefork.telegram.org/api/giveaway.html b/data/web/corefork.telegram.org/api/giveaway.html new file mode 100644 index 0000000000..534b24527f --- /dev/null +++ b/data/web/corefork.telegram.org/api/giveaway.html @@ -0,0 +1,118 @@ + + + + + Page not found + + + + + + + + + + + + + + + + +
+ +
+
+
+ +

Page not found

+ +
The page has not been saved
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/web/corefork.telegram.org/api/giveaways.html b/data/web/corefork.telegram.org/api/giveaways.html index 5366d303be..e52b8d4d0f 100644 --- a/data/web/corefork.telegram.org/api/giveaways.html +++ b/data/web/corefork.telegram.org/api/giveaways.html @@ -98,7 +98,7 @@ The channel specified in boost_peer will receive premium_bot_username, and following the inline keyboard payment flow for giveaways (the final keyboard with the prices will contain buttons with invoice deep links ยป that should be used to make the payment).
  • Or by using Fragment, which also allows making larger purchases.
  • -

    Once the payment for the giveaway is made, invoke payments.launchPrepaidGiveaway, passing to peer the ID of the channel that we selected when paying for the giveaway, to obtain a prepaidGiveaway constructor in premium.boostsStatus.prepaid_giveaways, containing info about the prepaid giveaway.

    +

    Once the payment for the giveaway is made, invoke premium.getBoostsStatus, passing to peer the ID of the channel that we selected when paying for the giveaway, to obtain a prepaidGiveaway constructor in premium.boostsStatus.prepaid_giveaways, containing info about the prepaid giveaway.

    To actually launch the giveaway, invoke payments.launchPrepaidGiveaway, passing prepaidGiveaway.id to giveaway_id, the ID of the channel to peer and giveaway settings in purpose (populated as specified above).

    Then: