ruma::events::file

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