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>account_changePhone_

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

Change the phone number of the current account

Constructors

new
account_changePhone_(params: { phone_number: string; phone_code_hash: string; phone_code: string; })

Properties

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

Phone code received when calling account.sendChangePhoneCode

phone_code_hash: string

Phone code hash received when calling account.sendChangePhoneCode

phone_number: string

New phone number

Static Properties

__F: (params: { phone_number: string; phone_code_hash: string; phone_code: string; }) => enums.User
readonly
[name]: string
readonly
[paramDesc]: ParamDesc