Layer 224
StarGiftAuctionUserStateObj
User's participation in star gift auction
constructor
starGiftAuctionUserState#2eeed1c4 flags:# returned:flags.1?true bid_amount:flags.0?long bid_date:flags.0?int min_bid_amount:flags.0?long bid_peer:flags.0?Peer acquired_count:int = StarGiftAuctionUserState;
Parameters
| Name | Type | Description |
|---|---|---|
| Returned | flags.1?true | Gift returned to user |
| BidAmount | flags.0?long | User's bid amount |
| BidDate | flags.0?int | Bid timestamp |
| MinBidAmount | flags.0?long | Minimum bid user can place |
| BidPeer | flags.0?Peer | Peer who won against user |
| AcquiredCount | int | Gifts acquired in auction |
Returns
StarGiftAuctionUserStateGogram Example
// Creating StarGiftAuctionUserStateObj constructor obj := &tg.StarGiftAuctionUserStateObj{ AcquiredCount: 42, // Optional fields: // Returned: true, // BidAmount: int64(1234567890), // BidDate: 42, // MinBidAmount: int64(1234567890), // ... more optional fields }