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

x/mtkruto/tl/2_types.ts>Dialog

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Dialog
extends TypeDialog
import { Dialog } from "https://deno.land/x/mtkruto@0.0.820/tl/2_types.ts";

Constructors

new
Dialog(params: { pinned?: true; unreadMark?: true; peer: TypePeer; topMessage: number; readInboxMaxId: number; readOutboxMaxId: number; unreadCount: number; unreadMentionsCount: number; unreadReactionsCount: number; notifySettings: TypePeerNotifySettings; pts?: number; draft?: TypeDraftMessage; folderId?: number; ttlPeriod?: number; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
draft: TypeDraftMessage
optional
folderId: number
notifySettings: TypePeerNotifySettings
peer: TypePeer
optional
pinned: true
optional
pts: number
readInboxMaxId: number
readOutboxMaxId: number
topMessage: number
optional
ttlPeriod: number
unreadCount: number
optional
unreadMark: true
unreadMentionsCount: number
unreadReactionsCount: number

Static Properties

readonly
[paramDesc]: ParamDesc