import { type _MessageBase } from "https://deno.land/x/mtkruto@0.6.3/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 in time in which the message was sent.
chat: ChatP
The chat where the message was sent to.
optional
forwardFrom: ForwardHeaderInformation on the original message.
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 in time in which the message's last edit was made.
optional
replyMarkup: ReplyMarkupThe message's reply markup.
The identifier of a business conection that the message was sent in.
optional
viaBusinessBot: UserThe identifier of the business connection in which the message was sent.