Layer 224
InputInvoiceStarGiftAuctionBid
Invoice for bidding on star gift auction
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 | Hide bidder name |
| UpdateBid | flags.2?true | Update existing bid |
| Peer | flags.3?InputPeer | Beneficiary peer |
| GiftId | long | Gift ID |
| BidAmount | long | Bid amount |
| Message | flags.1?TextWithEntities | Message with bid |
Returns
InputInvoiceGogram Example
// Creating InputInvoiceStarGiftAuctionBid constructor obj := &tg.InputInvoiceStarGiftAuctionBid{ GiftId: int64(1234567890), BidAmount: int64(1234567890), // Optional fields: // HideName: true, // UpdateBid: true, // Peer: &tg.InputPeerUser{UserID: int64(777000)}, // Message: &tg.TextWithEntities{}, }