Hide / Show Channel
1. Hide Channel
You can hide a channel so that it does not appear in currently joined channel list.
await TalkPlusAPI.hideChannel(
channelId,
errorCallback: (errorCode, errorMessage){}
);
2. Show Channel
You can unhide a channel so that it appears in currently joined channel list.
await TalkPlusAPI.showChannel(
channelId,
errorCallback: (errorCode, errorMessage){}
);
3. Get Hidden Channel List
await TalkPlusAPI.getHiddenChannels(lastChannel, (tpChannels, hasNext){
if(hasNext) {
TPChannel last = tpChannels.last;
...
}
...
}, errorCallback: (errorCode, errorMessage){
});
Last updated