ConnectedWebsite class

Inheritance

Constructors

ConnectedWebsite({int 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.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

botUserId int
botUserId User identifier of a bot linked with the website
read / write
browser String
browser The version of a browser used to log in
read / write
domainName String
domainName The domain name of the website
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
id Website identifier
read / write
ip String
ip IP address from which the user was logged in, in human-readable format
read / write
lastActiveDate int
lastActiveDate Point in time (Unix timestamp) when obtained authorization was last used
read / write
location String
location Human-readable description of a country and a region, from which the user was logged in, based on the IP address
read / write
logInDate int
logInDate Point in time (Unix timestamp) when the user was logged in
read / write
platform String
platform Operating system the browser is running on
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
'connectedWebsite'