Skip to content
New issue

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

Index.d.ts missing participant in MessageId #3446

Open
2 tasks done
loic-hamdi opened this issue Jan 26, 2025 · 4 comments
Open
2 tasks done

Index.d.ts missing participant in MessageId #3446

loic-hamdi opened this issue Jan 26, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@loic-hamdi
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Is this a problem caused by your code, or is it specifically because of the library?

  • I have double-checked my code carefully.

Describe the bug.

https://github.com/pedroslopez/whatsapp-web.js/blob/main/index.d.ts seems to be missing participant in MessageId

Expected Behavior

Find participant in MessageId

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

@loic-hamdi loic-hamdi added the bug Something isn't working label Jan 26, 2025
@EllaxElla118
Copy link

Are u looking for the Sender's id?? That's message.from

@loic-hamdi
Copy link
Author

Are u looking for the Sender's id?? That's message.from

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

@EllaxElla118
Copy link

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]

@loic-hamdi
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants