Type Alias SentCodeDeliveryType

SentCodeDeliveryType:
    | "app"
    | "sms"
    | "call"
    | "flash_call"
    | "missed_call"
    | "email"
    | "email_required"
    | "fragment"
    | "firebase"
    | "sms_word"
    | "sms_phrase"
    | "success"

Type describing code delivery type.

  • app: Code is delivered via Telegram account
  • sms: Code is sent via SMS
  • call: Code is sent via voice call
  • flash_call: Code is the last 5 digits of the caller's phone number
  • missed_call: Code is the last 5 digits of the caller's phone number
  • email: Code is sent via Email
  • email_required: Code sending via email setup is required
  • fragment: Code is sent via Fragment anonymous numbers
  • firebase: Code is sent via Firebase
  • sms_word, sms_phrase: Code is sent via SMS with a word/phrase (see SentCode#beginning)
  • success: Code is not needed, you're already logged in (only for future auth tokens)