ruma_events::call::member

Type Alias PossiblyRedactedCallMemberEventContent

Source
pub type PossiblyRedactedCallMemberEventContent = CallMemberEventContent;
Expand description

The PossiblyRedacted version of CallMemberEventContent.

Since CallMemberEventContent has the CallMemberEventContent::Empty state it already is compatible with the redacted version of the state event content.

Aliased Type§

enum PossiblyRedactedCallMemberEventContent {
    LegacyContent(LegacyMembershipContent),
    SessionContent(SessionMembershipData),
    Empty(EmptyMembershipData),
}

Variants§

§

LegacyContent(LegacyMembershipContent)

The legacy format for m.call.member events. (An array of memberships. The devices of one user.)

§

SessionContent(SessionMembershipData)

Normal membership events. One event per membership. Multiple state keys will be used to describe multiple devices for one user.

§

Empty(EmptyMembershipData)

An empty content means this user has been in a rtc session but is not anymore.

Trait Implementations§