package com.github.twitch4j.eventsub.events;

import com.github.twitch4j.eventsub.domain.StreamType;
import lombok.AccessLevel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Data
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class StreamOnlineEvent extends EventSubChannelEvent {

    /**
     * The event id.
     */
    private String id;

    /**
     * The stream type.
     */
    private StreamType type;

}

@@ -254,16 +254,43 @@
 tring;%0A%0A
+import java.time.Instant;%0A%0A
 @Data%0A@S
@@ -486,16 +486,24 @@
 The 
-event id
+id of the stream
 .%0A  
@@ -564,32 +564,32 @@
 m type.%0A     */%0A
-
     private Stre
@@ -602,10 +602,115 @@
  type;%0A%0A
+    /**%0A     * The timestamp at which the stream went online at.%0A     */%0A    private Instant startedAt;%0A%0A
 %7D%0A

include new started_at field for eventsub StreamOnlineEvent (#263)