inputInvoiceStarGiftAuctionBid #

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

Layer 223

inputInvoiceStarGiftAuctionBid#1ecafa10 flags:# hide_name:flags.0?true update_bid:flags.2?true peer:flags.3?InputPeer gift_id:long bid_amount: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 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.
update_bidflags.2?trueMust be set when increasing an already existing bid.
peerflags.3?InputPeerIdentifier of the user or channel (only if channelFull.stargifts_available is set) that will receive the gift.
gift_idlongIdentifier of the gift, from starGift.id
bid_amountlongTotal amount of the bid in Telegram Stars.
messageflags.1?TextWithEntitiesOptional 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.

Type #

InputInvoice

channelFull #

Full info about a channel, supergroup or gigagroup.

When updating the local peer database », all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).

starGift #

Represents a star gift, see here » for more info.

Telegram Stars #

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

Client configuration #

The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.

Collectible gift auctions #

New collectible gift releases are distributed through Stars auctions held over several rounds.