Class ChannelFromToEventSubCondition

java.lang.Object
com.github.twitch4j.eventsub.condition.EventSubCondition
com.github.twitch4j.eventsub.condition.ChannelFromToEventSubCondition
Direct Known Subclasses:
ChannelRaidCondition

public class ChannelFromToEventSubCondition
extends EventSubCondition
Generic condition when a broadcaster can be either on the receiving or giving end of the event type.
  • Constructor Details

  • Method Details

    • builder

    • getFromBroadcasterUserId

      public java.lang.String getFromBroadcasterUserId()
      The broadcaster user ID that triggered the channel event you want to get notifications for.
    • getToBroadcasterUserId

      public java.lang.String getToBroadcasterUserId()
      The broadcaster user ID that received the channel event you want to get notifications for.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object