Class ChannelBanTopic
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<ModeratorEventList>
com.github.twitch4j.helix.webhooks.topics.ChannelBanTopic
Notifies when a broadcaster bans or un-bans people in their channel.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic
TwitchWebhookTopic.UnknownTopic
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChannelBanTopic
(@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
-
ChannelBanTopic
Notifies when a broadcaster bans or un-bans people in their channel.- Parameters:
broadcasterId
- Required. The ID of the channel for which to monitor ban events.userId
- Optional. Specifies the user ID of the moderator added or removed.
-
-
Method Details
-
getBroadcasterId
- Returns:
- The ID of the channel for which to monitor ban events.
-
getUserId
- Returns:
- The user ID of the moderator added or removed.
-