Hide / Show Channel

1. Hide Channel

You can hide a channel so that it does not appear in currently joined channel list.

TalkPlus.hideChannel(channelId, 
    new TalkPlus.CallbackListener<Void>() {
        @Override
        public void onSuccess(Void aVoid) { 
        }
        @Override
        public void onFailure(int errorCode, Exception exception) {
        }
    }
);

2. Show Channel

You can unhide a channel so that it appears in currently joined channel list.

TalkPlus.showChannel(channelId, 
    new TalkPlus.CallbackListener<Void>() {
        @Override
        public void onSuccess(Void aVoid) {
        }
        @Override
        public void onFailure(int errorCode, Exception exception) {
        }
    }
);

Last updated