Type Alias ruma::events::room::encrypted::SyncRoomEncryptedEvent

source ·
pub type SyncRoomEncryptedEvent = SyncMessageLikeEvent<RoomEncryptedEventContent>;
Available on crate feature events only.
Expand description

An m.room.encrypted event from a sync_events response.

Aliased Type§

enum SyncRoomEncryptedEvent {
    Original(OriginalSyncMessageLikeEvent<RoomEncryptedEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedRoomEncryptedEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<RoomEncryptedEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedRoomEncryptedEventContent>)

Redacted form of the event with minimal fields.