Type Alias ruma_events::room::encrypted::SyncRoomEncryptedEvent

source ·
pub type SyncRoomEncryptedEvent = SyncMessageLikeEvent<RoomEncryptedEventContent>;
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.