Class ChannelBanTopic
java.lang.Object
com.github.twitch4j.helix.webhooks.topics.TwitchWebhookTopic<ModeratorEventList>
com.github.twitch4j.helix.webhooks.topics.ChannelBanTopic
@Deprecated
@ScheduledForRemoval(inVersion="2.0.0")
public class ChannelBanTopic
extends TwitchWebhookTopic<ModeratorEventList>
Deprecated.
Twitch decommissioned this API; please migrate to EventSub
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
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.
-
Field Details
-
PATH
Deprecated.- 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
Deprecated.- Returns:
- The ID of the channel for which to monitor ban events.
-
getUserId
Deprecated.- Returns:
- The user ID of the moderator added or removed.
-