Class ModeratorChangeTopic

java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<ModeratorEventList>
com.github.twitch4j.helix.webhooks.topics.ModeratorChangeTopic

@Deprecated @ScheduledForRemoval(inVersion="2.0.0") public class ModeratorChangeTopic extends TwitchWebhookTopic<ModeratorEventList>
Deprecated.
Twitch decommissioned this API; please migrate to EventSub
Notifies when a broadcaster adds or removes moderators.
  • Field Details

  • Constructor Details

  • Method Details

    • getBroadcasterId

      public String getBroadcasterId()
      Deprecated.
      Returns:
      The user ID of the broadcaster.
    • getUserId

      public Optional<String> getUserId()
      Deprecated.
      Returns:
      The user ID of the moderator added or removed.