INPUT_OBJECT

CreateCommunityPointsCommunityGoalInput

Create community goal input.

link GraphQL Schema definition

1input CreateCommunityPointsCommunityGoalInput {
4
2# The amount of community points that this goal needs to succeed.
3amountNeeded: Int!
7
5# The background color of this goal.
6backgroundColor: String!
10
8# The channel.
9channelID: ID!
13
11# The description of this goal.
12description: String
18
14# The *initial* duration the streamer set for the goal.
15# Only really used during the UNSTARTED state; once the goal is started
16# the endedAt timestamp is populated (and updated for extended deadlines).
17durationDays: Int!
21
19# The title of this goal.
20title: String!
22}