Im actually developing a custom ERP for my business company and i need implement xmpp web based chat applicatión using Converse.js.
But i can't find any solution to manage events callback's with the api.
According to the documentation, the following syntax should be used:
_converse.api.listen.on('message', function (messageXML) { ... });
OR
converse.api.listen.on('message', function (messageXML) { ... });
But "converse.api" it's undefinied
Converse.js version 6.0.1
I hope your valuable help.
Sorry for my bad english