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

nametypedescription
flags#Flags, see TL conditional fields
hide_nameflags.0?trueIf 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_upgradeflags.2?trueAlso pay for an eventual upgrade of the gift to a collectible gift ».
peerInputPeerReceiver of the gift.
gift_idlongIdentifier of the gift, from starGift.id
messageflags.1?TextWithEntitiesOptional 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×

idlayers
#25d8c1d8189–197
#e8625e92198–229