Baileys
Baileys copied to clipboard
Return Chat labels on `messaging-history.set`
Before adding this issue, make sure you do the following to make sure this is not a duplicate:
- Search through the repo's previous issues
- Read through the readme at least once
- Search the docs for the feature you're looking for
Just describe the feature
Currently messaging-history.set
only return labels for messages
, but it should be possible to also return them for chats
For chats you should use labels.association event
conn.ev.on("labels.association", async event => {
// handle here
});