mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-16 02:53:18 +08:00
feat: add private chat batch input commands
This commit is contained in:
parent
f6cc1cae30
commit
068cf57259
28 changed files with 2665 additions and 219 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue