Class ModeratorChangeTopic
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<ModeratorEventList>
com.github.twitch4j.helix.webhooks.topics.ModeratorChangeTopic
Notifies when a broadcaster adds or removes moderators.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic
TwitchWebhookTopic.UnknownTopic
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModeratorChangeTopic
(@NonNull String broadcasterId, String userId) Deprecated.Will be decommissioned after 2021-09-16 in favor of EventSub -
Method Summary
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
ModeratorChangeTopic
Notifies when a broadcaster adds or removes moderators.- Parameters:
broadcasterId
- Required. Specifies the user ID of the broadcaster.userId
- Optional. Specifies the user ID of the moderator added or removed.
-
-
Method Details
-
getBroadcasterId
- Returns:
- The user ID of the broadcaster.
-
getUserId
- Returns:
- The user ID of the moderator added or removed.
-