Inherits MessageContent.
An offer to purchase an upgraded gift was sent or received.
Public Fields | |
| object_ptr< upgradedGift > | gift_ |
| The gift. | |
| object_ptr< GiftPurchaseOfferState > | state_ |
| State of the offer. | |
| object_ptr< GiftResalePrice > | price_ |
| The proposed price. | |
| int32 | expiration_date_ |
| Point in time (Unix timestamp) when the offer will expire or has expired. | |
Public Instance Methods | |
| messageUpgradedGiftPurchaseOffer () | |
| messageUpgradedGiftPurchaseOffer (object_ptr< upgradedGift > &&gift_, object_ptr< GiftPurchaseOfferState > &&state_, object_ptr< GiftResalePrice > &&price_, int32 expiration_date_) | |
| 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 = -1809958483 |
| Identifier uniquely determining a type of the object. | |
An offer to purchase an upgraded gift was sent or received.
| messageUpgradedGiftPurchaseOffer | ( | object_ptr< upgradedGift > && | gift_, |
| object_ptr< GiftPurchaseOfferState > && | state_, | ||
| object_ptr< GiftResalePrice > && | price_, | ||
| int32 | expiration_date_ | ||
| ) |
An offer to purchase an upgraded gift was sent or received.
| [in] | gift_ | The gift. |
| [in] | state_ | State of the offer. |
| [in] | price_ | The proposed price. |
| [in] | expiration_date_ | Point in time (Unix timestamp) when the offer will expire or has expired. |
|
finalvirtual |