launchModule( ) and toggleModule( )

launchModule API is used to open modules.
toggleModule API is used to toggle minimize/maximize modules in standard theme.

API:

jqcc.cometchat.launchModule('ModuleName');
jqcc.cometchat.toggleModule('ModuleName');

Sample:

jqcc.cometchat.launchModule('chatrooms');
jqcc.cometchat.toggleModule('chatrooms');

Not finding what you need?

The CometChat team is here to help!