Inherits Object.
Describes a bid of the current user in an auction.
Public Fields | |
| int53 | star_count_ |
| The number of Telegram Stars that were put in the bid. | |
| int32 | bid_date_ |
| Point in time (Unix timestamp) when the bid was made. | |
| int53 | next_bid_star_count_ |
| The minimum number of Telegram Stars that can be put for the next bid. | |
| object_ptr< MessageSender > | owner_id_ |
| Identifier of the user or the chat that will receive the auctioned item. If the auction is opened in context of another user or chat, then a warning is supposed to be shown to the current user. | |
| bool | was_returned_ |
| True, if the bid was returned to the user, because it was outbid and can't win anymore. | |
Public Instance Methods | |
| userAuctionBid () | |
| userAuctionBid (int53 star_count_, int32 bid_date_, int53 next_bid_star_count_, object_ptr< MessageSender > &&owner_id_, bool was_returned_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 538448225 |
| Identifier uniquely determining a type of the object. | |
| userAuctionBid | ( | ) |
Describes a bid of the current user in an auction.
| userAuctionBid | ( | int53 | star_count_, |
| int32 | bid_date_, | ||
| int53 | next_bid_star_count_, | ||
| object_ptr< MessageSender > && | owner_id_, | ||
| bool | was_returned_ | ||
| ) |
Describes a bid of the current user in an auction.
| [in] | star_count_ | The number of Telegram Stars that were put in the bid. |
| [in] | bid_date_ | Point in time (Unix timestamp) when the bid was made. |
| [in] | next_bid_star_count_ | The minimum number of Telegram Stars that can be put for the next bid. |
| [in] | owner_id_ | Identifier of the user or the chat that will receive the auctioned item. If the auction is opened in context of another user or chat, then a warning is supposed to be shown to the current user. |
| [in] | was_returned_ | True, if the bid was returned to the user, because it was outbid and can't win anymore. |
|
finalvirtual |