tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::messageUpgradedGiftPurchaseOffer Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::messageUpgradedGiftPurchaseOffer:
td::td_api::MessageContent td::td_api::Object td::TlObject

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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< upgradedGiftgift_
 The gift.
 
object_ptr< GiftPurchaseOfferStatestate_
 State of the offer.
 
object_ptr< GiftResalePriceprice_
 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.
 

Detailed Description

An offer to purchase an upgraded gift was sent or received.

Definition at line 42430 of file td_api.h.

Constructor & Destructor Documentation

◆ messageUpgradedGiftPurchaseOffer() [1/2]

td::td_api::messageUpgradedGiftPurchaseOffer::messageUpgradedGiftPurchaseOffer ( )

An offer to purchase an upgraded gift was sent or received.

◆ messageUpgradedGiftPurchaseOffer() [2/2]

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.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::messageUpgradedGiftPurchaseOffer::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ expiration_date_

int32 td::td_api::messageUpgradedGiftPurchaseOffer::expiration_date_

Point in time (Unix timestamp) when the offer will expire or has expired.

Definition at line 42447 of file td_api.h.

◆ gift_

object_ptr<upgradedGift> td::td_api::messageUpgradedGiftPurchaseOffer::gift_

The gift.

Definition at line 42441 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageUpgradedGiftPurchaseOffer::ID = -1809958483
static

Identifier uniquely determining a type of the object.

Definition at line 42465 of file td_api.h.

◆ price_

object_ptr<GiftResalePrice> td::td_api::messageUpgradedGiftPurchaseOffer::price_

The proposed price.

Definition at line 42445 of file td_api.h.

◆ state_

object_ptr<GiftPurchaseOfferState> td::td_api::messageUpgradedGiftPurchaseOffer::state_

State of the offer.

Definition at line 42443 of file td_api.h.


The documentation for this class was generated from the following file: