Class FollowsTopic

java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<FollowList>
com.github.twitch4j.helix.webhooks.topics.FollowsTopic

@Deprecated @ScheduledForRemoval(inVersion="2.0.0") public class FollowsTopic extends TwitchWebhookTopic<FollowList>
Deprecated.
Twitch decommissioned this API; please migrate to EventSub
Notifies when a follows event occurs.
  • Field Details

  • Constructor Details

  • Method Details

    • getFromId

      public Optional<String> getFromId()
      Deprecated.
      Returns:
      The user who starts following someone.
    • getToId

      public Optional<String> getToId()
      Deprecated.
      Returns:
      The user who has a new follower.