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

x/mtkruto/3_types.ts>constructChatP

Cross-runtime JavaScript library for building Telegram clients
Latest
function constructChatP
Re-export
import { constructChatP } from "https://deno.land/x/mtkruto@0.6.3/3_types.ts";

Parameters

chat: Api.user

Returns

ChatPPrivate

Parameters

chat: Api.chat | Api.chatForbidden

Returns

ChatPGroup

Parameters

chat: Api.channel | Api.channelForbidden

Returns

ChatPSupergroup | ChatPChannel

Parameters

chat:
| Api.user
| Api.chat
| Api.chatForbidden
| Api.channel
| Api.channelForbidden

Returns

ChatP