Class EventSubInternalEvent

java.lang.Object
tv.phantombot.event.Event
com.gmt2001.twitch.eventsub.EventSubInternalEvent
Direct Known Subclasses:
EventSubInternalNotificationEvent, EventSubInternalRevocationEvent, EventSubInternalVerificationEvent

public abstract class EventSubInternalEvent extends Event
Internal event allowing event implementation classes to subscribe to incoming EventSub notifications
Author:
gmt2001
  • Method Details

    • event

      public JSONObject event()
      Gets the event data object, describing the data for the notification
      Returns:
    • messageId

      public String messageId()
      Gets the message id for this event
      Returns:
    • messageTimestamp

      public ZonedDateTime messageTimestamp()
      Gets the timestamp of the message
      Returns:
    • subscription

      public EventSubSubscription subscription()
      Gets the subscription data defining the subscription that triggered the event
      Returns: