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
optional
entities: Api.TypeMessageEntity[]optional
fromId: Api.TypePeeroptional
fwdFrom: Api.TypeMessageFwdHeaderoptional
media: Api.TypeMessageMediapeerId: Api.TypePeer
optional
reactions: Api.TypeMessageReactionsoptional
replies: Api.TypeMessageRepliesoptional
replyMarkup: Api.TypeReplyMarkupoptional
replyTo: Api.TypeMessageReplyHeaderoptional
restrictionReason: Api.TypeRestrictionReason[]Static Methods
fromReader(reader: Reader): Message