We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/pedroslopez/whatsapp-web.js/blob/main/index.d.ts seems to be missing participant in MessageId
participant
MessageId
Find participant in MessageId
Look at Message structure in client.on("message", async (message: Message) => {})
client.on("message", async (message: Message) => {})
Standard
Any
Last
Node 22
LocalAuth
No response
The text was updated successfully, but these errors were encountered:
Are u looking for the Sender's id?? That's message.from
message.from
Sorry, something went wrong.
Not particularly. It seems that the current index.d.ts file is missing a lot of the current information contained in a Message in WhatsApp
index.d.ts
Message
Oh, thats that you meant, can you run
npm list whatsapp-web.js on your project directory. You should have [email protected]
npm list whatsapp-web.js
If not, run npm i [email protected]
npm i [email protected]
Oh, thats that you meant, can you run npm list whatsapp-web.js on your project directory. You should have [email protected] If not, run npm i [email protected]
Thank you. It still miss participant in MessageId Not a big deal but may be included in a future update
No branches or pull requests
Is there an existing issue for this?
Is this a problem caused by your code, or is it specifically because of the library?
Describe the bug.
https://github.com/pedroslopez/whatsapp-web.js/blob/main/index.d.ts seems to be missing
participant
inMessageId
Expected Behavior
Find
participant
inMessageId
Steps to Reproduce the Bug or Issue
Look at Message structure in
client.on("message", async (message: Message) => {})
WhatsApp Account Type
Standard
Browser Type
Any
Operation System Type
Any
Phone OS Type
Any
WhatsApp-Web.js Version
Last
WhatsApp Web Version
Last
Node.js Version
Node 22
Authentication Strategy
LocalAuth
Additional Context
No response
The text was updated successfully, but these errors were encountered: