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

Public Member Functions

 receivedGift (string const &received_gift_id_, object_ptr< MessageSender > &&sender_id_, object_ptr< formattedText > &&text_, int32 unique_gift_number_, bool is_private_, bool is_saved_, bool is_pinned_, bool can_be_upgraded_, bool can_be_transferred_, bool was_refunded_, int32 date_, object_ptr< SentGift > &&gift_, array< int32 > &&collection_ids_, int53 sell_star_count_, int53 prepaid_upgrade_star_count_, bool is_upgrade_separate_, int53 transfer_star_count_, int53 drop_original_details_star_count_, int32 next_transfer_date_, int32 next_resale_date_, int32 export_date_, string const &prepaid_upgrade_hash_, int32 craft_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

string received_gift_id_
object_ptr< MessageSendersender_id_
object_ptr< formattedTexttext_
int32 unique_gift_number_
bool is_private_
bool is_saved_
bool is_pinned_
bool can_be_upgraded_
bool can_be_transferred_
bool was_refunded_
int32 date_
object_ptr< SentGiftgift_
array< int32 > collection_ids_
int53 sell_star_count_
int53 prepaid_upgrade_star_count_
bool is_upgrade_separate_
int53 transfer_star_count_
int53 drop_original_details_star_count_
int32 next_transfer_date_
int32 next_resale_date_
int32 export_date_
string prepaid_upgrade_hash_
int32 craft_date_

Static Public Attributes

static const std::int32_t ID = -389770324

Member Function Documentation

◆ store()

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