

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

# Amazon Chime SDK 메시징용 AppInstanceBot에 메시지 보내기
<a name="message-appinstancebot"></a>

[https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_SendChannelMessage.html](https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_messaging-chime_SendChannelMessage.html) API를 사용하여 AppInstanceBot에 메시지를 보낼 수 있습니다. AppInstanceBot이 속한 채널에 메시지를 보냅니다. [자연어 이해 모델](https://docs.aws.amazon.com/lexv2/latest/dg/what-is.html)이 메시지 콘텐츠를 인식하고 Amazon Lex 인텐트를 도출하면 AppInstanceBot이 채널 메시지로 응답하고 대화를 시작합니다.

또한 채널의 멤버(AppInstanceUser 또는 AppInstanceBot)에게 대상 메시지를 보낼 수도 있습니다. 대상과 발신자만 대상 메시지를 볼 수 있습니다. 대상 메시지를 볼 수 있는 사용자만 해당 메시지에 대한 작업을 수행할 수 있습니다. 그러나 관리자는 대상이 볼 수 없는 대상 메시지를 삭제할 수 있습니다.

다음 예제에서는 AWS CLI를 사용하여 채널 메시지를 전송하는 방법을 보여줍니다.

```
aws chime-sdk-messaging send-channel-message \
--chime-bearer caller_app_instance_user_arn \
--channel-arn channel_arn \
--content content \
--type STANDARD \
--persistence PERSISTENT
```