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
Identifier uniquely determining type of the object.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 ipAddress, 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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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. -
ipAddress
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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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 ipAddress, 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.ipAddress
- 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.
-
ConnectedWebsite
Contains information about one website the current user is logged in with Telegram.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-