Chime / Client / delete_channel_message
Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by
x-amz-chime-bearerrequest header is mandatory. Use the
AppInstanceUserArnof the user that makes the API call as the value in the header.
This API is is no longer supported and will not be updated. We recommend using the latest version, DeleteChannelMessage, in the Amazon Chime SDK.
Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.
This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.
See also: AWS API Documentation
response = client.delete_channel_message( ChannelArn='string', MessageId='string', ChimeBearer='string' )
ChannelArn (string) –
The ARN of the channel.
MessageId (string) –
The ID of the message being deleted.
ChimeBearer (string) – The
AppInstanceUserArnof the user that makes the API call.