Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>auth_SentCode_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class auth_SentCode_
import { auth_SentCode_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Contains info about a sent verification code.

Constructors

new
auth_SentCode_(params: { type: enums.auth.SentCodeType; phone_code_hash: string; next_type?: enums.auth.CodeType; timeout?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
next_type: enums.auth.CodeType

Phone code type that will be sent next, if the phone code is not received within timeout seconds: to send it use auth.resendCode

phone_code_hash: string

Phone code hash, to be stored and later re-used with auth.signIn

optional
timeout: number

Timeout for reception of the phone code

type: enums.auth.SentCodeType

Phone code type

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc