INTERFACE
ChannelChallenge
A challenge to which users can contribute bits.
link GraphQL Schema definition
1 interface ChannelChallenge { 2 3 # Total bits amount contributed. 4 Int! : 5 6 # Time when challenge was created. 7 Time! : 8 9 # User that created the challenge. 10 User : 11 12 # Amount of seconds from when the challenge starts to when it ends. 13 Int! : 14 15 # ID of challenge. 16 ID! : 17 18 # User who owns this challenge. The challenge will appear on their channel. 19 User : 20 21 # Amount of milliseconds before the challenge times out. 22 # 0 when the challenge has timed out. 23 Int! : 24 25 # The authenticated user's relationship with this challenge. 26 # Main use case is to connect the user to a challenge to allow bit contributions. 27 # Null if un-authenticated user is making this query. 28 ChannelChallengeSelfEdge : 29 30 # The status of the challenge. 31 ChannelChallengeStatus! : 32 33 # Time when challenge was updated. 34 Time! : 35 36 }
link Required by
- ChannelChallengeEdgeA page entry, that contains the Challenge item and a cursor to return from the query to allow pagination.
- ChannelChallengeParticipantA participant contributing to a challenge and associated information.
- ManualChannelChallengeA custom challenge created by the broadcaster.
- QueryRoot fields to access the Twitch API.