ConnectedWebsite class
Contains information about one website the current user is logged in with Telegram.
- Inheritance
- Available Extensions
Constructors
- ConnectedWebsite({required int64 id, required String domain_name, required int bot_user_id, required String browser, required String platform, required int log_in_date, required int last_active_date, required String ip_address, required String location, int? extra, int? clientId})
- Contains information about one website the current user is logged in with Telegram
Properties
- bot_user_id ↔ int
-
User identifier of a bot linked with the website.
read / write
- browser ↔ String
-
The version of a browser used to log in.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- domain_name ↔ String
-
The domain name of the website.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ int64
-
Website identifier.
; string representation of int, use
int.parse
read / write - ip_address ↔ String
-
IP address from which the user was logged in, in human-readable format.
read / write
- last_active_date ↔ int
-
Point in time (Unix timestamp) when obtained authorization was last used.
read / write
- location ↔ String
-
Human-readable description of a country and a region from which the user was logged in, based on the IP address.
read / write
- log_in_date ↔ int
-
Point in time (Unix timestamp) when the user was logged in.
read / write
- platform ↔ String
-
Operating system the browser is running on.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Object to Map serializer
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? _map) → ConnectedWebsite? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"connectedWebsite"