diff --git a/data/web/corefork.telegram.org/api/stars.html b/data/web/corefork.telegram.org/api/stars.html index 8e6a3c5c9e..9b8888e02c 100644 --- a/data/web/corefork.telegram.org/api/stars.html +++ b/data/web/corefork.telegram.org/api/stars.html @@ -119,6 +119,8 @@ To return all star transactions » (
  • Payment via Fragment, which also allows making larger purchases.
  • The store-based subscription flow based on payments.assignAppStoreTransaction/payments.assignPlayMarketTransaction, currently not available to third-party apps.
  • +

    For gifts, once the payment is successfully processed, the user to which the gift was sent will automatically receive a messageService from the user that sent the gift, containing a messageActionGiftStars constructor with further info about the price and duration of the gifted Telegram Stars.
    +Clients should display this message, along with a sticker from the inputStickerSetPremiumGifts stickerset: here's an example.

    Using stars

    payments.paymentFormStars#7bf6b15c flags:# form_id:long bot_id:long title:string description:string photo:flags.5?WebDocument invoice:Invoice users:Vector<User> = payments.PaymentForm;
     
    diff --git a/data/web/corefork.telegram.org/constructor/inputInvoiceStars.html b/data/web/corefork.telegram.org/constructor/inputInvoiceStars.html
    index 68f3a8f213..afe4828ae0 100644
    --- a/data/web/corefork.telegram.org/constructor/inputInvoiceStars.html
    +++ b/data/web/corefork.telegram.org/constructor/inputInvoiceStars.html
    @@ -4,10 +4,10 @@
         
         inputInvoiceStars
         
    -    
    +    
         
         
    -    
    +    
         
     
     
    @@ -76,6 +76,10 @@
     

    Type

    InputInvoice

    Related pages

    +

    inputStorePaymentStarsTopup

    +

    Used to top up the Telegram Stars balance of the current account.

    +

    inputStorePaymentStarsGift

    +

    Used to gift Telegram Stars to a friend.

    Telegram Stars

    Telegram Stars are an in-app currency that allows the user to pay for digital goods and services offered by Telegram bots or Telegram channels.

    diff --git a/data/web/corefork.telegram.org/constructor/messageActionGiftStars.html b/data/web/corefork.telegram.org/constructor/messageActionGiftStars.html index d62bcc78ff..f0bf84e96c 100644 --- a/data/web/corefork.telegram.org/constructor/messageActionGiftStars.html +++ b/data/web/corefork.telegram.org/constructor/messageActionGiftStars.html @@ -4,40 +4,24 @@ messageActionGiftStars - +Flags, see TL conditional fields…"> - +Flags, see TL conditional fields…"> @@ -72,7 +56,8 @@ long

    messageActionGiftStars

    -

    +

    You gifted or were gifted some Telegram Stars.

    +