Class ChannelModerateEvent
- All Implemented Interfaces:
ModeratorEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe action performed.Metadata associated with automod terms changes.getBan()Metadata associated with the ban command.Metadata associated with the delete command.Metadata associated with the followers command.getMod()Metadata associated with the mod command.getRaid()Metadata associated with the raid command.Metadata associated with the ban command.Metadata associated with the delete command.Metadata associated with the timeout command.Metadata associated with the unban command.Metadata associated with the untimeout command.getSlow()Metadata associated with the slow command.The channel ID in which the action originally occurred.The channel login name in which the action originally occurred.The channel display name in which the action originally occurred.Metadata associated with the timeout command.getUnban()Metadata associated with the unban command.Metadata associated with actioning an unban request.getUnmod()Metadata associated with the unmod command.Metadata associated with the unraid command.Metadata associated with the untimeout command.getUnvip()Metadata associated with the unvip command.getVip()Metadata associated with the vip command.getWarn()Metadata associated with the warn command.inthashCode()toString()Methods inherited from class com.github.twitch4j.eventsub.events.EventSubModeratorEvent
getModeratorUserId, getModeratorUserLogin, getModeratorUserNameMethods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Constructor Details
-
ChannelModerateEvent
public ChannelModerateEvent()
-
-
Method Details
-
getSourceBroadcasterUserId
The channel ID in which the action originally occurred. Is null when the moderator action happens in the same channel as the broadcaster. Is not null when in a shared chat session, and the action happens in the channel of a participant other than the broadcaster. -
getSourceBroadcasterUserLogin
The channel login name in which the action originally occurred. Is null when the moderator action happens in the same channel as the broadcaster. Is not null when in a shared chat session, and the action happens in the channel of a participant other than the broadcaster. -
getSourceBroadcasterUserName
The channel display name in which the action originally occurred. Is null when the moderator action happens in the same channel as the broadcaster. Is not null when in a shared chat session, and the action happens in the channel of a participant other than the broadcaster. -
getAction
The action performed.Note that the following actions do not have any associated metadata:
Action.CLEAR,Action.EMOTEONLY,Action.EMOTEONLYOFF,Action.FOLLOWERSOFF,Action.SLOWOFF,Action.SUBSCRIBERS,Action.SUBSCRIBERSOFF,Action.UNIQUECHAT, andAction.UNIQUECHATOFF. -
getFollowers
Metadata associated with the followers command.This is only populated when
getAction()isAction.FOLLOWERS. -
getSlow
Metadata associated with the slow command.This is only populated when
getAction()isAction.SLOW. -
getVip
Metadata associated with the vip command.This is only populated when
getAction()isAction.VIP. -
getUnvip
Metadata associated with the unvip command.This is only populated when
getAction()isAction.UNVIP. -
getMod
Metadata associated with the mod command.This is only populated when
getAction()isAction.MOD. -
getUnmod
Metadata associated with the unmod command.This is only populated when
getAction()isAction.UNMOD. -
getBan
Metadata associated with the ban command.This is only populated when
getAction()isAction.BAN. -
getUnban
Metadata associated with the unban command.This is only populated when
getAction()isAction.UNBAN. -
getTimeout
Metadata associated with the timeout command.This is only populated when
getAction()isAction.TIMEOUT. -
getUntimeout
Metadata associated with the untimeout command.This is only populated when
getAction()isAction.UNTIMEOUT. -
getRaid
Metadata associated with the raid command.This is only populated when
getAction()isAction.RAID. -
getUnraid
Metadata associated with the unraid command.This is only populated when
getAction()isAction.UNRAID. -
getDelete
Metadata associated with the delete command.This is only populated when
getAction()isAction.DELETE. -
getAutomodTerms
Metadata associated with automod terms changes.This is only populated when
getAction()isAction.ADD_BLOCKED_TERMorAction.ADD_PERMITTED_TERMorAction.DELETE_BLOCKED_TERMorAction.DELETE_PERMITTED_TERM. -
getUnbanRequest
Metadata associated with actioning an unban request.This is only populated when
getAction()isAction.APPROVE_UNBAN_REQUESTorAction.DENY_UNBAN_REQUEST. -
getWarn
Metadata associated with the warn command.This is only populated when
getAction()isAction.WARN. -
toString
- Overrides:
toStringin classEventSubModeratorEvent
-
equals
- Overrides:
equalsin classEventSubModeratorEvent
-
canEqual
- Overrides:
canEqualin classEventSubModeratorEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubModeratorEvent
-