matrix_sdk::ruma::events::poll::start

Type Alias SyncPollStartEvent

Source
pub type SyncPollStartEvent = SyncMessageLikeEvent<PollStartEventContent>;
Available on crate feature unstable-msc3381 only.
Expand description

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

Aliased Type§

enum SyncPollStartEvent {
    Original(OriginalSyncMessageLikeEvent<PollStartEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedPollStartEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<PollStartEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedPollStartEventContent>)

Redacted form of the event with minimal fields.