ruma::events::voice

Type Alias SyncVoiceEvent

Source
pub type SyncVoiceEvent = SyncMessageLikeEvent<VoiceEventContent>;
Available on crate features events and unstable-msc3245 only.
Expand description

An org.matrix.msc3245.voice.v2 event from a sync_events response.

Aliased Type§

enum SyncVoiceEvent {
    Original(OriginalSyncMessageLikeEvent<VoiceEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedVoiceEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<VoiceEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedVoiceEventContent>)

Redacted form of the event with minimal fields.