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::unconfirmedSession Class Referencefinal

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

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

Public Member Functions

 unconfirmedSession ()
 
 unconfirmedSession (int64 id_, int32 log_in_date_, string const &device_model_, 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_
 Session identifier.
 
int32 log_in_date_
 Point in time (Unix timestamp) when the user has logged in.
 
string device_model_
 Model of the device that was used for the session creation, as provided by the application.
 
string location_
 A human-readable description of the location from which the session was created, based on the IP address.
 

Static Public Attributes

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

Detailed Description

Contains information about an unconfirmed session.

Definition at line 75381 of file td_api.h.

Constructor & Destructor Documentation

◆ unconfirmedSession() [1/2]

td::td_api::unconfirmedSession::unconfirmedSession ( )

Contains information about an unconfirmed session.

◆ unconfirmedSession() [2/2]

td::td_api::unconfirmedSession::unconfirmedSession ( int64  id_,
int32  log_in_date_,
string const &  device_model_,
string const &  location_ 
)

Contains information about an unconfirmed session.

Parameters
[in]id_Session identifier.
[in]log_in_date_Point in time (Unix timestamp) when the user has logged in.
[in]device_model_Model of the device that was used for the session creation, as provided by the application.
[in]location_A human-readable description of the location from which the session was created, based on the IP address.

Member Function Documentation

◆ store()

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

◆ device_model_

string td::td_api::unconfirmedSession::device_model_

Model of the device that was used for the session creation, as provided by the application.

Definition at line 75396 of file td_api.h.

◆ ID

const std::int32_t td::td_api::unconfirmedSession::ID = -2062726663
static

Identifier uniquely determining a type of the object.

Definition at line 75416 of file td_api.h.

◆ id_

int64 td::td_api::unconfirmedSession::id_

Session identifier.

Definition at line 75392 of file td_api.h.

◆ location_

string td::td_api::unconfirmedSession::location_

A human-readable description of the location from which the session was created, based on the IP address.

Definition at line 75398 of file td_api.h.

◆ log_in_date_

int32 td::td_api::unconfirmedSession::log_in_date_

Point in time (Unix timestamp) when the user has logged in.

Definition at line 75394 of file td_api.h.


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