Class ModeratorEventSubCondition
java.lang.Object
com.github.twitch4j.eventsub.condition.EventSubCondition
com.github.twitch4j.eventsub.condition.ChannelEventSubCondition
com.github.twitch4j.eventsub.condition.ModeratorEventSubCondition
- Direct Known Subclasses:
ChannelFollowV2Condition
,ChannelShoutoutCondition
,ShieldModeCondition
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C extends ModeratorEventSubCondition,
B extends ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C, B>> Nested classes/interfaces inherited from class com.github.twitch4j.eventsub.condition.ChannelEventSubCondition
ChannelEventSubCondition.ChannelEventSubConditionBuilder<C extends ChannelEventSubCondition,
B extends ChannelEventSubCondition.ChannelEventSubConditionBuilder<C, B>> Nested classes/interfaces inherited from class com.github.twitch4j.eventsub.condition.EventSubCondition
EventSubCondition.EventSubConditionBuilder<C extends EventSubCondition,
B extends EventSubCondition.EventSubConditionBuilder<C, B>> -
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Methods inherited from class com.github.twitch4j.eventsub.condition.ChannelEventSubCondition
canEqual, getBroadcasterUserId
-
Constructor Details
-
ModeratorEventSubCondition
protected ModeratorEventSubCondition(ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<?, ?> b)
-
-
Method Details
-
equals
- Overrides:
equals
in classChannelEventSubCondition
-
hashCode
public int hashCode()- Overrides:
hashCode
in classChannelEventSubCondition
-
builder
-
getModeratorUserId
The ID of the broadcaster or one of the broadcaster’s moderators.For webhooks, the user must have granted your app (client ID) the relevant permissions for the subscription type. For websockets, the ID must match the user ID in the user access token.
-
toString
- Overrides:
toString
in classChannelEventSubCondition
-