ruma::events::audio

Type Alias AudioEvent

Source
pub type AudioEvent = MessageLikeEvent<AudioEventContent>;
Available on crate features events and unstable-msc3927 only.
Expand description

An org.matrix.msc1767.audio event.

Aliased Type§

enum AudioEvent {
    Original(OriginalMessageLikeEvent<AudioEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedAudioEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<AudioEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedAudioEventContent>)

Redacted form of the event with minimal fields.