Hide / Show Channel

1. Hide Channel

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

[[TalkPlus sharedInstance] hideChannel:channelId success:^{
    // SUCCESS
} failure:^(int errorCode, NSError *error) {
    // FAILURE
}];

2. Show Channel

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

[[TalkPlus sharedInstance] showChannel:channelId success:^{
    // SUCCESS
} failure:^(int errorCode, NSError *error) {
    // FAILURE
}];

3. Get Hidden Channel List

[[TalkPlus sharedInstance] getHiddenChannels:lastChannel 
    success:^(NSArray<TPChannel *> *tpChannels, BOOL hasNext) {
    // SUCCESS
} failure:^(int errorCode, NSError *error) {
    // FAILURE
}];

Last updated