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

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

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

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