Skip to content

ChannelMembership

Source code in docs_src/capo_chime_sdk_messaging/types/channel_membership.py
class ChannelMembership(TypedDict, closed=True):
    invited_by: NotRequired["capo_chime_sdk_messaging.types.identity.Identity"]
    """<p>The identifier of the member who invited another member.</p>"""
    type: NotRequired[
        "capo_chime_sdk_messaging.types.channel_membership_type.ChannelMembershipType"
    ]
    """<p>The membership type set for the channel member.</p>"""
    member: NotRequired["capo_chime_sdk_messaging.types.identity.Identity"]
    """<p>The data of the channel member.</p>"""
    channel_arn: NotRequired["capo_chime_sdk_messaging.types.chime_arn.ChimeArn"]
    """<p>The ARN of the member's channel.</p>"""
    created_timestamp: NotRequired["capo_chime_sdk_messaging.types.timestamp.Timestamp"]
    """<p>The time at which the channel membership was created.</p>"""
    last_updated_timestamp: NotRequired[
        "capo_chime_sdk_messaging.types.timestamp.Timestamp"
    ]
    """<p>The time at which a channel membership was last updated.</p>"""
    sub_channel_id: NotRequired[
        "capo_chime_sdk_messaging.types.sub_channel_id.SubChannelId"
    ]
    """<p>The ID of the SubChannel that a user belongs to.</p>"""

channel_arn instance-attribute

channel_arn: NotRequired[ChimeArn]

The ARN of the member's channel.

created_timestamp instance-attribute

created_timestamp: NotRequired[Timestamp]

The time at which the channel membership was created.

invited_by instance-attribute

invited_by: NotRequired[Identity]

The identifier of the member who invited another member.

last_updated_timestamp instance-attribute

last_updated_timestamp: NotRequired[Timestamp]

The time at which a channel membership was last updated.

member instance-attribute

member: NotRequired[Identity]

The data of the channel member.

sub_channel_id instance-attribute

sub_channel_id: NotRequired[SubChannelId]

The ID of the SubChannel that a user belongs to.

type instance-attribute

type: NotRequired[ChannelMembershipType]

The membership type set for the channel member.