ruma::events::poll

Module start

Source
Available on crate features events and unstable-msc3381 only.
Expand description

Types for the m.poll.start event.

Structs§

PollAnswer
Poll answer.
PollAnswers
The answers to a poll.
PollContentBlock
A block for poll content.
PollQuestion
The question of a poll.
PollStartEventContent
The payload for a poll start event.
PollStartEventContentWithoutRelation
Form of PollStartEventContent without relation.
RedactedPollStartEventContent
Redacted form of PollStartEventContent

Enums§

PollAnswersError
An error encountered when trying to convert to a PollAnswers.
PollKind
The kind of poll.

Type Aliases§

OriginalPollStartEvent
An m.poll.start event.
OriginalSyncPollStartEvent
An m.poll.start event from a sync_events response.
PollStartEvent
An m.poll.start event.
RedactedPollStartEvent
An m.poll.start event that has been redacted.
RedactedSyncPollStartEvent
An m.poll.start event from a sync_events response that has been redacted.
SyncPollStartEvent
An m.poll.start event from a sync_events response.