List of all members | Public Fields | Public Instance Methods | Static Public Attributes
messageUpgradedGiftPurchaseOfferRejected Class Referencefinal

Inherits MessageContent.

Description

An offer to purchase a gift was rejected or expired.

Public Fields

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.
 

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ messageUpgradedGiftPurchaseOfferRejected() [1/2]

An offer to purchase a gift was rejected or expired.

◆ messageUpgradedGiftPurchaseOfferRejected() [2/2]

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.

Method Documentation

◆ store()

void 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 TlObject.


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