Skip to content

/AWS1/CL_CHS=>LSTCHANNELMEMBERSHIPSFORAP00()

About ListChannelMembershipsForAppInstanceUser

Lists all channels that an AppInstanceUser or AppInstanceBot is a part of. Only an AppInstanceAdmin can call the API with a user ARN that is not their own.

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_CHIMEBEARER TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

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

Optional arguments:

IV_APPINSTANCEUSERARN TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the user or bot.

IV_MAXRESULTS TYPE /AWS1/CHSMAXRESULTS /AWS1/CHSMAXRESULTS

The maximum number of users that you want returned.

IV_NEXTTOKEN TYPE /AWS1/CHSNEXTTOKEN /AWS1/CHSNEXTTOKEN

The token returned from previous API requests until the number of channel memberships is reached.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHSLSTCHANNELMEMBER03 /AWS1/CL_CHSLSTCHANNELMEMBER03