AuthenticationCodeInfo class

Information about the authentication code that was sent.

Inheritance
Available Extensions

Constructors

AuthenticationCodeInfo({required String phone_number, required AuthenticationCodeType type, AuthenticationCodeType? next_type, required int timeout, int? extra, int? clientId})
Information about the authentication code that was sent

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
next_type AuthenticationCodeType?
The way the next code will be sent to the user; may be null.
read / write
phone_number String
A phone number that is being authenticated.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
timeout int
Timeout before the code can be re-sent, in seconds.
read / write
type AuthenticationCodeType
The way the code was sent to the user.
read / write

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) AuthenticationCodeInfo?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"authenticationCodeInfo"