TDLib
Loading...
Searching...
No Matches
td::td_api::messageGift Class Referencefinal
Inheritance diagram for td::td_api::messageGift:
td::td_api::MessageContent td::td_api::Object td::TlObject

Public Member Functions

 messageGift (object_ptr< gift > &&gift_, object_ptr< MessageSender > &&sender_id_, object_ptr< MessageSender > &&receiver_id_, string const &received_gift_id_, object_ptr< formattedText > &&text_, int32 unique_gift_number_, int53 sell_star_count_, int53 prepaid_upgrade_star_count_, bool is_upgrade_separate_, bool is_from_auction_, bool is_private_, bool is_saved_, bool is_prepaid_upgrade_, bool can_be_upgraded_, bool was_converted_, bool was_upgraded_, bool was_refunded_, string const &upgraded_received_gift_id_, string const &prepaid_upgrade_hash_)
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< giftgift_
object_ptr< MessageSendersender_id_
object_ptr< MessageSenderreceiver_id_
string received_gift_id_
object_ptr< formattedTexttext_
int32 unique_gift_number_
int53 sell_star_count_
int53 prepaid_upgrade_star_count_
bool is_upgrade_separate_
bool is_from_auction_
bool is_private_
bool is_saved_
bool is_prepaid_upgrade_
bool can_be_upgraded_
bool was_converted_
bool was_upgraded_
bool was_refunded_
string upgraded_received_gift_id_
string prepaid_upgrade_hash_

Static Public Attributes

static const std::int32_t ID = -1990929579

Member Function Documentation

◆ store()

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

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

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

Implements td::TlObject.


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