v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451211217.9 KB

Updates the content of a message.

The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.

put/channels/{channelArn}/messages/{messageId}#x-amz-chime-bearer

Path parameters

channelArnstring required

The ARN of the channel.

messageIdstring required

The ID string of the message being updated.

Headers

x-amz-chime-bearerstring required

The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.

Request body

Contentstring password required

The content of the channel message.

Metadatastring password

The metadata of the message being updated.

SubChannelIdstring
<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when updating messages in a SubChannel that the user belongs to.</p> </note>
ContentTypestring password

The content type of the channel message.

Response

Success

ChannelArnstring

The ARN of the channel.

MessageIdstring

The ID string of the message being updated.

SubChannelIdstring

The ID of the SubChannel in the response.