INPUT_OBJECT

UpdateCommunityPointsCommunityGoalInput

Update community goal input.

link GraphQL Schema definition

1input UpdateCommunityPointsCommunityGoalInput {
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 time the goal is scheduled to end. Used to extend a goal.
20endsAt: Time
24
22# The id of the goal.
23goalID: ID!
27
25# Reset background color to default if true.
26resetBackgroundColor: Boolean
30
28# Reset image to default if true.
29resetImage: Boolean
33
31# Reset max contribution per stream to default if true.
32resetMaxContributionPerStream: Boolean
36
34# The current status of this goal.
35status: CommunityPointsCommunityGoalStatus
39
37# The title of this goal.
38title: String
40}