ruma::events::room::encrypted

Type Alias RoomEncryptedEvent

Source
pub type RoomEncryptedEvent = MessageLikeEvent<RoomEncryptedEventContent>;
Available on crate feature events only.
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.