Type Alias ruma_events::file::FileEvent

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