You use the SendChannelMessage
API to send messages to a channel. For a channel
associated with a channel flow, the processor assigns one of the following status values.
Message status | Description |
---|---|
|
Message processed successfully. |
|
Ongoing processing. |
|
Processing failed because the processor Lambda function is unreachable. |
|
The message won't be sent. |
Receiving intermediate status events
Websocket events
Websocket events are sent to a channel after they successfully establish a connection. For more information, refer to Using WebSockets to receive messages in Amazon Chime SDK messaging.
Event type | Status | Recipients | Notes |
---|---|---|---|
|
|
All channel members |
|
|
|
All channel members |
|
|
|
Message sender only |
|
|
|
Message sender only |
|
|
|
Message sender only |
|
|
|
Message sender only |
|
|
|
Message sender only |
|
|
|
Message sender only |
|
GetChannelMessageStatus API
This API provides an alternative way to retrieve message status if the event was not received due to a bad websocket connection. For more information, refer to the GetChannelMessageStatus API documentation.
Note
This API does not return statuses for denied messages, because we don't store them.