Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method TelegramClient.prototype.sendCode
import { TelegramClient } from "https://deno.land/x/grm@0.5.2/src/client/telegram_client.ts";

Parameters

apiCredentials: types.ApiCredentials
phoneNumber: string
optional
forceSMS = [UNSUPPORTED]

Returns

Promise<{ phoneCodeHash: string; isCodeViaApp: boolean; }>