Conversations plugin
Conversations plugin events
Conversations.ready
Published when the Conversations plugin is initialized.
Data: Not applicable.
Copied
Genesys("subscribe", "Conversations.ready", function(){});
Conversations.opened
Published when Messenger successfully opens the conversations UI.
Data: Not applicable.
Copied
Genesys("subscribe", "Conversations.opened", function(){});
Conversations.started
Published when the messaging session is started with the server.
Data: Not applicable.
Copied
Genesys("subscribe", "Conversations.started", function(){});
Conversations.closed
Published when the the conversations UI is closed from inside Messenger.
Data: Metadata
Copied
Genesys("subscribe", "Conversations.closed", function(){});
Conversations.error
Published when an error occurs between the client and the server.
Data:
Property | Description |
error | Error message |
Copied
Genesys("subscribe", "Conversations.error", function(){
console.log("Error:", o.data.error);
});