Class HypeTrainTopic

java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<HypeTrainEventList>
com.github.twitch4j.helix.webhooks.topics.HypeTrainTopic

public class HypeTrainTopic
extends TwitchWebhookTopic<HypeTrainEventList>
Notifies upon active hype train events
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic

    TwitchWebhookTopic.UnknownTopic
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String PATH  
  • Constructor Summary

    Constructors
    Constructor Description
    HypeTrainTopic​(@NonNull java.lang.String broadcasterId)
    Notifies upon active hype train events
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getBroadcasterId()
    User ID of the broadcaster

    Methods inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic

    canEqual, equals, fromUrl, getType, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • HypeTrainTopic

      public HypeTrainTopic​(@NonNull @NonNull java.lang.String broadcasterId)
      Notifies upon active hype train events
      Parameters:
      broadcasterId - User ID of the broadcaster
  • Method Details

    • getBroadcasterId

      public java.lang.String getBroadcasterId()
      User ID of the broadcaster