java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ConnectedWebsite
- Enclosing class:
- TdApi
Contains information about one website
the current user is logged in with Telegram.
-
Field Summary
Modifier and TypeFieldDescriptionlong
User identifier of a bot linked with the website.The version of a browser used to log in.static final int
The domain name of the website.long
Website identifier.IP address from which the user was logged in, in human-readable format.int
Point in time (Unix timestamp) when obtained authorization was last used.Human-readable description of a country and a region from which the user was logged in, based on the IP address.int
Point in time (Unix timestamp) when the user was logged in.Operating system the browser is running on. -
Constructor Summary
ConstructorDescriptionContains information about one website the current user is logged in with Telegram.ConnectedWebsite
(long id, String domainName, long 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) Contains information about one website the current user is logged in with Telegram. -
Method Summary
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 long 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:
-
-
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, long 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
- long 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
Contains information about one website the current user is logged in with Telegram.- 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()
-