AuthenticationCodeType
Provides information about the method by which an authentication code is delivered to the user.
The AuthenticationCodeTypeUnion
type represents one of the following types:
keyboard_arrow_upkeyboard_arrow_down
TelegramMessage
Sms
Call
FlashCall
MissedCall
AuthenticationCodeTypeTelegramMessage
An authentication code is delivered via a private Telegram message, which can be viewed from another active session.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "authenticationCodeTypeTelegramMessage" | |
length | number | Length of the code |