launchModule API is used to open modules.
toggleModule API is used to toggle minimize/maximize modules in standard theme.
jqcc.cometchat.launchModule('ModuleName');
jqcc.cometchat.toggleModule('ModuleName');
jqcc.cometchat.launchModule('chatrooms');
jqcc.cometchat.toggleModule('chatrooms');
Not finding what you need?
The CometChat team is here to help!