OptionalargsPositional arguments after the command (set during dispatch).
OptionalargRaw argument string after the command (set during dispatch).
OptionalcommandCommand word matched by CommandRouter (set during dispatch).
OptionalflagsParsed flags/options (set during dispatch).
ReadonlyisWhether the bot itself sent this message.
ReadonlyisTrue when the message came from a group chat.
OptionalmatchedThe matched command definition (set during dispatch).
ReadonlymentionedJIDs @-mentioned in the message (empty when none).
OptionalprefixPrefix that triggered the command (set during dispatch).
ReadonlypushSender's WhatsApp display name, when provided.
ReadonlyquotedThe quoted message content (contextInfo.quotedMessage), if any.
ReadonlyremoteReadonlysenderIndividual sender (group participant, else the chat JID).
ReadonlytextText content, including image/video/document captions.
Reply quoting the original message. Throws when remoteJid is missing.
Optionaloptions: Record<string, unknown>
Wraps a WAMessage with reply/react/session/media helpers for command handlers.