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

x/grm/src/mod.ts>client.auth.signInWithPassword

MTProto API Client for Deno 🦕
Go to Latest
function client.auth.signInWithPassword
import { client } from "https://deno.land/x/grm@0.8.0/src/mod.ts";
const { signInWithPassword } = client.auth;

Parameters

client: AbstractTelegramClient
_apiCredentials: ApiCredentials
authParams: UserPasswordAuthParams

Returns

Promise<Api.TypeUser>