

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# Amazon Chime SDK 메시징에서 푸시 알림 수신
<a name="receive-notifications"></a>

Amazon Chime SDK는 채널 메시지 푸시 알림 제목 및 본문과 함께 채널 메시지 ID 및 채널 ARN도 데이터 페이로드에 포함합니다. 이 정보를 사용하여 전체 채널 메시지를 로드할 수 있습니다.

다음 예시는 일반적인 푸시 알림 페이로드를 보여줍니다.

```
{
    "pinpoint.openApp=true",
    "pinpoint.notification.title=PushNotificationTitle",
    "pinpoint.notification.body=PushNotificationBody",
    "pinpoint.campaign.campaign_id=_DIRECT",
    "pinpoint.notification.silentPush=0",
    "pinpoint.jsonBody="{
        "chime.message_id":"ChannelMessageId",
        "chime.channel_arn":"ChannelARN"
    }
}
```

## 푸시 알림 수신 비활성화 또는 필터링
<a name="disable-filter-receipt"></a>

Amazon Chime SDK는 앱 인스턴스 사용자가 푸시 알림 수신 여부를 제어할 수 있는 다양한 옵션을 제공합니다.

**모든 푸시 알림 비활성화**  
 앱 인스턴스 사용자는 [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_identity-chime_UpdateAppInstanceUserEndpoint.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_identity-chime_UpdateAppInstanceUserEndpoint.html)를 직접 호출하고 `AllowMessages` 속성을 `NONE`으로 설정하여 푸시 알림을 완전히 비활성화할 수 있습니다.

**채널에 대한 푸시 알림 비활성화**  
앱 인스턴스 사용자는 **푸시 알림 기본 설정** 필드에서 [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_PutChannelMembershipPreferences.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_PutChannelMembershipPreferences.html)를 `NONE`으로 설정하여 특정 채널에 대한 푸시 알림을 사용하지 않도록 설정할 수 있습니다.

**채널에 대한 푸시 알림 필터링**  
앱 인스턴스 사용자는 [https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_PutChannelMembershipPreferences.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_PutChannelMembershipPreferences.html) API를 사용하여 특정 푸시 알림만 수신하도록 필터 규칙을 설정할 수 있습니다. 자세한 정보는 [필터 규칙을 사용하여 Amazon Chime SDK 메시징에 대한 메시지 필터링](filter-msgs.md) 섹션을 참조하세요.