Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/mod.ts>client.TwoFaParams

MTProto API Client for Deno 🦕
Go to Latest
interface client.TwoFaParams
Re-export
import { type client } from "https://deno.land/x/grm@0.6.0/mod.ts";
const { TwoFaParams } = client;

Properties

optional
isCheckPassword: boolean
optional
currentPassword: string
optional
newPassword: string
optional
hint: string
optional
email: string
optional
emailCodeCallback: (length: number) => Promise<string>
optional
onEmailCodeError: (err: Error) => void