Package it.tdlight.jni
Class TdApi.ConnectedWebsite
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ConnectedWebsite
- Enclosing class:
- TdApi
public static class TdApi.ConnectedWebsite extends TdApi.Object
Contains information about one website
the current user is logged in with Telegram.
-
Field Summary
Fields Modifier and Type Field Description int
botUserId
User identifier of a bot linked with the website.String
browser
The version of a browser used to log in.static int
CONSTRUCTOR
String
domainName
The domain name of the website.long
id
Website identifier.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.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.String
platform
Operating system the browser is running on. -
Constructor Summary
Constructors Constructor Description ConnectedWebsite()
Contains information about one website the current user is logged in with Telegram.ConnectedWebsite(long id, String domainName, int botUserId, String browser, String platform, int logInDate, int lastActiveDate, String ip, String location)
Contains information about one website the current user is logged in with Telegram.ConnectedWebsite(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
public long idWebsite identifier. -
domainName
The domain name of the website. -
botUserId
public int botUserIdUser 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
public int logInDatePoint in time (Unix timestamp) when the user was logged in. -
lastActiveDate
public int lastActiveDatePoint 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ConnectedWebsite
public ConnectedWebsite()Contains information about one website the current user is logged in with Telegram. -
ConnectedWebsite
public ConnectedWebsite(long id, String domainName, int botUserId, String browser, String platform, int logInDate, int lastActiveDate, String ip, String location)Contains information about one website the current user is logged in with Telegram.- Parameters:
id
- long Website identifier.domainName
- String The domain name of the website.botUserId
- int User identifier of a bot linked with the website.browser
- String The version of a browser used to log in.platform
- String Operating system the browser is running on.logInDate
- int Point in time (Unix timestamp) when the user was logged in.lastActiveDate
- int Point in time (Unix timestamp) when obtained authorization was last used.ip
- String IP address from which the user was logged in, in human-readable format.location
- String Human-readable description of a country and a region, from which the user was logged in, based on the IP address.
-
ConnectedWebsite
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-