Class ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C extends ModeratorEventSubCondition,B extends ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C,B>>
java.lang.Object
com.github.twitch4j.eventsub.condition.EventSubCondition.EventSubConditionBuilder<C,B>
com.github.twitch4j.eventsub.condition.ChannelEventSubCondition.ChannelEventSubConditionBuilder<C,B>
com.github.twitch4j.eventsub.condition.ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C,B>
- Direct Known Subclasses:
ChannelFollowV2Condition.ChannelFollowV2ConditionBuilder
,ChannelShoutoutCondition.ChannelShoutoutConditionBuilder
,ShieldModeCondition.ShieldModeConditionBuilder
- Enclosing class:
- ModeratorEventSubCondition
public abstract static class ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C extends ModeratorEventSubCondition,B extends ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C,B>>
extends ChannelEventSubCondition.ChannelEventSubConditionBuilder<C,B>
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github.twitch4j.eventsub.condition.ChannelEventSubCondition.ChannelEventSubConditionBuilder
broadcasterUserId
-
Constructor Details
-
ModeratorEventSubConditionBuilder
public ModeratorEventSubConditionBuilder()
-
-
Method Details
-
moderatorUserId
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.
- Returns:
this
.
-
self
- Specified by:
self
in classChannelEventSubCondition.ChannelEventSubConditionBuilder<C extends ModeratorEventSubCondition,
B extends ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C, B>>
-
build
- Specified by:
build
in classChannelEventSubCondition.ChannelEventSubConditionBuilder<C extends ModeratorEventSubCondition,
B extends ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C, B>>
-
toString
- Overrides:
toString
in classChannelEventSubCondition.ChannelEventSubConditionBuilder<C extends ModeratorEventSubCondition,
B extends ModeratorEventSubCondition.ModeratorEventSubConditionBuilder<C, B>>
-