Information about sent confirmation code

Constructors

Properties

Accessors

  • get beginning(): undefined | string
  • If the code is sent via SMS with a word/phrase, this field may contain the beginning of the message

    Returns undefined | string

  • get length(): number
  • Length of the code (0 for flash calls)

    Returns number

  • get phoneCodeHash(): string
  • Confirmation code identifier used for the next authorization steps (like TelegramClient.signIn and TelegramClient.signUp)

    Returns string

  • get timeout(): number
  • Delay in seconds to wait before calling TelegramClient.resendCode

    Returns number