PollData
@devvit/public-api v0.13.10-dev
Type Alias: PollData
PollData =
object
Aggregated poll data for a poll post.
Properties
options
options:
PollOption[]
Options in the poll.
totalVoteCount
totalVoteCount:
number
Total number of votes cast in the poll. Aggregated across all PollOption objects.
votingEndTimestamp
votingEndTimestamp:
number
Time the poll voting closes, in Unix milliseconds.