matrix_sdk::ruma::events::room::encrypted

Type Alias 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.