ruma::events::voice

Type Alias VoiceEvent

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

An org.matrix.msc3245.voice.v2 event.

Aliased Type§

enum VoiceEvent {
    Original(OriginalMessageLikeEvent<VoiceEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedVoiceEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<VoiceEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedVoiceEventContent>)

Redacted form of the event with minimal fields.