Layer 227
constructor
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

Name Type Description
HideName 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.
UpdateBid flags .2? true Must be set when increasing an already existing bid.
Peer flags .3? InputPeer Identifier of the user or channel (only if channel Full. stargifts_available is set) that will receive the gift.
GiftId long Identifier of the gift, from star Gift. id
BidAmount 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.

Returns

InputInvoice

Gogram Example

// Creating InputInvoiceStarGiftAuctionBid constructor
obj := &tg.InputInvoiceStarGiftAuctionBid{
    HideName: nil,
    UpdateBid: nil,
    Peer: nil,
    GiftId: int64(1234567890),
    BidAmount: int64(1234567890),
    Message: nil,
}