Class EventSubChannelFromToEvent

java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelFromToEvent
Direct Known Subclasses:
ChannelRaidEvent, ShoutoutCreateEvent, ShoutoutReceiveEvent

public class EventSubChannelFromToEvent extends EventSubEvent
  • Constructor Details

    • EventSubChannelFromToEvent

      public EventSubChannelFromToEvent()
    • EventSubChannelFromToEvent

      public EventSubChannelFromToEvent(String fromBroadcasterUserId, String fromBroadcasterUserLogin, String fromBroadcasterUserName, String toBroadcasterUserId, String toBroadcasterUserLogin, String toBroadcasterUserName)
      Creates a new EventSubChannelFromToEvent instance.
      Parameters:
      fromBroadcasterUserId - The broadcaster ID that triggered the event.
      fromBroadcasterUserLogin - The broadcaster login that triggered the event.
      fromBroadcasterUserName - The broadcaster display name that triggered the event.
      toBroadcasterUserId - The broadcaster ID that received the event.
      toBroadcasterUserLogin - The broadcaster login that received the event.
      toBroadcasterUserName - The broadcaster display name that received the event.
  • Method Details

    • getFromBroadcasterUserId

      public String getFromBroadcasterUserId()
      The broadcaster ID that triggered the event.
    • getFromBroadcasterUserLogin

      public String getFromBroadcasterUserLogin()
      The broadcaster login that triggered the event.
    • getFromBroadcasterUserName

      public String getFromBroadcasterUserName()
      The broadcaster display name that triggered the event.
    • getToBroadcasterUserId

      public String getToBroadcasterUserId()
      The broadcaster ID that received the event.
    • getToBroadcasterUserLogin

      public String getToBroadcasterUserLogin()
      The broadcaster login that received the event.
    • getToBroadcasterUserName

      public String getToBroadcasterUserName()
      The broadcaster display name that received the event.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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