Class FollowsTopic
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<FollowList>
com.github.twitch4j.helix.webhooks.topics.FollowsTopic
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
ConstructorDescriptionFollowsTopic
(String fromId, String toId) Deprecated.Will be decommissioned after 2021-09-16 in favor of EventSub -
Method Summary
-
Field Details
-
PATH
- 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
- Returns:
- The user who starts following someone.
-
getToId
- Returns:
- The user who has a new follower.
-