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_signIn_

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

Signs in a user with a validated phone number.

Constructors

new
auth_signIn_(params: { phone_number: string; phone_code_hash: string; phone_code?: string; email_verification?: enums.EmailVerification; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
email_verification: enums.EmailVerification

Email verification code or token

optional
phone_code: string

Valid numerical code from the SMS-message

phone_code_hash: string

SMS-message ID, obtained from auth.sendCode

phone_number: string

Phone number in the international format

Static Properties

__F: (params: { phone_number: string; phone_code_hash: string; phone_code?: string; email_verification?: enums.EmailVerification; }) => enums.auth.Authorization
readonly
[name]: string
readonly
[paramDesc]: ParamDesc