Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Parameters

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

Returns

Promise<Chat>