Skip to main content
Go to Latest
method client.tgClient.AbstractTelegramClient.prototype.signInWithPassword
import { client } from "https://deno.land/x/grm@0.8.0/mod.ts";
const { AbstractTelegramClient } = client.tgClient;

Parameters

apiCredentials: types.ApiCredentials
authParams: types.UserPasswordAuthParams

Returns

Promise<Api.TypeUser>