diff --git a/eventsub.go b/eventsub.go index 69bcf70..dfce743 100644 --- a/eventsub.go +++ b/eventsub.go @@ -676,6 +676,7 @@ type EventSubHypeTrainProgressEvent struct { // Data for a hype train end notification type EventSubHypeTrainEndEvent struct { + ID string `json:"id"` BroadcasterUserID string `json:"broadcaster_user_id"` BroadcasterUserLogin string `json:"broadcaster_user_login"` BroadcasterUserName string `json:"broadcaster_user_name"` @@ -683,7 +684,7 @@ type EventSubHypeTrainEndEvent struct { Total int `json:"total"` TopContributions []EventSubContribution `json:"top_contributions"` StartedAt Time `json:"started_at"` - ExpiresAt Time `json:"expires_at"` + EndedAt Time `json:"ended_at"` CooldownEndsAt Time `json:"cooldown_ends_at"` }