import { types } from "https://deno.land/x/mtkruto@0.1.117/mod.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; invertMedia?: 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; })