inputInvoiceStarGift
Used to buy a Telegram Star Gift, see here » for more info.
type tg.InputInvoiceStarGift struct { /* ... */ }
Implements InputInvoice.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
HideName | bool | — | 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) |
IncludeUpgrade | bool | — | Also pay for an eventual upgrade of the gift to a collectible gift ». |
Peer | InputPeerClass | yes | Receiver of the gift. |
GiftID | int64 | yes | Identifier of the gift, from starGift.id |
Message | TextWithEntities | — | Optional message, attached with the gift. The maximum length for this field is specified in the stargifts_message_length_max client configuration value ». |
References
- Official documentation
- Generated Go reference
- TL definition:
inputInvoiceStarGift#e8625e92