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.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic
TwitchWebhookTopic.UnknownTopic
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
PATH
Deprecated.- See Also:
-
-
Constructor Details
-
FollowsTopic
Notifies when a follows event occurs. At least one of fromId and toId is required.- Parameters:
fromId
- Optional. Specifies the user who starts following someone.toId
- Optional. Specifies the user who has a new follower.
-
-
Method Details
-
getFromId
Deprecated.- Returns:
- The user who starts following someone.
-
getToId
Deprecated.- Returns:
- The user who has a new follower.
-