Skip to main content

inputInvoiceStarGiftAuctionBid

Used to place a bid in a collectible gift auction ».

type tg.InputInvoiceStarGiftAuctionBid struct { /* ... */ }

Implements InputInvoice.

Fields

NameTypeRequiredDescription
HideNameboolIf set, your name will be hidden if the destination peer decides to display the gift on their profile (they will still see that you sent the gift). Must not be set when updating an existing bid, as the value cannot be changed for existing bids.
UpdateBidboolMust be set when increasing an already existing bid.
PeerInputPeerClassIdentifier of the user or channel (only if channelFull.stargifts_available is set) that will receive the gift.
GiftIDint64yesIdentifier of the gift, from starGift.id
BidAmountint64yesTotal amount of the bid in Telegram Stars.
MessageTextWithEntitiesOptional message that will be attached with the gift if we end up winning this round: the maximum length for this field is specified in the stargifts_message_length_max client configuration value ». Must not be set when updating an existing bid, as the value cannot be changed for existing bids.

References