inputInvoiceStarGiftAuctionBid

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

Constructor schema is available as of layer 218. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
hide_name flags.0?true If 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_bid flags.2?true Must be set when increasing an already existing bid.
peer flags.3?InputPeer Identifier of the user or channel (only if channelFull.stargifts_available is set) that will receive the gift.
gift_id long Identifier of the gift, from starGift.id
bid_amount long Total amount of the bid in Telegram Stars.
message flags.1?TextWithEntities Optional 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

Related pages

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.

Auctions