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

x/grm/tl/api.d.ts>Api.Message

MTProto API Client for Deno 🦕
Latest
class 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 { Api } from "https://deno.land/x/grm@0.8.2/tl/api.d.ts";
const { Message } = 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