OBJECT

CommunityPointsAutomaticReward

An automatic community points reward.

link GraphQL Schema definition

1type CommunityPointsAutomaticReward {
2
3# The background color for the reward icon.
4backgroundColor: String
5
6# The point cost of this reward.
7cost: Int
8
9# The default background color for this reward.
10defaultBackgroundColor: String!
11
12# The default point cost of this reward.
13defaultCost: Int!
14
15# The default image for this reward.
16defaultImage: CommunityPointsImage!
17
18# Time that the global template for this reward was last updated in a way that
19# should show a new content indicator to viewers.
20globallyUpdatedForIndicatorAt: Time!
21
22# The unique identifier of this reward in this channel.
23id: ID!
24
25# The custom icon for this reward, if any.
26image: CommunityPointsImage
27
28# Whether this reward is turned on or off in this channel at the moment.
29isEnabled: Boolean!
30
31# Whether only non-subscribers are allowed to redeem this reward in this channel.
32isHiddenForSubs: Boolean!
33
34# The lowest the broadcaster is allowed to set the cost of this reward.
35minimumCost: Int!
36
37# The type of automatic reward this is.
38type: CommunityPointsAutomaticRewardType!
39
40# Time that this reward was last updated for the channel in a way that should show
41# a new content indicator to viewers.
42# Will be null if the channel hasn't made any updates to override the global
43# settings.
44updatedForIndicatorAt: Time
45
46}