INPUT_OBJECT

UpdateCommunityPointsAutomaticRewardInput

Input for updating an automatic Community Points reward in a channel. Only the channelID and rewardType are required. All other fields are optional. Only set fields that are intended to be updated.

link GraphQL Schema definition

1input UpdateCommunityPointsAutomaticRewardInput {
5
2# The optional custom background color for this reward.
3# Should be a hex color string, for example "FF0000".
4backgroundColor: String
8
6# The channel ID that the reward is being updated in.
7channelID: ID!
11
9# The point cost of this reward.
10cost: Int
14
12# Whether the reward is enabled.
13isEnabled: Boolean
17
15# The ID of the reward being updated.
16rewardType: CommunityPointsAutomaticRewardType!
20
18# A flag to reset this automatic reward's background color to default.
19shouldResetBackgroundColor: Boolean
23
21# A flag to reset this automatic reward's cost to default.
22shouldResetCost: Boolean
26
24# A flag to reset this automatic reward's image to default.
25shouldResetImage: Boolean
27}