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

x/mtkruto/types/5_chat.ts>constructChat

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
function constructChat
import { constructChat } from "https://deno.land/x/mtkruto@0.1.141/types/5_chat.ts";

Parameters

dialog: enums.Dialog
dialogs: types.messages.Dialogs | types.messages.DialogsSlice
pinnedChats: number[]
getEntity: EntityGetter
getMessage: MessageGetter
getStickerSetName: StickerSetNameGetter

Returns

Promise<Chat>