OBJECT

Celebration

Celebration is a configuration that denotes when a celebration is triggerd and when sort of celebration will show when it triggers.

link GraphQL Schema definition

1type Celebration {
2
3# Area of the channel page in which the celebration will appear.
4area: CelebrationArea!
5
6# Duration which the celebration will play.
7durationMilliseconds: Int!
8
9# Effect which will be shown when then celebration is triggered.
10effect: CelebrationEffect!
11
12# Amount that needs to be met in order to trigger this celebration.
13# For example, when the event type is subscription gift, this value will
14# determine how many gifts must be given at a single time to trigger the
15# celebration.
16eventThreshold: Int!
17
18# Type of event which will trigger this celebration.
19eventType: CelebrationEventType!
20
21# Unique identifier for the celebration.
22id: ID!
23
24# Intensity of the celebration.
25# Should be bounded (TBA) value which will determine the spectacle of the
26# celebration.
27intensity: Int!
28
29# If true, the celebration is enabled.
30isEnabled: Boolean!
31
32}