Skip to content

Commit

Permalink
feat: hypetrain - is golden kappa field
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcguire1 committed Nov 22, 2024
1 parent 0151ccc commit 6c69b57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eventsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ type EventSubHypeTrainBeginEvent struct {
LastContribution EventSubContribution `json:"last_contribution"`
StartedAt Time `json:"started_at"`
ExpiresAt Time `json:"expires_at"`
IsGoldenKappaTrain bool `json:"is_golden_kappa_train"`
}

// Data for a hype train progress notification
Expand All @@ -672,6 +673,7 @@ type EventSubHypeTrainProgressEvent struct {
LastContribution EventSubContribution `json:"last_contribution"`
StartedAt Time `json:"started_at"`
ExpiresAt Time `json:"expires_at"`
IsGoldenKappaTrain bool `json:"is_golden_kappa_train"`
}

// Data for a hype train end notification
Expand All @@ -686,6 +688,7 @@ type EventSubHypeTrainEndEvent struct {
StartedAt Time `json:"started_at"`
EndedAt Time `json:"ended_at"`
CooldownEndsAt Time `json:"cooldown_ends_at"`
IsGoldenKappaTrain bool `json:"is_golden_kappa_train"`
}

// Data for a stream online notification
Expand Down

0 comments on commit 6c69b57

Please sign in to comment.