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

x/mtkruto/types/5_chat.ts>constructChat2

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

Parameters

entity:
| types.User
| types.Chat
| types.ChatForbidden
| types.Channel
| types.ChannelForbidden
pinned: number
lastMessage: Omit<Message, "replyToMessage"> | undefined