Class EventSubNotification

java.lang.Object
com.github.twitch4j.eventsub.EventSubNotification

public class EventSubNotification extends Object
  • Constructor Details

  • Method Details

    • getSubscription

      public EventSubSubscription getSubscription()
      Metadata about the subscription.
    • getEvent

      public EventSubEvent getEvent()
      The event information. The fields inside this object differ by subscription type.
    • getChallenge

      @Nullable public @Nullable String getChallenge()
      The value of challenge from the callback verification request must be returned to complete the verification process.

      Note: websocket subscriptions do not involve a challenge handshake.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object