ruma_events::audio

Type Alias SyncAudioEvent

Source
pub type SyncAudioEvent = SyncMessageLikeEvent<AudioEventContent>;
Expand description

An org.matrix.msc1767.audio event from a sync_events response.

Aliased Type§

enum SyncAudioEvent {
    Original(OriginalSyncMessageLikeEvent<AudioEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedAudioEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<AudioEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedAudioEventContent>)

Redacted form of the event with minimal fields.