/AWS1/CL_CHS=>CREATECHANNELMODERATOR()
¶
About CreateChannelModerator¶
Creates a new ChannelModerator
. A channel moderator can:
-
Add and remove other members of the channel.
-
Add and remove other moderators of the channel.
-
Add and remove user bans for the channel.
-
Redact messages in the channel.
-
List messages in the channel.
The x-amz-chime-bearer
request header is mandatory. Use the
ARN of the AppInstanceUser
or AppInstanceBot
of the user 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_CHANNELMODERATORARN
TYPE /AWS1/CHSCHIMEARN
/AWS1/CHSCHIMEARN
¶
The
AppInstanceUserArn
of the moderator.
IV_CHIMEBEARER
TYPE /AWS1/CHSCHIMEARN
/AWS1/CHSCHIMEARN
¶
The ARN of the
AppInstanceUser
orAppInstanceBot
that makes the API call.
RETURNING¶
OO_OUTPUT
TYPE REF TO /AWS1/CL_CHSCRECHANNELMDERAT01
/AWS1/CL_CHSCRECHANNELMDERAT01
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC