Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grm/mod.ts>client.TelegramClient#getPeerId

MTProto API Client for Deno 🦕
Popular
Latest
method client.TelegramClient.prototype.getPeerId
import { client } from "https://deno.land/x/grm@0.8.2/mod.ts";
const { TelegramClient } = client;

Parameters

peer: Api.TypeEntityLike
optional
addMark = [UNSUPPORTED]

Returns

Promise<string>