diff --git a/internal/events/types/hype_train/hype_train_event.go b/internal/events/types/hype_train/hype_train_event.go index ecc670f3..3c6e51c3 100644 --- a/internal/events/types/hype_train/hype_train_event.go +++ b/internal/events/types/hype_train/hype_train_event.go @@ -63,6 +63,7 @@ func (e Event) GenerateEvent(params events.MockEventParameters) (events.MockEven CreatedAt: util.GetTimestamp().Format(time.RFC3339Nano), }, Event: models.HypeTrainEventSubEvent{ + ID: params.ID, BroadcasterUserID: params.ToUserID, BroadcasterUserLogin: params.ToUserName, BroadcasterUserName: params.ToUserName, diff --git a/internal/models/hype_train.go b/internal/models/hype_train.go index 3ba1c24b..a13540c6 100644 --- a/internal/models/hype_train.go +++ b/internal/models/hype_train.go @@ -42,6 +42,7 @@ type HypeTrainEventSubResponse struct { } type HypeTrainEventSubEvent struct { + ID string `json:"id"` BroadcasterUserID string `json:"broadcaster_user_id"` BroadcasterUserLogin string `json:"broadcaster_user_login"` BroadcasterUserName string `json:"broadcaster_user_name"`