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

x/grm/mod.ts>tgClient.AbstractTelegramClient#getEntity

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

Parameters

entity: Api.TypeEntityLike

Returns

Promise<Api.TypeEntity>

Parameters

entity: Api.TypeEntityLike[]

Returns

Promise<Api.TypeEntity[]>

Parameters

entity: any

Returns

Promise<Api.TypeEntity>