telegram api constructor · layer 229 · #e8625e92
inputInvoiceStarGift
Used to buy a Telegram Star Gift, see here » for more info.
definition
inputInvoiceStarGift#e8625e92 flags:# hide_name:flags.0?true include_upgrade:flags.2?true peer:InputPeer gift_id:long message:flags.1?TextWithEntities = InputInvoice;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
hide_name | 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) |
include_upgrade | true | Also pay for an eventual upgrade of the gift to a collectible gift ». |
peer | InputPeer | Receiver of the gift. |
gift_id | long | 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 ». |
type
InputInvoice · 14 other constructors
history
present in layers 189–229 · constructor id changed 1×
| id | layers |
|---|---|
| #25d8c1d8 | 189–197 |
| #e8625e92 | 198–229 |