Type Alias ruma::events::file::FileEvent

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

An org.matrix.msc1767.file event.

Aliased Type§

enum FileEvent {
    Original(OriginalMessageLikeEvent<FileEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedFileEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<FileEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedFileEventContent>)

Redacted form of the event with minimal fields.