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

x/grm/src/mod.ts>client.getInputEntity

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

Parameters

client: AbstractTelegramClient
peer: Api.TypeEntityLike

Returns

Promise<Api.TypeInputPeer>