redactRoomMessage method
Redacts the specified message from the specified Amazon Chime channel.
May throw BadRequestException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter accountId :
The Amazon Chime account ID.
Parameter messageId :
The message ID.
Parameter roomId :
The room ID.
Implementation
Future<void> redactRoomMessage({
required String accountId,
required String messageId,
required String roomId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/accounts/${Uri.encodeComponent(accountId)}/rooms/${Uri.encodeComponent(roomId)}/messages/${Uri.encodeComponent(messageId)}?operation=redact',
exceptionFnMap: _exceptionFns,
);
}