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

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

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

Public Member Functions

 connectedWebsite ()
 
 connectedWebsite (int64 id_, string const &domain_name_, int53 bot_user_id_, string const &browser_, string const &platform_, 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_
 Website identifier.
 
string domain_name_
 The domain name of the website.
 
int53 bot_user_id_
 User identifier of a bot linked with the website.
 
string browser_
 The version of a browser used to log in.
 
string platform_
 Operating system the browser is running on.
 
int32 log_in_date_
 Point in time (Unix timestamp) when the user was logged in.
 
int32 last_active_date_
 Point in time (Unix timestamp) when obtained authorization was last used.
 
string ip_address_
 IP address from which the user was logged in, in human-readable format.
 
string location_
 Human-readable description of a country and a region from which the user was logged in, based on the IP address.
 

Static Public Attributes

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

Detailed Description

Contains information about one website the current user is logged in with Telegram.

Definition at line 17164 of file td_api.h.

Constructor & Destructor Documentation

◆ connectedWebsite() [1/2]

td::td_api::connectedWebsite::connectedWebsite ( )

Contains information about one website the current user is logged in with Telegram.

◆ connectedWebsite() [2/2]

td::td_api::connectedWebsite::connectedWebsite ( int64  id_,
string const &  domain_name_,
int53  bot_user_id_,
string const &  browser_,
string const &  platform_,
int32  log_in_date_,
int32  last_active_date_,
string const &  ip_address_,
string const &  location_ 
)

Contains information about one website the current user is logged in with Telegram.

Parameters
[in]id_Website identifier.
[in]domain_name_The domain name of the website.
[in]bot_user_id_User identifier of a bot linked with the website.
[in]browser_The version of a browser used to log in.
[in]platform_Operating system the browser is running on.
[in]log_in_date_Point in time (Unix timestamp) when the user was logged in.
[in]last_active_date_Point in time (Unix timestamp) when obtained authorization was last used.
[in]ip_address_IP address from which the user was logged in, in human-readable format.
[in]location_Human-readable description of a country and a region from which the user was logged in, based on the IP address.

Member Function Documentation

◆ store()

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

◆ bot_user_id_

int53 td::td_api::connectedWebsite::bot_user_id_

User identifier of a bot linked with the website.

Definition at line 17179 of file td_api.h.

◆ browser_

string td::td_api::connectedWebsite::browser_

The version of a browser used to log in.

Definition at line 17181 of file td_api.h.

◆ domain_name_

string td::td_api::connectedWebsite::domain_name_

The domain name of the website.

Definition at line 17177 of file td_api.h.

◆ ID

const std::int32_t td::td_api::connectedWebsite::ID = 1978115978
static

Identifier uniquely determining a type of the object.

Definition at line 17214 of file td_api.h.

◆ id_

int64 td::td_api::connectedWebsite::id_

Website identifier.

Definition at line 17175 of file td_api.h.

◆ ip_address_

string td::td_api::connectedWebsite::ip_address_

IP address from which the user was logged in, in human-readable format.

Definition at line 17189 of file td_api.h.

◆ last_active_date_

int32 td::td_api::connectedWebsite::last_active_date_

Point in time (Unix timestamp) when obtained authorization was last used.

Definition at line 17187 of file td_api.h.

◆ location_

string td::td_api::connectedWebsite::location_

Human-readable description of a country and a region from which the user was logged in, based on the IP address.

Definition at line 17191 of file td_api.h.

◆ log_in_date_

int32 td::td_api::connectedWebsite::log_in_date_

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

Definition at line 17185 of file td_api.h.

◆ platform_

string td::td_api::connectedWebsite::platform_

Operating system the browser is running on.

Definition at line 17183 of file td_api.h.


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