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::messageUpgradedGiftPurchaseOfferRejected Class Referencefinal

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

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

Public Member Functions

 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 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< GiftResalePriceprice_
 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.
 

Static Public Attributes

static const std::int32_t ID = 59315711
 Identifier uniquely determining a type of the object.
 

Detailed Description

An offer to purchase a gift was rejected or expired.

Definition at line 42478 of file td_api.h.

Constructor & Destructor Documentation

◆ messageUpgradedGiftPurchaseOfferRejected() [1/2]

td::td_api::messageUpgradedGiftPurchaseOfferRejected::messageUpgradedGiftPurchaseOfferRejected ( )

An offer to purchase a gift was rejected or expired.

◆ messageUpgradedGiftPurchaseOfferRejected() [2/2]

td::td_api::messageUpgradedGiftPurchaseOfferRejected::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.

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

Member Function Documentation

◆ store()

void td::td_api::messageUpgradedGiftPurchaseOfferRejected::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

◆ gift_

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

The gift.

Definition at line 42489 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageUpgradedGiftPurchaseOfferRejected::ID = 59315711
static

Identifier uniquely determining a type of the object.

Definition at line 42513 of file td_api.h.

◆ offer_message_id_

int53 td::td_api::messageUpgradedGiftPurchaseOfferRejected::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.

Definition at line 42493 of file td_api.h.

◆ price_

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

The proposed price.

Definition at line 42491 of file td_api.h.

◆ was_expired_

bool td::td_api::messageUpgradedGiftPurchaseOfferRejected::was_expired_

True, if the offer has expired; otherwise, the offer was explicitly rejected.

Definition at line 42495 of file td_api.h.


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