Inherits MessageContent.
An offer to purchase a gift was rejected or expired.
Public Fields | |
| object_ptr< upgradedGift > | gift_ |
| The gift. | |
| object_ptr< GiftResalePrice > | price_ |
| The proposed price. | |
| int53 | offer_message_id_ |
| Identifier of the message with purchase offer which was rejected or expired; may be 0 or an identifier of a deleted message. | |
| bool | was_expired_ |
| True, if the offer has expired; otherwise, the offer was explicitly rejected. | |
Public Instance Methods | |
| messageUpgradedGiftPurchaseOfferRejected () | |
| messageUpgradedGiftPurchaseOfferRejected (object_ptr< upgradedGift > &&gift_, object_ptr< GiftResalePrice > &&price_, int53 offer_message_id_, bool was_expired_) | |
| 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 = 59315711 |
| Identifier uniquely determining a type of the object. | |
An offer to purchase a gift was rejected or expired.
| messageUpgradedGiftPurchaseOfferRejected | ( | object_ptr< upgradedGift > && | gift_, |
| object_ptr< GiftResalePrice > && | price_, | ||
| int53 | offer_message_id_, | ||
| bool | was_expired_ | ||
| ) |
An offer to purchase a gift was rejected or expired.
| [in] | gift_ | The gift. |
| [in] | price_ | The proposed price. |
| [in] | offer_message_id_ | Identifier of the message with purchase offer which was rejected or expired; may be 0 or an identifier of a deleted message. |
| [in] | was_expired_ | True, if the offer has expired; otherwise, the offer was explicitly rejected. |
|
finalvirtual |