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

x/mtkruto/3_types.ts>constructChat3

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

Parameters

chatId: number
pinned: number
lastMessage: Omit<Message, "replyToMessage"> | undefined
getEntity: EntityGetter

Returns

Promise<Chat | null>