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

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

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

Parameters

entity: Api.TypeEntityLike

Returns

Promise<Api.TypeEntity>

Parameters

entity: Api.TypeEntityLike[]

Returns

Promise<Api.TypeEntity[]>