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

Public Member Functions

 messagePremiumGiftCode (object_ptr< MessageSender > &&creator_id_, object_ptr< formattedText > &&text_, bool is_from_giveaway_, bool is_unclaimed_, string const &currency_, int53 amount_, string const &cryptocurrency_, int64 cryptocurrency_amount_, int32 month_count_, int32 day_count_, object_ptr< sticker > &&sticker_, string const &code_)
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< MessageSendercreator_id_
object_ptr< formattedTexttext_
bool is_from_giveaway_
bool is_unclaimed_
string currency_
int53 amount_
string cryptocurrency_
int64 cryptocurrency_amount_
int32 month_count_
int32 day_count_
object_ptr< stickersticker_
string code_

Static Public Attributes

static const std::int32_t ID = 680217675

Member Function Documentation

◆ store()

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