AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateChannelMembership operation.
Adds a member to a channel. The InvitedBy
field in ChannelMembership
is derived from the request header. A channel member can:
List messages
Send messages
Receive messages
Edit their own messages
Leave the channel
Privacy settings impact this action as follows:
Public Channels: You do not need to be a member to list messages, but you must be a member to send messages.
Private Channels: You must be a member to list or send messages.
The x-amz-chime-bearer
request header is mandatory. Use the ARN of the AppInstanceUserArn
or AppInstanceBot
that makes the API call as the value in the header.
Namespace: Amazon.ChimeSDKMessaging.Model
Assembly: AWSSDK.ChimeSDKMessaging.dll
Version: 3.x.y.z
public class CreateChannelMembershipRequest : AmazonChimeSDKMessagingRequest IAmazonWebServiceRequest
The CreateChannelMembershipRequest type exposes the following members
Name | Description | |
---|---|---|
CreateChannelMembershipRequest() |
Name | Type | Description | |
---|---|---|---|
ChannelArn | System.String |
Gets and sets the property ChannelArn. The ARN of the channel to which you're adding users. |
|
ChimeBearer | System.String |
Gets and sets the property ChimeBearer.
The ARN of the |
|
MemberArn | System.String |
Gets and sets the property MemberArn.
The |
|
SubChannelId | System.String |
Gets and sets the property SubChannelId. The ID of the SubChannel in the request. Only required when creating membership in a SubChannel for a moderator in an elastic channel. |
|
Type | Amazon.ChimeSDKMessaging.ChannelMembershipType |
Gets and sets the property Type.
The membership type of a user, |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5