feat: add private chat batch input commands

This commit is contained in:
xmanrui 2026-08-25 02:39:31 +08:00
parent f6cc1cae30
commit 068cf57259
28 changed files with 2665 additions and 219 deletions

View file

@ -239,6 +239,8 @@ export function normalizeWhatsappMessage(message, accountJid, {
kind: group ? 'group' : 'direct',
conversationId: remoteJid,
content: messageText(content),
plainText: typeof content?.conversation === 'string'
|| typeof content?.extendedTextMessage?.text === 'string',
images: image ? [image] : [],
files: file ? [file] : [],
addressed: !group || fromMe || mentioned || replyToSelf,