Used to place a bid in a collectible gift auction ».
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;
| 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. |
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).
Represents a star gift, see here » for more info.
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.
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.