tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::chatBoostSlot Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::chatBoostSlot:
td::td_api::Object td::TlObject

Public Member Functions

 chatBoostSlot ()
 
 chatBoostSlot (int32 slot_id_, int53 currently_boosted_chat_id_, int32 start_date_, int32 expiration_date_, int32 cooldown_until_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

int32 slot_id_
 Unique identifier of the slot.
 
int53 currently_boosted_chat_id_
 Identifier of the currently boosted chat; 0 if none.
 
int32 start_date_
 Point in time (Unix timestamp) when the chat was boosted; 0 if none.
 
int32 expiration_date_
 Point in time (Unix timestamp) when the boost will expire.
 
int32 cooldown_until_date_
 Point in time (Unix timestamp) after which the boost can be used for another chat.
 

Static Public Attributes

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

Detailed Description

Describes a slot for chat boost.

Definition at line 10217 of file td_api.h.

Constructor & Destructor Documentation

◆ chatBoostSlot() [1/2]

td::td_api::chatBoostSlot::chatBoostSlot ( )

Describes a slot for chat boost.

◆ chatBoostSlot() [2/2]

td::td_api::chatBoostSlot::chatBoostSlot ( int32  slot_id_,
int53  currently_boosted_chat_id_,
int32  start_date_,
int32  expiration_date_,
int32  cooldown_until_date_ 
)

Describes a slot for chat boost.

Parameters
[in]slot_id_Unique identifier of the slot.
[in]currently_boosted_chat_id_Identifier of the currently boosted chat; 0 if none.
[in]start_date_Point in time (Unix timestamp) when the chat was boosted; 0 if none.
[in]expiration_date_Point in time (Unix timestamp) when the boost will expire.
[in]cooldown_until_date_Point in time (Unix timestamp) after which the boost can be used for another chat.

Member Function Documentation

◆ store()

void td::td_api::chatBoostSlot::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 td::TlObject.

Member Data Documentation

◆ cooldown_until_date_

int32 td::td_api::chatBoostSlot::cooldown_until_date_

Point in time (Unix timestamp) after which the boost can be used for another chat.

Definition at line 10236 of file td_api.h.

◆ currently_boosted_chat_id_

int53 td::td_api::chatBoostSlot::currently_boosted_chat_id_

Identifier of the currently boosted chat; 0 if none.

Definition at line 10230 of file td_api.h.

◆ expiration_date_

int32 td::td_api::chatBoostSlot::expiration_date_

Point in time (Unix timestamp) when the boost will expire.

Definition at line 10234 of file td_api.h.

◆ ID

const std::int32_t td::td_api::chatBoostSlot::ID = 123206343
static

Identifier uniquely determining a type of the object.

Definition at line 10255 of file td_api.h.

◆ slot_id_

int32 td::td_api::chatBoostSlot::slot_id_

Unique identifier of the slot.

Definition at line 10228 of file td_api.h.

◆ start_date_

int32 td::td_api::chatBoostSlot::start_date_

Point in time (Unix timestamp) when the chat was boosted; 0 if none.

Definition at line 10232 of file td_api.h.


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