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

Public Member Functions

 gift (int64 id_, int53 publisher_chat_id_, object_ptr< sticker > &&sticker_, int53 star_count_, int53 default_sell_star_count_, int53 upgrade_star_count_, int32 upgrade_variant_count_, bool has_colors_, bool is_for_birthday_, bool is_premium_, object_ptr< giftAuction > &&auction_info_, int32 next_send_date_, object_ptr< giftPurchaseLimits > &&user_limits_, object_ptr< giftPurchaseLimits > &&overall_limits_, object_ptr< giftBackground > &&background_, int32 first_send_date_, int32 last_send_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

int64 id_
int53 publisher_chat_id_
object_ptr< stickersticker_
int53 star_count_
int53 default_sell_star_count_
int53 upgrade_star_count_
int32 upgrade_variant_count_
bool has_colors_
bool is_for_birthday_
bool is_premium_
object_ptr< giftAuctionauction_info_
int32 next_send_date_
object_ptr< giftPurchaseLimitsuser_limits_
object_ptr< giftPurchaseLimitsoverall_limits_
object_ptr< giftBackgroundbackground_
int32 first_send_date_
int32 last_send_date_

Static Public Attributes

static const std::int32_t ID = 1567244615

Member Function Documentation

◆ store()

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