AWS SDK Version 3 for .NET
API Reference

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:

Privacy settings impact this action as follows:

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ChimeSDKMessaging.AmazonChimeSDKMessagingRequest
      Amazon.ChimeSDKMessaging.Model.CreateChannelMembershipRequest

Namespace: Amazon.ChimeSDKMessaging.Model
Assembly: AWSSDK.ChimeSDKMessaging.dll
Version: 3.x.y.z

Syntax

C#
public class CreateChannelMembershipRequest : AmazonChimeSDKMessagingRequest
         IAmazonWebServiceRequest

The CreateChannelMembershipRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ChannelArn System.String

Gets and sets the property ChannelArn.

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

Public Property ChimeBearer System.String

Gets and sets the property ChimeBearer.

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

Public Property MemberArn System.String

Gets and sets the property MemberArn.

The AppInstanceUserArn of the member you want to add to the channel.

Public Property 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.

Public Property Type Amazon.ChimeSDKMessaging.ChannelMembershipType

Gets and sets the property Type.

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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5