Skip to content

AuthenticationCodeInfo

Type · TDLib 1.8.67 · d1085f9c

Information about the authentication code that was sent

AuthenticationCodeInfo(
  phone_number: string,
  type: AuthenticationCodeType,
  next_type: AuthenticationCodeType,
  timeout: int32
) → AuthenticationCodeInfo

phone_number

string

A phone number that is being authenticated

type

AuthenticationCodeType

The way the code was sent to the user

next_type

AuthenticationCodeType

The way the next code will be sent to the user; may be null

timeout

int32

Timeout before the code can be re-sent, in seconds