class types.Message
extends _TypeMessage
import { types } from "https://deno.land/x/mtkruto@0.0.998/2_tl.ts";
const { Message } = types;
Constructors
new
Message(params: { out?: true; mentioned?: true; mediaUnread?: true; silent?: true; post?: true; fromScheduled?: true; legacy?: true; editHide?: true; pinned?: true; noforwards?: true; id: number; fromId?: TypePeer; peerId: TypePeer; fwdFrom?: TypeMessageFwdHeader; viaBotId?: bigint; replyTo?: TypeMessageReplyHeader; date: number; message: string; media?: TypeMessageMedia; replyMarkup?: TypeReplyMarkup; entities?: Array<TypeMessageEntity>; views?: number; forwards?: number; replies?: TypeMessageReplies; editDate?: number; postAuthor?: string; groupedId?: bigint; reactions?: TypeMessageReactions; restrictionReason?: Array<TypeRestrictionReason>; ttlPeriod?: number; })Properties
protected
readonly
[params]: Paramsoptional
entities: Array<TypeMessageEntity>optional
fromId: TypePeeroptional
fwdFrom: TypeMessageFwdHeaderoptional
media: TypeMessageMediapeerId: TypePeer
optional
reactions: TypeMessageReactionsoptional
replies: TypeMessageRepliesoptional
replyMarkup: TypeReplyMarkupoptional
replyTo: TypeMessageReplyHeaderoptional
restrictionReason: Array<TypeRestrictionReason>Static Properties
readonly
[paramDesc]: ParamDesc