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

Public Member Functions

 session (int64 id_, bool is_current_, bool is_password_pending_, bool is_unconfirmed_, bool can_accept_secret_chats_, bool can_accept_calls_, object_ptr< SessionDeviceType > &&device_type_, int32 api_id_, string const &application_name_, string const &application_version_, bool is_official_application_, string const &device_model_, string const &platform_, string const &system_version_, int32 log_in_date_, int32 last_active_date_, string const &ip_address_, string const &location_)
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_
bool is_current_
bool is_password_pending_
bool is_unconfirmed_
bool can_accept_secret_chats_
bool can_accept_calls_
object_ptr< SessionDeviceTypedevice_type_
int32 api_id_
string application_name_
string application_version_
bool is_official_application_
string device_model_
string platform_
string system_version_
int32 log_in_date_
int32 last_active_date_
string ip_address_
string location_

Static Public Attributes

static const std::int32_t ID = -1735799561

Member Function Documentation

◆ store()

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