public static class TdApi.ConnectedWebsite extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
long |
botUserId
User identifier of a bot linked with the website.
|
java.lang.String |
browser
The version of a browser used to log in.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
domainName
The domain name of the website.
|
long |
id
Website identifier.
|
java.lang.String |
ip
IP address from which the user was logged in, in human-readable format.
|
int |
lastActiveDate
Point in time (Unix timestamp) when obtained authorization was last used.
|
java.lang.String |
location
Human-readable description of a country and a region, from which the user was logged in, based on the IP address.
|
int |
logInDate
Point in time (Unix timestamp) when the user was logged in.
|
java.lang.String |
platform
Operating system the browser is running on.
|
Constructor and Description |
---|
ConnectedWebsite()
Contains information about one website the current user is logged in with Telegram.
|
ConnectedWebsite(long id,
java.lang.String domainName,
long botUserId,
java.lang.String browser,
java.lang.String platform,
int logInDate,
int lastActiveDate,
java.lang.String ip,
java.lang.String location)
Contains information about one website the current user is logged in with Telegram.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public java.lang.String domainName
public long botUserId
public java.lang.String browser
public java.lang.String platform
public int logInDate
public int lastActiveDate
public java.lang.String ip
public java.lang.String location
public static final int CONSTRUCTOR
public ConnectedWebsite()
public ConnectedWebsite(long id, java.lang.String domainName, long botUserId, java.lang.String browser, java.lang.String platform, int logInDate, int lastActiveDate, java.lang.String ip, java.lang.String location)
id
- Website identifier.domainName
- The domain name of the website.botUserId
- User identifier of a bot linked with the website.browser
- The version of a browser used to log in.platform
- Operating system the browser is running on.logInDate
- Point in time (Unix timestamp) when the user was logged in.lastActiveDate
- Point in time (Unix timestamp) when obtained authorization was last used.ip
- IP address from which the user was logged in, in human-readable format.location
- Human-readable description of a country and a region, from which the user was logged in, based on the IP address.public int getConstructor()
getConstructor
in class TdApi.Object