Skip to content

/AWS1/CL_CHS=>REDACTCHANNELMESSAGE()

About RedactChannelMessage

Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.

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.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELARN TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the channel containing the messages that you want to redact.

IV_MESSAGEID TYPE /AWS1/CHSMESSAGEID /AWS1/CHSMESSAGEID

The ID of the message being redacted.

IV_CHIMEBEARER TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

Optional arguments:

IV_SUBCHANNELID TYPE /AWS1/CHSSUBCHANNELID /AWS1/CHSSUBCHANNELID

The ID of the SubChannel in the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHSREDACTCHANNELMSG01 /AWS1/CL_CHSREDACTCHANNELMSG01