InternalLinkTypeQrCodeAuthentication class final
The link can be used to login the current user on another device, but it must be scanned from QR-code using in-app camera. An alert similar to "This code can be used to allow someone to log in to your Telegram account. To confirm Telegram login, please go to Settings > Devices > Scan QR and scan the code" needs to be shown
- Inheritance
-
- Object
- TdObject
- InternalLinkType
- InternalLinkTypeQrCodeAuthentication
Constructors
- InternalLinkTypeQrCodeAuthentication({dynamic extra, int? clientId})
-
The link can be used to login the current user on another device, but it must be scanned from QR-code using in-app camera. An alert similar to "This code can be used to allow someone to log in to your Telegram account. To confirm Telegram login, please go to Settings > Devices > Scan QR and scan the code" needs to be shown
const
-
InternalLinkTypeQrCodeAuthentication.fromJson(Map<
String, dynamic> json) -
Parses a InternalLinkTypeQrCodeAuthentication from TDLib JSON.
factory
Properties
Methods
-
copyWith(
{dynamic extra, int? clientId}) → InternalLinkTypeQrCodeAuthentication -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
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.