Type Alias ruma_events::file::SyncFileEvent

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