Knowledge plugin
The Knowledge plugin displays and hides the predefined Knowledge screen within Messenger's Home screen.
Knowledge plugin events
Knowledge.ready
Published when the Knowledge plugin finished initialization.
Copied
Genesys("subscribe", "Knowledge.ready");
Knowledge.error
Published when the Knowledge Search results fails to appear, it publishes an error event along with the data.
Copied
Genesys("subscribe", "Knowledge.error",
(data)=>
{
console.log(data); // type: "error", errorCode: "constraint.validation", errorMessage: "not allowed to be empty"
}
);