/AWS1/CL_CHS=>PUTCHANNELMEMBERSHIPPREFER00()
¶
About PutChannelMembershipPreferences¶
Sets the membership preferences of an AppInstanceUser
or AppInstanceBot
for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the
membership can set preferences. Users or bots in the AppInstanceAdmin
and channel moderator roles can't set
preferences for other users. Banned users or bots can't set membership preferences for the channel from
which they are banned.
The x-amz-chime-bearer request header is mandatory. Use the ARN of an
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_MEMBERARN
TYPE /AWS1/CHSCHIMEARN
/AWS1/CHSCHIMEARN
¶
The ARN of the member setting the preferences.
IV_CHIMEBEARER
TYPE /AWS1/CHSCHIMEARN
/AWS1/CHSCHIMEARN
¶
The ARN of the
AppInstanceUser
orAppInstanceBot
that makes the API call.
IO_PREFERENCES
TYPE REF TO /AWS1/CL_CHSCHANNELMEMBERSHI01
/AWS1/CL_CHSCHANNELMEMBERSHI01
¶
The channel membership preferences of an
AppInstanceUser
.
RETURNING¶
OO_OUTPUT
TYPE REF TO /AWS1/CL_CHSPUTCHANNELMEMBER01
/AWS1/CL_CHSPUTCHANNELMEMBER01
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC