Skip to content

RoomMembership

Source code in docs_src/capo_chime/types/room_membership.py
class RoomMembership(TypedDict, closed=True):
    room_id: NotRequired["capo_chime.types.non_empty_string.NonEmptyString"]
    """<p>The room ID.</p>"""
    member: NotRequired["capo_chime.types.member.Member"]
    """<p>The member details, such as email address, name, member ID, and member type.</p>"""
    role: NotRequired["capo_chime.types.room_membership_role.RoomMembershipRole"]
    """<p>The membership role.</p>"""
    invited_by: NotRequired["capo_chime.types.non_empty_string.NonEmptyString"]
    """<p>The identifier of the user that invited the room member.</p>"""
    updated_timestamp: NotRequired[
        "capo_chime.types.iso8601_timestamp.Iso8601Timestamp"
    ]
    """<p>The room membership update timestamp, in ISO 8601 format.</p>"""

invited_by instance-attribute

invited_by: NotRequired[NonEmptyString]

The identifier of the user that invited the room member.

member instance-attribute

member: NotRequired[Member]

The member details, such as email address, name, member ID, and member type.

role instance-attribute

role: NotRequired[RoomMembershipRole]

The membership role.

room_id instance-attribute

room_id: NotRequired[NonEmptyString]

The room ID.

updated_timestamp instance-attribute

updated_timestamp: NotRequired[Iso8601Timestamp]

The room membership update timestamp, in ISO 8601 format.