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

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

MTProto API Client for Deno 🦕
Go to Latest
method TelegramClient.prototype.getPeerId
import { TelegramClient } from "https://deno.land/x/grm@0.6.0/src/mod.ts";

Parameters

peer: Api.TypeEntityLike
optional
addMark = [UNSUPPORTED]

Returns

Promise<string>