Skip to content

/AWS1/CL_CHS=>GETCHANNELMESSAGE()

About GetChannelMessage

Gets the full details of a channel 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 of the message.

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.

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHSGETCHANNELMSGRSP /AWS1/CL_CHSGETCHANNELMSGRSP