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

x/mtkruto/tl/3_functions.ts>auth_sendCode_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class auth_sendCode_
extends Function_<enums.auth.SentCode>
import { auth_sendCode_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Send the verification code for login

Constructors

new
auth_sendCode_(params: { phone_number: string; api_id: number; api_hash: string; settings: enums.CodeSettings; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
api_hash: string

Application secret hash (see App configuration)

api_id: number

Application identifier (see App configuration)

phone_number: string

Phone number in international format

settings: enums.CodeSettings

Settings for the code type to send

Static Properties

__F: (params: { phone_number: string; api_id: number; api_hash: string; settings: enums.CodeSettings; }) => enums.auth.SentCode
readonly
[name]: string
readonly
[paramDesc]: ParamDesc