Skip to content

/AWS1/CL_CHS=>BATCHCREATECHANNELMEMBERSHIP()

About BatchCreateChannelMembership

Adds a specified number of users and bots to a channel.

Method Signature

IMPORTING

Required arguments:

IV_CHANNELARN TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the channel to which you're adding users or bots.

IT_MEMBERARNS TYPE /AWS1/CL_CHSMEMBERARNS_W=>TT_MEMBERARNS TT_MEMBERARNS

The ARNs of the members you want to add to the channel. Only AppInstanceUsers and AppInstanceBots can be added as a channel member.

IV_CHIMEBEARER TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

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

Optional arguments:

IV_TYPE TYPE /AWS1/CHSCHANNELMEMBERSHIPTYPE /AWS1/CHSCHANNELMEMBERSHIPTYPE

The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

IV_SUBCHANNELID TYPE /AWS1/CHSSUBCHANNELID /AWS1/CHSSUBCHANNELID

The ID of the SubChannel in the request.

Only required when creating membership in a SubChannel for a moderator in an elastic channel.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHSBTCCRECHANNELMEM01 /AWS1/CL_CHSBTCCRECHANNELMEM01