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

x/mtkruto/3_types.ts>constructChatListItem3

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

Parameters

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

Returns

Promise<ChatListItem | null>