INPUT_OBJECT

VoteInPollByChoiceIndexInput

Inputs for voting on a poll by choice index. Poll id and choice id are retrieved from the backend, before sending the vote.

link GraphQL Schema definition

1input VoteInPollByChoiceIndexInput {
4
2# The id of the channel the vote is being cast in.
3channelID: ID!
8
5# Important: The ***ONE INDEXED*** (NOT ZERO INDEXED) position of the choice that
6# is chosen in the poll.
7choiceIndex: Int!
11
9# The tokens used for this vote.
10tokens: PollVoteTokensInput
14
12# The user id of the voter.
13userID: ID!
17
15# The unique id for this vote action.
16voteID: ID!
18}