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

x/grm/mod.ts>tl.Draft

MTProto API Client for Deno 🦕
Go to Latest
class tl.Draft
Re-export
import { tl } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { Draft } = tl;

Constructors

new
Draft(
entity: Api.TypeEntity,
draft: Api.TypeDraftMessage | undefined,
)

Properties

private
_client: AbstractTelegramClient
private
readonly
optional
_entity: Api.TypeEntity
private
_inputEntity: Api.TypeInputPeer | undefined
private
readonly
_peer: ReturnType<getPeer>
private
optional
_rawText: string
private
optional
_text: string
private
optional
date: Api.int
private
optional
linkPreview: boolean
private
optional
replyToMsgId: Api.int
readonly
entity
readonly
inputEntity