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

x/grm/src/tl/mod.ts>Api.Dialog

MTProto API Client for Deno 🦕
Go to Latest
class Api.Dialog
extends VirtualClass<{ pinned?: boolean; unreadMark?: boolean; peer: Api.TypePeer; topMessage: int; readInboxMaxId: int; readOutboxMaxId: int; unreadCount: int; unreadMentionsCount: int; unreadReactionsCount: int; notifySettings: Api.TypePeerNotifySettings; pts?: int; draft?: Api.TypeDraftMessage; folderId?: int; }>
import { Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { Dialog } = Api;

Properties

className: "Dialog"
classType: "constructor"
CONSTRUCTOR_ID: 2834157813
optional
draft: Api.TypeDraftMessage
optional
folderId: int
notifySettings: Api.TypePeerNotifySettings
peer: Api.TypePeer
optional
pinned: boolean
optional
pts: int
readInboxMaxId: int
readOutboxMaxId: int
SUBCLASS_OF_ID: 1120787796
topMessage: int
unreadCount: int
optional
unreadMark: boolean
unreadMentionsCount: int
unreadReactionsCount: int

Static Methods

fromReader(reader: Reader): Dialog