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

x/mtkruto/mod.ts>Client#[getEntity]

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
method Client.prototype.[getEntity]
import { Client } from "https://deno.land/x/mtkruto@0.1.118/mod.ts";

Parameters

peer: types.PeerUser

Returns

Promise<types.User | null>

Parameters

peer: types.PeerChat

Returns

Promise<types.Chat | null>

Parameters

peer: types.PeerChannel

Returns

Promise<types.Channel | null>