-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
(await messsge.getQuotedMessage()).mentionedIds is returning an object and docs states that it should be returning a string[].
Also, mentionedIds in regular incomming msgs are returning string[].
The returned object has the following structure:
{
server: 'c.us',
user: '0000000000000',
_serialized: '0000000000000@c.us'
}
I guess the best place to fix would be in Message._patch, but unsure about that. Suggestions are welcome to create PR.
Expected behavior
(await messsge.getQuotedMessage()).mentionedIds should return a string[]
Steps to Reproduce the Bug or Issue
- try to read
(await messsge.getQuotedMessage()).mentionedIdsas astring[]
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Ubuntu 22.04.4 LTS
Phone OS: Android
whatsapp-web.js version: webpack-exodus
WhatsApp Web version 2.3000.1013216022
Node.js Version: v18.20.1
Additional context
No response
Reactions are currently unavailable