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

x/mtkruto/mod.ts>constructChatListItem

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

Parameters

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

Returns

Promise<ChatListItem | null>