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_SentCodeTypeFirebaseSms_

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

An authentication code should be delivered via SMS after Firebase attestation, as described in the auth documentation ».

Constructors

new
auth_SentCodeTypeFirebaseSms_(params: { nonce?: Uint8Array; receipt?: string; push_timeout?: number; length: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
length: number

Length of the code that will be delivered.

optional
nonce: Uint8Array

On Android, the nonce to be used as described in the auth documentation »

optional
push_timeout: number

On iOS: if a push notification with the ios_push_secret isn't received within push_timeout seconds, the next_type authentication method must be used, with auth.resendCode.

optional
receipt: string

On iOS, must be compared with the receipt extracted from the received push notification.

Static Properties

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