Type Alias ruma_events::call::member::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§
source§impl PossiblyRedactedStateEventContent for PossiblyRedactedCallMemberEventContent
impl PossiblyRedactedStateEventContent for PossiblyRedactedCallMemberEventContent
§type StateKey = CallMemberStateKey
type StateKey = CallMemberStateKey
The type of the event’s
state_key
field.