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

x/mtkruto/3_types.ts>constructChatListItem2

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

Parameters

entity:
| Api.user
| Api.chat
| Api.chatForbidden
| Api.channel
| Api.channelForbidden
pinned: number
lastMessage: Omit<Message, "replyToMessage"> | undefined

Returns

ChatListItem