|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| 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 Member Functions inherited from td::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 |
Public Attributes | |
| 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. | |
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.
| td::td_api::messageUpgradedGiftPurchaseOffer::messageUpgradedGiftPurchaseOffer | ( | ) |
An offer to purchase an upgraded gift was sent or received.
| td::td_api::messageUpgradedGiftPurchaseOffer::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 |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| int32 td::td_api::messageUpgradedGiftPurchaseOffer::expiration_date_ |
| object_ptr<upgradedGift> td::td_api::messageUpgradedGiftPurchaseOffer::gift_ |
|
static |
| object_ptr<GiftResalePrice> td::td_api::messageUpgradedGiftPurchaseOffer::price_ |
| object_ptr<GiftPurchaseOfferState> td::td_api::messageUpgradedGiftPurchaseOffer::state_ |