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

x/mtkruto/3_types.ts>constructChatListItem

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

Parameters

chatId: number
pinned: number
lastMessageId: number
getEntity: EntityGetter
getMessage: MessageGetter

Returns

Promise<ChatListItem | null>