Inherits Object.
Represents a gift that was acquired by the current user on an auction.
Public Fields | |
| object_ptr< MessageSender > | receiver_id_ |
| Receiver of the gift. | |
| int32 | date_ |
| Point in time (Unix timestamp) when the gift was acquired. | |
| int53 | star_count_ |
| The number of Telegram Stars that were paid for the gift. | |
| int32 | auction_round_number_ |
| Identifier of the auction round in which the gift was acquired. | |
| int32 | auction_round_position_ |
| Position of the user in the round among all auction participants. | |
| int32 | unique_gift_number_ |
| Unique number of the gift among gifts upgraded from the same gift after upgrade; 0 if yet unassigned. | |
| object_ptr< formattedText > | text_ |
| Message added to the gift. | |
| bool | is_private_ |
| True, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them. | |
Public Instance Methods | |
| giftAuctionAcquiredGift () | |
| giftAuctionAcquiredGift (object_ptr< MessageSender > &&receiver_id_, int32 date_, int53 star_count_, int32 auction_round_number_, int32 auction_round_position_, int32 unique_gift_number_, object_ptr< formattedText > &&text_, bool is_private_) | |
| 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 = -1109930332 |
| Identifier uniquely determining a type of the object. | |
Represents a gift that was acquired by the current user on an auction.
| giftAuctionAcquiredGift | ( | object_ptr< MessageSender > && | receiver_id_, |
| int32 | date_, | ||
| int53 | star_count_, | ||
| int32 | auction_round_number_, | ||
| int32 | auction_round_position_, | ||
| int32 | unique_gift_number_, | ||
| object_ptr< formattedText > && | text_, | ||
| bool | is_private_ | ||
| ) |
Represents a gift that was acquired by the current user on an auction.
| [in] | receiver_id_ | Receiver of the gift. |
| [in] | date_ | Point in time (Unix timestamp) when the gift was acquired. |
| [in] | star_count_ | The number of Telegram Stars that were paid for the gift. |
| [in] | auction_round_number_ | Identifier of the auction round in which the gift was acquired. |
| [in] | auction_round_position_ | Position of the user in the round among all auction participants. |
| [in] | unique_gift_number_ | Unique number of the gift among gifts upgraded from the same gift after upgrade; 0 if yet unassigned. |
| [in] | text_ | Message added to the gift. |
| [in] | is_private_ | True, if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them. |
|
finalvirtual |