INPUT_OBJECT

CreatePollInput

Inputs for creating a new poll.

link GraphQL Schema definition

1input CreatePollInput {
4
2# The cost in bits for casting a vote.
3bitsCost: Int
7
5# Denotes if votes can be cast with bits.
6bitsVoting: Boolean
10
8# Choices that can be voted for in the poll.
9choices: [CreatePollChoiceInput!]!
13
11# The cost in Community Points for casting a vote.
12communityPointsCost: Int
16
14# Duration of the poll in seconds.
15durationSeconds: Int!
19
17# Denotes if votes can be cast with Community Points.
18isCommunityPointsVotingEnabled: Boolean
22
20# Denotes if the poll allows voting for multiple options.
21multichoiceEnabled: Boolean
25
23# Id of the channel this poll is owned by.
24ownedBy: ID!
29
26# Denotes if subscribers receives bonus votes.
27# Deprecated: Subscriber multipliers are no longer supported.
28subscriberMultiplier: Boolean
33
30# Denotes if the poll is only open to subscribers.
31# Deprecated: Subscriber-only polls are no longer supported.
32subscriberOnly: Boolean
36
34# Title of the poll.
35title: String!
37}