Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Creating a channel membership for an AppInstanceBot for Amazon Chime SDK messaging

Focus mode
Creating a channel membership for an AppInstanceBot for Amazon Chime SDK messaging - Amazon Chime SDK

Once you create the AppInstanceBot, you add it as a member to a new or existing channel. For more information see CreateChannel and CreateChannelMembership in the Amazon Chime SDK messaging API documentation.

The following example shows how to use the AWS CLI to create a channel and add an AppInstanceBot as a member.

aws chime-sdk-messaging create-channel \ --chime-bearer caller_app_instance_user_arn \ --app-instance-arn app_instance_arn \ --name channel_name \ --member-arns '[ "app_instance_bot_arn" ]'

The following example shows how to use the AWS CLI to add an AppInstanceBot to an existing channel.

aws chime-sdk-messaging create-channel-membership \ --chime-bearer caller_app_instance_user_arn \ --channel-arn channel_arn \ --member-arn app_instance_bot_arn
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.