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_requestFirebaseSms_

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

Request an SMS code via Firebase.

Constructors

new
auth_requestFirebaseSms_(params: { phone_number: string; phone_code_hash: string; safety_net_token?: string; ios_push_secret?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
ios_push_secret: string

Secret token received via an apple push notification

phone_code_hash: string

Phone code hash returned by auth.sendCode

phone_number: string

Phone number

optional
safety_net_token: string

On Android, a JWS object obtained as described in the auth documentation »

Static Properties

__F: (params: { phone_number: string; phone_code_hash: string; safety_net_token?: string; ios_push_secret?: string; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc