Type Alias ruma::events::room::encrypted::RoomEncryptedEvent

source ·
pub type RoomEncryptedEvent = MessageLikeEvent<RoomEncryptedEventContent>;
Expand description

An m.room.encrypted event.

Aliased Type§

enum RoomEncryptedEvent {
    Original(OriginalMessageLikeEvent<RoomEncryptedEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedRoomEncryptedEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<RoomEncryptedEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedRoomEncryptedEventContent>)

Redacted form of the event with minimal fields.