Type Alias ruma::events::file::SyncFileEvent

source ·
pub type SyncFileEvent = SyncMessageLikeEvent<FileEventContent>;
Available on crate features events and unstable-msc3551 only.
Expand description

An org.matrix.msc1767.file event from a sync_events response.

Aliased Type§

enum SyncFileEvent {
    Original(OriginalSyncMessageLikeEvent<FileEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedFileEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<FileEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedFileEventContent>)

Redacted form of the event with minimal fields.