Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method client.tgClient.AbstractTelegramClient.prototype.getPeerId
import { client } from "https://deno.land/x/grm@0.6.0/src/mod.ts";
const { AbstractTelegramClient } = client.tgClient;

Parameters

peer: Api.TypeEntityLike
optional
addMark: boolean

Returns

Promise<string>