List of all members | Public Fields | Public Instance Methods | Static Public Attributes
unconfirmedSession Class Referencefinal

Inherits Object.

Description

Contains information about an unconfirmed session.

Public Fields

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.
 

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ unconfirmedSession() [1/2]

Contains information about an unconfirmed session.

◆ unconfirmedSession() [2/2]

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.

Method Documentation

◆ store()

void 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 TlObject.


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