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

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

MTProto API Client for Deno 🦕
Go to Latest
class Dialog
import { Dialog } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";

Constructors

new
Dialog(
client: AbstractTelegramClient,
dialog: Api.Dialog,
entities: Map<string, Api.TypeEntity>,
message?: Api.Message,
)

Properties

_client: AbstractTelegramClient
archived: boolean
date: number
dialog: Api.Dialog
draft: Draft
optional
entity: Api.TypeEntity
optional
folderId: number
optional
id: bigInt.BigInteger
inputEntity: Api.TypeInputPeer
isChannel: boolean
isGroup: boolean
isUser: boolean
optional
message: Api.Message
optional
name: string
pinned: boolean
optional
title: string
unreadCount: number
unreadMentionsCount: number