Skip to main content
Module

x/grm/mod.ts>UserAuthParams

MTProto API Client for Deno 🦕
Latest
interface UserAuthParams
Re-export
import { type UserAuthParams } from "https://deno.land/x/grm@0.8.2/mod.ts";

Properties

phoneNumber: string | (() => MaybePromise<string>)
phoneCode: (isCodeViaApp?: boolean) => MaybePromise<string>
optional
password: (hint?: string) => MaybePromise<string>
optional
firstAndLastNames: () => Promise<[string, string]>
optional
qrCode: (qrCode: { token: Buffer; expires: number; }) => Promise<void>
onError: (err: Error) => Promise<boolean> | void
optional
forceSMS: boolean