AuthenticationCodeTypeSmsWord class
An authentication code is a word delivered via an SMS message to the specified phone number; unofficial applications may not receive this type of code
- Inheritance
-
- Object
- TdObject
- AuthenticationCodeType
- AuthenticationCodeTypeSmsWord
- Available extensions
- Annotations
-
- @immutable
Constructors
- AuthenticationCodeTypeSmsWord({required String firstLetter})
-
const
Properties
- firstLetter → String
-
firstLetter The first letters of the word if known
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? firstLetter}) → AuthenticationCodeTypeSmsWord -
Available on AuthenticationCodeTypeSmsWord, provided by the AuthenticationCodeTypeSmsWordExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult telegramMessage(AuthenticationCodeTypeTelegramMessage value), required TResult sms(AuthenticationCodeTypeSms value), required TResult smsWord(AuthenticationCodeTypeSmsWord value), required TResult smsPhrase(AuthenticationCodeTypeSmsPhrase value), required TResult call(AuthenticationCodeTypeCall value), required TResult flashCall(AuthenticationCodeTypeFlashCall value), required TResult missedCall(AuthenticationCodeTypeMissedCall value), required TResult fragment(AuthenticationCodeTypeFragment value), required TResult firebaseAndroid(AuthenticationCodeTypeFirebaseAndroid value), required TResult firebaseIos(AuthenticationCodeTypeFirebaseIos value)}) → TResult -
Available on AuthenticationCodeType, provided by the AuthenticationCodeTypeExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult telegramMessage(AuthenticationCodeTypeTelegramMessage value)?, TResult sms(AuthenticationCodeTypeSms value)?, TResult smsWord(AuthenticationCodeTypeSmsWord value)?, TResult smsPhrase(AuthenticationCodeTypeSmsPhrase value)?, TResult call(AuthenticationCodeTypeCall value)?, TResult flashCall(AuthenticationCodeTypeFlashCall value)?, TResult missedCall(AuthenticationCodeTypeMissedCall value)?, TResult fragment(AuthenticationCodeTypeFragment value)?, TResult firebaseAndroid(AuthenticationCodeTypeFirebaseAndroid value)?, TResult firebaseIos(AuthenticationCodeTypeFirebaseIos value)?, required TResult orElse()}) → TResult -
Available on AuthenticationCodeType, provided by the AuthenticationCodeTypeExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → AuthenticationCodeTypeSmsWord? -
Inherited by:
AuthenticationCodeTypeCall
AuthenticationCodeTypeFirebaseAndroid
AuthenticationCodeTypeFirebaseIos
AuthenticationCodeTypeFlashCall
AuthenticationCodeTypeFragment
AuthenticationCodeTypeMissedCall
AuthenticationCodeTypeSmsPhrase
AuthenticationCodeTypeSmsWord
AuthenticationCodeTypeSms
AuthenticationCodeTypeTelegramMessage
override
Constants
- constructor → const String