Viewing Channel LIst

1. Get Public Channels

You can view public channels even if you are a not member.

circle-info

The list is paginated, so to get to the next page, you can pass the last TPChannel from the previous list to get to the next page.

TalkPlus.getPublicChannels(lastChannel, 
    new TalkPlus.TPCallbackListener<List<TPChannel>, Boolean>() {
        @Override
        public void onSuccess(List<TPChannel> tpChannels, Boolean hasNext) {
        }
        @Override
        public void onFailure(int errorCode, Exception exception) {
        }
    }
);

2. Get Joined Channels

View currently joined channels.

circle-info

The list is paginated, so to get to the next page, you can pass the last TPChannel from the previous list to get to the next page.

TalkPlus.getChannels(lastChannel, 
    new TalkPlus.TPCallbackListener<List<TPChannel>, Boolean>() {
        @Override
        public void onSuccess(List<TPChannel> tpChannels, Boolean hasNext) {
        }
        @Override
        public void onFailure(int errorCode, Exception exception) {
        }
    }
);

3. Get Hidden Channels

View currently joined channels that have been marked as hidden.

circle-info

The list is paginated, so to get to the next page, you can pass the last TPChannel from the previous list to get to the next page.

4. Get Total Unread Message Count

Get the total number of unread messages from all joined channels.

5. Mark All Channels As Read

Mark as read all unread messages from joined channels.

6. Search Joined Channels

Search joined channels using various filters.

circle-info
  • You can filter channels by name, category, subcategory, private tag and joined members.

  • TPChannelQueryParams class is available starting from TalkPlus Android SDK v0.5.5.

7. Search Public Channels

Search public channels using various filters.

circle-info
  • You can filter channels by name, category, subcategory, private tag and joined members.

  • TPChannelQueryParams class is available starting from TalkPlus Android SDK v0.5.5.

Last updated