SetAuthenticationEmailAddress class final

SetAuthenticationEmailAddress (setAuthenticationEmailAddress) - TDLib function

Sets the email address of the user and sends an authentication code to the email address. Works only when the current authorization state is authorizationStateWaitEmailAddress.

Ok is returned on completion.

Inheritance

Constructors

SetAuthenticationEmailAddress({required String emailAddress})
SetAuthenticationEmailAddress (setAuthenticationEmailAddress) - TDLib function
const

Properties

currentObjectId → String
TDLib object type for current class instance
no setteroverride
emailAddress → String
The email address of the user
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? emailAddress}) → SetAuthenticationEmailAddress
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) → Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() → String
Convert model to TDLib JSON format, encoded into String.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

defaultObjectId → const String
TDLib object type