ConnectedWebsite class

Implemented types

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

Properties

botUserId int
read / write
browser String
read / write
domainName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write
ip String
read / write
lastActiveDate int
read / write
location String
read / write
logInDate int
read / write
platform String
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"connectedWebsite"