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

x/mtkruto/mod.ts>SignInParamsUser

Cross-runtime JavaScript library for building Telegram clients
Latest
interface SignInParamsUser
import { type SignInParamsUser } from "https://deno.land/x/mtkruto@0.6.3/mod.ts";

Type Parameters

optional
S = string

Properties

phone: S | (() => MaybePromise<S>)

A user phone number or a function that returns it.

code: S | (() => MaybePromise<S>)

A verification code or a function that returns it.

password: S | ((hint: string | null) => MaybePromise<S>)

An account password or a function that returns it.