> 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/push-notification.md). Agents can also search and read this documentation through its [MCP server](https://platform-business.gitbook.io/klat/~gitbook/mcp).

# 채널 푸시알림 설정

## 채널별 사용자 푸시알림 활성화

채널 푸시알림을 (FCM 푸시알림) 사용자 별로 활성화 및 비활성화 처리 할 수 있습니다.

<pre class="language-dart"><code class="lang-dart">// 활성화
<strong>TPChannel? channel = await TalkPlusAPI.enableChannelPushNotification(
</strong><strong>    tpChannel,
</strong>    errorCallback: (errorCode, errorMessage){}
<strong>);
</strong>
// 비활성화
TPChannel? tpChannel = await TalkPlusAPI.disableChannelPushNotification(
    tpChannel,
    errorCallback: (errorCode, errorMessage){}
);
</code></pre>

## 채널별 사용자 푸시알림 설정 (사운드)

채널 푸시알림 (FCM 푸시알림) 사운드를 사용자 별로 변경할 수 있습니다.

```dart
// 채널별 사운드설정 변경
TPChannel? tpChannel = await TalkPlusAPI.setChannelPushSound(
    tpChannel, 
    sound,
    errorCallback: (errorCode, errorMessage){}
);
```
