Class InboundHostEvent

All Implemented Interfaces:
com.github.philippheuer.events4j.api.domain.IEvent

@Unofficial @Deprecated @ScheduledForRemoval(inVersion="2.0.0") public final class InboundHostEvent extends TwitchEvent
Deprecated.
Twitch is removing host mode on October 3, 2022
Fired when the authenticated channel to the TwitchChat instance was hosted by another user.

Not officially documented by Twitch so this could stop working at any time.

  • Constructor Details

    • InboundHostEvent

      public InboundHostEvent(String hostTarget, String hosterName)
      Deprecated.
      Creates a new InboundHostEvent instance.
      Parameters:
      hostTarget - Login name of the channel that was hosted (i.e., the user passed in chatAccount).
      hosterName - Display name of the user that just hosted your channel.
  • Method Details

    • getHostTarget

      public String getHostTarget()
      Deprecated.
      Login name of the channel that was hosted (i.e., the user passed in chatAccount).
    • getHosterName

      public String getHosterName()
      Deprecated.
      Display name of the user that just hosted your channel.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class TwitchEvent
    • equals

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

      protected boolean canEqual(Object other)
      Deprecated.
      Overrides:
      canEqual in class TwitchEvent
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class TwitchEvent