pub type RoomMemberEvent = StateEvent<RoomMemberEventContent>;
Expand description
An m.room.member
event.
Aliased Type§
enum RoomMemberEvent {
Original(OriginalStateEvent<RoomMemberEventContent>),
Redacted(RedactedStateEvent<RedactedRoomMemberEventContent>),
}
Variants§
Original(OriginalStateEvent<RoomMemberEventContent>)
Original, unredacted form of the event.
Redacted(RedactedStateEvent<RedactedRoomMemberEventContent>)
Redacted form of the event with minimal fields.
Implementations§
Source§impl RoomMemberEvent
impl RoomMemberEvent
Sourcepub fn membership(&self) -> &MembershipState
pub fn membership(&self) -> &MembershipState
Obtain the membership state, regardless of whether this event is redacted.