Skip to main content

Get Explore Tab Count

This function gives indication for many chatrooms are available and any new chatroom is created. The getExploreTabCount() gives the count of channels available in the explore tab.

Steps to Get Explore Tab Count

  1. Call the getExploreTabCount() function using the instance of the LMChatClient class.
  2. Process the response LMResponse<GetExploreTabCountResponse> as per your requirement.
LMResponse<GetExploreTabCountResponse> response = await lmChatClient.getExploreTabCount();

if (response.success) {
// your function to process the response data
processResponse(response);
} else {
// your function to process error message
processError(response);
}

Models

GetExploreTabCountResponse

List of parameters for the GetExploreTabCountResponse class

VariableTypeDescriptionOptional
totalChannelCountint?Total number of channels✔️
unseenChannelCountint?Number of unseen channels✔️