Use this method if you'd like your users to be unable to see the compose message button. Showing the compose message window manually will also no longer have any effect.
Chats.enabled = false
IBGChats.enabled = NO;
Chats.setState(Feature.State.DISABLED);
Chats.setEnabled(false);
cordova.plugins.chats.setEnabled(boolean, successCb, errorCb)
IBGChats.Enabled = true;