> For the complete documentation index, see [llms.txt](https://platform-business.gitbook.io/klat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform-business.gitbook.io/klat/flutter/channel/hide-show.md). Agents can also search and read this documentation through its [MCP server](https://platform-business.gitbook.io/klat/~gitbook/mcp).

# 채널 숨기기 / 보이기

## 1. 채널 숨기기

현재 참여 중인 채널 목록에 안 나오도록 채널을 숨길 수 있습니다.

```dart
await TalkPlusAPI.hideChannel(
    channelId,
    errorCallback: (errorCode, errorMessage){}
);
```

## 2. 채널 보이기

현재 참여 중인 채널 목록에 다시 나오도록 채널을 숨김 해제를 할 수 있습니다.

```dart
await TalkPlusAPI.showChannel(
    channelId,
    errorCallback: (errorCode, errorMessage){}
);
```

## 3. 숨긴 채널 목록 조회

사용자가 hideChannel을 호출하여 숨긴 채널을 조회할 수 있습니다.

```dart
await TalkPlusAPI.getHiddenChannels(lastChannel, (tpChannels, hasNext){
  if(hasNext) {
    TPChannel last = tpChannels.last;
    ...
  }
    ...
}, errorCallback: (errorCode, errorMessage){

});
```
