CreateChannelMembershipRequest
¶
Source code in docs_src/capo_chime_sdk_messaging/types/create_channel_membership_request.py
channel_arn
instance-attribute
¶
channel_arn: ChimeArn
The ARN of the channel to which you're adding users.
chime_bearer
instance-attribute
¶
chime_bearer: ChimeArn
The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
member_arn
instance-attribute
¶
member_arn: ChimeArn
The AppInstanceUserArn of the member you want to add to the channel.
sub_channel_id
instance-attribute
¶
sub_channel_id: NotRequired[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
instance-attribute
¶
type: ChannelMembershipType
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.