Whatsapp-web.js: How to capture my messages?

Created on 2 Jul 2019  路  5Comments  路  Source: pedroslopez/whatsapp-web.js

I would like to know if there is any way to capture my own messages (sent by me)
Thank you.

enhancement

Most helpful comment

There's now a new message_create event that is fired on all messages, including your own.

All 5 comments

Currently we are ignoring messages created by the current user when we send the message event. We could add another event that gets fired on _all_ message creations, however.

I'll add that event soon.

Cool, it would be very useful.

Let's leave this open for now until it's implemented so I don't forget :)

There's now a new message_create event that is fired on all messages, including your own.

I love you bro

Was this page helpful?
0 / 5 - 0 ratings

Related issues

riagie picture riagie  路  6Comments

iamshouvikmitra picture iamshouvikmitra  路  4Comments

fdciabdul picture fdciabdul  路  6Comments

gabriel-tandil picture gabriel-tandil  路  5Comments

ocracy picture ocracy  路  5Comments