Update content of files

This commit is contained in:
GitHub Action 2024-11-16 18:48:56 +00:00
parent ce540d2f34
commit 77ca27d3a8
2 changed files with 4 additions and 4 deletions

View file

@ -156,8 +156,8 @@ Another way for admins to check who received the gifts is to simply use <a href=
<li>The <code>stars</code>, <code>currency</code> and <code>amount</code> from the chosen <a href="/constructor/starsGiveawayOption">starsGiveawayOption</a> and some extra options, as specified in the <a href="/constructor/inputStorePaymentStarsGiveaway">constructor page »</a>.</li>
<li>Additional channels/supergroups that the user must join to participate to the giveaway can be specified in <code>additional_peers</code>. </li>
<li>The set of users that can participate to the giveaway can be restricted by passing an explicit whitelist of up to <a href="/api/config#giveaway-countries-max">giveaway_countries_max</a> countries, specified as two-letter ISO 3166-1 alpha-2 country codes in <code>countries_iso2</code>. </li>
<li>The end date of the giveaway must be specified in <code>until_date</code>, and it must be at most <a href="/api/config#giveaway-period-max">giveaway_period_max</a> seconds in the future; at that date, Telegram will randomly choose <code>option.users</code> subscribers according to the conditions specified above, and send them a Telegram Premium giftcode as a <a href="/constructor/messageActionGiftCode">messageActionGiftCode</a> constructor, that should be used client-side to generate a <a href="/api/links#premium-giftcode-links">giftcode link</a>. </li>
<li>The channel/supergroup specified in <code>boost_peer</code> will receive <a href="/api/config#giveaway-boosts-per-premium">giveaway_boosts_per_premium</a> <a href="/api/boost">boosts</a> from each user, that cannot be reassigned to another channel/supergroup for the duration of the gifted subscription. </li>
<li>The end date of the giveaway must be specified in <code>until_date</code>, and it must be at most <a href="/api/config#giveaway-period-max">giveaway_period_max</a> seconds in the future; at that date, Telegram will randomly choose <code>users</code> subscribers according to the conditions specified above, and send them <code>per_user_stars</code> Telegram Stars as a <a href="/constructor/messageActionPrizeStars">messageActionPrizeStars</a> constructor. </li>
<li>The channel/supergroup specified in <code>boost_peer</code> will receive <a href="/constructor/starsGiveawayOption">starsGiveawayOption</a> <a href="/api/boost">boosts</a> from each user, that cannot be reassigned to another channel/supergroup for the duration of the gifted subscription. </li>
</ul>
<p>Then, follow the <a href="/api/payments#22-getting-invoice-info-about-the-product">invoice payment flow as described in the payments documentation »</a>. </p>
<p>More alternative payment flows are also available:</p>

View file

@ -199,7 +199,7 @@
<ul>
<li>Added <a href="/constructor/updateBotPurchasedPaidMedia">updateBotPurchasedPaidMedia</a> - </li>
<li>Added <a href="/constructor/channelAdminLogEventActionParticipantSubExtend">channelAdminLogEventActionParticipantSubExtend</a> - A paid subscriber has extended their <a href="/api/stars#star-subscriptions">Telegram Star subscription »</a>.</li>
<li>Added <a href="/constructor/inputStorePaymentStarsGiveaway">inputStorePaymentStarsGiveaway</a> - </li>
<li>Added <a href="/constructor/inputStorePaymentStarsGiveaway">inputStorePaymentStarsGiveaway</a> - Used to pay for a <a href="/api/giveaways#star-giveaways">star giveaway, see here »</a> for more info.</li>
<li>Added <a href="/constructor/messageActionPrizeStars">messageActionPrizeStars</a> - </li>
<li>Added <a href="/constructor/updatePaidReactionPrivacy">updatePaidReactionPrivacy</a> - Contains the current <a href="/api/reactions#paid-reactions">default paid reaction privacy, see here &amp;raquo:</a> for more info.</li>
<li>Added <a href="/constructor/starsGiveawayOption">starsGiveawayOption</a> - Contains info about a <a href="/api/giveaways#star-giveaways">Telegram Star giveaway</a> option.</li>
@ -608,7 +608,7 @@ If the returned <a href="/constructor/webViewResultUrl">webViewResultUrl</a> doe
<li>Added <a href="/constructor/starsTransactionPeer">starsTransactionPeer</a> - Describes a <a href="/api/stars">Telegram Star</a> transaction with another peer.</li>
<li>Added <a href="/constructor/inputStorePaymentStars">inputStorePaymentStars</a></li>
<li>Added <a href="/constructor/starsTopupOption">starsTopupOption</a> - <a href="/api/stars">Telegram Stars topup option</a>.</li>
<li>Added <a href="/constructor/inputInvoiceStars">inputInvoiceStars</a> - Used to top up the <a href="/api/stars">Telegram Stars</a> balance of the current account or someone else's account.</li>
<li>Added <a href="/constructor/inputInvoiceStars">inputInvoiceStars</a> - Used to top up the <a href="/api/stars">Telegram Stars</a> balance of the current account or someone else's account, or to start a <a href="/api/giveaways#star-giveaways">Telegram Star giveaway »</a>.</li>
<li>Added <a href="/constructor/starsTransaction">starsTransaction</a> - Represents a <a href="/api/stars">Telegram Stars transaction »</a>.</li>
<li>Added <a href="/constructor/payments.starsStatus">payments.starsStatus</a> - Info about the current <a href="/api/stars#balance-and-transaction-history">Telegram Star subscriptions, balance and transaction history »</a>.</li>
<li>Added <a href="/constructor/updateStarsBalance">updateStarsBalance</a> - The current account's <a href="/api/stars">Telegram Stars balance »</a> has changed.</li>