Regards.
I am using the client a) class the message ack event to know the change in a message.
and I can't find the message id this is the code
client.on('message_ack', (message, ack) => {
console.log('Mensaje ' + message.id);
console.log('Estado ' + ack);
});
When you run
Mensaje [object Object]
Estado 2
How can I get this id?
Thank you?
Chat and message IDs are indeed objects. If you want to get the serialized string ID, you can use message.id._serialized
Thank you.
Congratulations on your work
Most helpful comment
Thank you.
Congratulations on your work