ruma::events::poll::response

Type Alias SyncPollResponseEvent

Source
pub type SyncPollResponseEvent = SyncMessageLikeEvent<PollResponseEventContent>;
Available on crate features events and unstable-msc3381 only.
Expand description

An m.poll.response event from a sync_events response.

Aliased Type§

enum SyncPollResponseEvent {
    Original(OriginalSyncMessageLikeEvent<PollResponseEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedPollResponseEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<PollResponseEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedPollResponseEventContent>)

Redacted form of the event with minimal fields.