Chime / Client / update_channel_message
update_channel_message#
- Chime.Client.update_channel_message(**kwargs)#
- Updates the content of a message. - Note- The - x-amz-chime-bearerrequest header is mandatory. Use the- AppInstanceUserArnof the user that makes the API call as the value in the header.- See also: AWS API Documentation - Request Syntax- response = client.update_channel_message( ChannelArn='string', MessageId='string', Content='string', Metadata='string', ChimeBearer='string' ) - Parameters:
- ChannelArn (string) – - [REQUIRED] - The ARN of the channel. 
- MessageId (string) – - [REQUIRED] - The ID string of the message being updated. 
- Content (string) – The content of the message being updated. 
- Metadata (string) – The metadata of the message being updated. 
- ChimeBearer (string) – The - AppInstanceUserArnof the user that makes the API call.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ChannelArn': 'string', 'MessageId': 'string' } - Response Structure- (dict) – - ChannelArn (string) – - The ARN of the channel. 
- MessageId (string) – - The ID string of the message being updated. 
 
 
 - Exceptions- Chime.Client.exceptions.BadRequestException
- Chime.Client.exceptions.ConflictException
- Chime.Client.exceptions.ForbiddenException
- Chime.Client.exceptions.UnauthorizedClientException
- Chime.Client.exceptions.ThrottledClientException
- Chime.Client.exceptions.ServiceUnavailableException
- Chime.Client.exceptions.ServiceFailureException