Class EventSubUserFromToEvent

java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubUserFromToEvent
Direct Known Subclasses:
WhisperReceivedEvent

public class EventSubUserFromToEvent extends EventSubEvent
  • Constructor Details

    • EventSubUserFromToEvent

      public EventSubUserFromToEvent()
    • EventSubUserFromToEvent

      public EventSubUserFromToEvent(String fromUserId, String fromUserLogin, String fromUserName, String toUserId, String toUserLogin, String toUserName)
      Creates a new EventSubUserFromToEvent instance.
      Parameters:
      fromUserId - The user ID that triggered the event.
      fromUserLogin - The user login name that triggered the event.
      fromUserName - The user display name that triggered the event.
      toUserId - The user ID that received the event.
      toUserLogin - The user login name that received the event.
      toUserName - The user display name that received the event.
  • Method Details

    • getFromUserId

      public String getFromUserId()
      The user ID that triggered the event.
    • getFromUserLogin

      public String getFromUserLogin()
      The user login name that triggered the event.
    • getFromUserName

      public String getFromUserName()
      The user display name that triggered the event.
    • getToUserId

      public String getToUserId()
      The user ID that received the event.
    • getToUserLogin

      public String getToUserLogin()
      The user login name that received the event.
    • getToUserName

      public String getToUserName()
      The user 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