Used to buy a Telegram Star Gift, see here » for more info.
inputInvoiceStarGift#25d8c1d8 flags:# hide_name:flags.0?true user_id:InputUser gift_id:long message:flags.1?TextWithEntities = InputInvoice;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
hide_name | flags.0?true | If set, your name will be hidden if the destination user decides to display the gift on their profile (they will still see that you sent the gift) |
user_id | InputUser | Identifier of the user that will receive the gift |
gift_id | long | Identifier of the gift, from starGift.id |
message | flags.1?TextWithEntities | Optional message, attached with the gift. The maximum length for this field is specified in the stargifts_message_length_max client configuration value ». |
Represents a star gift, see here » for more info.
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.