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

x/mtkruto/mod.ts>constructChat

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

Parameters

chat: types.User

Returns

Chat.Private

Parameters

chat: types.Chat

Returns

Chat.Group

Parameters

chat: types.Channel

Returns

Chat.Supergroup | Chat.Channel