Skip to content

/AWS1/CL_CHS=>UPDATECHANNELMESSAGE()

About UpdateChannelMessage

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.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELARN TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the channel.

IV_MESSAGEID TYPE /AWS1/CHSMESSAGEID /AWS1/CHSMESSAGEID

The ID string of the message being updated.

IV_CONTENT TYPE /AWS1/CHSNONEMPTYCONTENT /AWS1/CHSNONEMPTYCONTENT

The content of the channel message.

IV_CHIMEBEARER TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

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

Optional arguments:

IV_METADATA TYPE /AWS1/CHSMETADATA /AWS1/CHSMETADATA

The metadata of the message being updated.

IV_SUBCHANNELID TYPE /AWS1/CHSSUBCHANNELID /AWS1/CHSSUBCHANNELID

The ID of the SubChannel in the request.

Only required when updating messages in a SubChannel that the user belongs to.

IV_CONTENTTYPE TYPE /AWS1/CHSCONTENTTYPE /AWS1/CHSCONTENTTYPE

The content type of the channel message.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHSUPDCHANNELMSGRSP /AWS1/CL_CHSUPDCHANNELMSGRSP