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
- Call the
getExploreTabCount()
function using the instance of theLMChatClient
class. - 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
Variable | Type | Description | Optional |
---|---|---|---|
totalChannelCount | int? | Total number of channels | ✔️ |
unseenChannelCount | int? | Number of unseen channels | ✔️ |