Skip to main content
Go to Latest
method client.tgClient.AbstractTelegramClient.prototype.getEntity
import { client } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { AbstractTelegramClient } = client.tgClient;

Returns

Promise<Api.TypeEntity>

Returns

Promise<Api.TypeEntity[]>

Parameters

entity: any

Returns

Promise<Api.TypeEntity>