ConnectedWebsite class final
Contains information about one website the current user is logged in with Telegram
Constructors
- ConnectedWebsite({required int id, required String domainName, required int botUserId, required String browser, required String platform, required int logInDate, required int lastActiveDate, required String ipAddress, required String location})
-
Contains information about one website the current user is logged in with Telegram
const
-
ConnectedWebsite.fromJson(Map<
String, dynamic> json) -
Parses a ConnectedWebsite from TDLib JSON.
factory
Properties
- botUserId → int
-
User identifier of a bot linked with the website
final
- browser → String
-
The version of a browser used to log in
final
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- domainName → String
-
The domain name of the website
final
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Website identifier
final
- ipAddress → String
-
IP address from which the user was logged in, in human-readable format
final
- lastActiveDate → int
-
Point in time (Unix timestamp) when obtained authorization was last used
final
- location → String
-
Human-readable description of a country and a region from which the user was logged in, based on the IP address
final
- logInDate → int
-
Point in time (Unix timestamp) when the user was logged in
final
- platform → String
-
Operating system the browser is running on
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? id, String? domainName, int? botUserId, String? browser, String? platform, int? logInDate, int? lastActiveDate, String? ipAddress, String? location}) → ConnectedWebsite -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.