Package org.drinkless.tdlib
Class TdApi.ConnectedWebsite
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.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 longbotUserIdUser identifier of a bot linked with the website.StringbrowserThe version of a browser used to log in.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringdomainNameThe domain name of the website.longidWebsite identifier.StringipIP address from which the user was logged in, in human-readable format.intlastActiveDatePoint in time (Unix timestamp) when obtained authorization was last used.StringlocationHuman-readable description of a country and a region, from which the user was logged in, based on the IP address.intlogInDatePoint in time (Unix timestamp) when the user was logged in.StringplatformOperating 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, 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
id
public long id
Website identifier.
-
domainName
public String domainName
The domain name of the website.
-
botUserId
public long botUserId
User identifier of a bot linked with the website.
-
browser
public String browser
The version of a browser used to log in.
-
platform
public String platform
Operating system the browser is running on.
-
logInDate
public int logInDate
Point in time (Unix timestamp) when the user was logged in.
-
lastActiveDate
public int lastActiveDate
Point in time (Unix timestamp) when obtained authorization was last used.
-
ip
public String ip
IP address from which the user was logged in, in human-readable format.
-
location
public String 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
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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- 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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-