OBJECT

PollChoice

A choice in a poll that users can vote for.

link GraphQL Schema definition

1type PollChoice {
2
3# ID of choice.
4id: ID!
5
6# The authenticated user's relationship with this choice.
7self: PollChoiceSelfEdge!
8
9# The title of the choice.
10title: String!
11
12# A breakdown of the different tokens used for this choice.
13tokens: PollTokenBreakdown!
14
15# Total number of unique voters that have voted for this choice.
16totalVoters: Int!
17
18# A list of voters for this choice.
19# Only the poll's ownerID and their mods/editors can search for this.
20voters(
21first: Int,
22after: Cursor,
23sort: PollVoterConnectionSort,
24direction: PollVoterConnectionSortDirection
25): PollChoiceVoterConnection
26
27# A breakdown of the different votes cast for this choice.
28votes: PollVoteBreakdown!
29
30}