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

x/grm/mod.ts>tl.Api.Message

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.Message
extends VirtualClass<{ out?: boolean; mentioned?: boolean; mediaUnread?: boolean; silent?: boolean; post?: boolean; fromScheduled?: boolean; legacy?: boolean; editHide?: boolean; pinned?: boolean; noforwards?: boolean; id: int; fromId?: Api.TypePeer; peerId: Api.TypePeer; fwdFrom?: Api.TypeMessageFwdHeader; viaBotId?: long; replyTo?: Api.TypeMessageReplyHeader; date: int; message: string; media?: Api.TypeMessageMedia; replyMarkup?: Api.TypeReplyMarkup; entities?: Api.TypeMessageEntity[]; views?: int; forwards?: int; replies?: Api.TypeMessageReplies; editDate?: int; postAuthor?: string; groupedId?: long; reactions?: Api.TypeMessageReactions; restrictionReason?: Api.TypeRestrictionReason[]; ttlPeriod?: int; }>
import { tl } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { Message } = tl.Api;

Properties

className: "Message"
classType: "constructor"
CONSTRUCTOR_ID: 940666592
date: int
optional
editDate: int
optional
editHide: boolean
optional
entities: Api.TypeMessageEntity[]
optional
forwards: int
optional
fromId: Api.TypePeer
optional
fromScheduled: boolean
optional
fwdFrom: Api.TypeMessageFwdHeader
optional
groupedId: long
id: int
optional
legacy: boolean
optional
media: Api.TypeMessageMedia
optional
mediaUnread: boolean
optional
mentioned: boolean
message: string
optional
noforwards: boolean
optional
out: boolean
peerId: Api.TypePeer
optional
pinned: boolean
optional
post: boolean
optional
postAuthor: string
optional
reactions: Api.TypeMessageReactions
optional
replies: Api.TypeMessageReplies
optional
replyMarkup: Api.TypeReplyMarkup
optional
restrictionReason: Api.TypeRestrictionReason[]
optional
silent: boolean
SUBCLASS_OF_ID: 2030045667
optional
ttlPeriod: int
optional
viaBotId: long
optional
views: int