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_SentCodeTypeEmailCode_

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

The code was sent via the previously configured login email »

Constructors

new
auth_SentCodeTypeEmailCode_(params: { apple_signin_allowed?: true; google_signin_allowed?: true; email_pattern: string; length: number; reset_available_period?: number; reset_pending_date?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
apple_signin_allowed: true

Whether authorization through Apple ID is allowed

email_pattern: string

Pattern of the email

optional
google_signin_allowed: true

Whether authorization through Google ID is allowed

length: number

Length of the sent verification code

optional
reset_available_period: number

Clients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail (will be 0 for Premium users).

optional
reset_pending_date: number

An email reset was already requested, and will occur at the specified date.

Static Properties

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