matrix_sdk::deserialized_responses

Type Alias MemberEvent

Source
pub type MemberEvent = SyncOrStrippedState<RoomMemberEventContent>;
Expand description

Wrapper around both MemberEvent-Types

Aliased Type§

enum MemberEvent {
    Sync(SyncStateEvent<RoomMemberEventContent>),
    Stripped(StrippedStateEvent<RoomMemberEventContent>),
}

Variants§

§

Sync(SyncStateEvent<RoomMemberEventContent>)

An event from a room in joined or left state.

§

Stripped(StrippedStateEvent<RoomMemberEventContent>)

An event from a room in invited state.