import { type _MessageBase } from "https://deno.land/x/mtkruto@0.1.141/types/4_message.ts";
Properties shared between all message types.
Properties
optional
from: UserThe user who sent the message.
optional
senderChat: ChatPThe chat which the message was sent on behalf of.
date: Date
The point of time in which the message was sent.
chat: ChatP
The chat where the message was sent to.
optional
forwardFrom: UserThe original sender of the message.
optional
forwardFromChat: ChatPThe original chat of the message.
optional
forwardDate: DateThe point of time in which the original message was sent.
optional
replyToMessage: MessageThe message that is being replied to. Not always available even if a message is being replied to.
optional
reactions: MessageReaction[]The reactions of the message.
optional
replyQuote: ReplyQuoteThe part of the message that is being replied to.
optional
viaBot: UserThe inline bot that was used to send this message.
optional
editDate: DateThe point of time in which the message's last edit was made.
optional
replyMarkup: ReplyMarkupThe message's reply markup.