Enum ChatModerationAction.ModerationAction
java.lang.Object
java.lang.Enum<ChatModerationAction.ModerationAction>
com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ChatModerationAction.ModerationAction>,java.lang.constant.Constable
- Enclosing class:
- ChatModerationAction
public static enum ChatModerationAction.ModerationAction extends java.lang.Enum<ChatModerationAction.ModerationAction>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ADD_BLOCKED_TERMDeprecated.ADD_PERMITTED_TERMDeprecated.APPROVED_AUTOMOD_MESSAGEModerator approved a message that was flagged by AutoModAUTOMOD_MESSAGE_APPROVEDThe user's message was manually approved by a moderator after being flagged by Automod.AUTOMOD_MESSAGE_DENIEDThe user's message was denied by a moderator after being flagged by Automod.AUTOMOD_MESSAGE_REJECTEDA user's message was flagged by AutoMod for manual review.AUTOMOD_REJECTEDThe message was flagged by AutoMod for manual review.BANUser was bannedDELETEChat message was deletedDELETE_BLOCKED_TERMDeprecated.DELETE_PERMITTED_TERMDeprecated.DENIED_AUTOMOD_MESSAGEModerator denied a message that was flagged by AutoModEMOTE_ONLYEmote only chat was enabledEMOTE_ONLY_OFFEmote only chat was disabledFOLLOWERSChat followers only mode was enabledFOLLOWERS_OFFChat followers only mode was disabledHOSTAnother channel was hostedMODUser was moddedMODIFIED_AUTOMOD_PROPERTIESDeprecated.this action is no longer sent over this topicR9K_BETAUnique chat mode was enabledR9K_BETA_OFFUnique chat mode was disabledRAIDA raid on another channel was initiatedSLOWChat slow mode was enabledSLOW_OFFChat slow mode was disabledSUBSCRIBERSSubscribers-only chat was enabledSUBSCRIBERS_OFFSubscribers-only chat was disabledTIMEOUTUser was timed outUNBANUser was unbannedUNHOSTChannel exited host modeUNMODUser was unmoddedUNRAIDChannel exited raid modeUNTIMEOUTUser time out was removedUNVIPUser VIP status was removedVIPUser was given VIP status -
Method Summary
Modifier and Type Method Description static ChatModerationAction.ModerationActionfromString(java.lang.String action)java.lang.StringgetTwitchString()static ChatModerationAction.ModerationActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ChatModerationAction.ModerationAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
BAN
User was banned -
UNBAN
User was unbanned -
TIMEOUT
User was timed out -
UNTIMEOUT
User time out was removed -
DELETE
Chat message was deleted -
SLOW
Chat slow mode was enabled -
SLOW_OFF
Chat slow mode was disabled -
FOLLOWERS
Chat followers only mode was enabled -
FOLLOWERS_OFF
Chat followers only mode was disabled -
R9K_BETA
Unique chat mode was enabled -
R9K_BETA_OFF
Unique chat mode was disabled -
EMOTE_ONLY
Emote only chat was enabled -
EMOTE_ONLY_OFF
Emote only chat was disabled -
SUBSCRIBERS
Subscribers-only chat was enabled -
SUBSCRIBERS_OFF
Subscribers-only chat was disabled -
VIP
User was given VIP status -
UNVIP
User VIP status was removed -
MOD
User was modded -
UNMOD
User was unmodded -
HOST
Another channel was hosted -
UNHOST
Channel exited host mode -
RAID
A raid on another channel was initiated -
UNRAID
Channel exited raid mode -
AUTOMOD_MESSAGE_REJECTED
A user's message was flagged by AutoMod for manual review. -
AUTOMOD_MESSAGE_APPROVED
The user's message was manually approved by a moderator after being flagged by Automod. -
AUTOMOD_MESSAGE_DENIED
The user's message was denied by a moderator after being flagged by Automod. -
AUTOMOD_REJECTED
The message was flagged by AutoMod for manual review. This action is sent to moderators, rather than the user with the offending message. -
APPROVED_AUTOMOD_MESSAGE
Moderator approved a message that was flagged by AutoMod -
DENIED_AUTOMOD_MESSAGE
Moderator denied a message that was flagged by AutoMod -
ADD_PERMITTED_TERM
Deprecated.Moderator added a permitted term to AutoMod -
ADD_BLOCKED_TERM
Deprecated.Moderator added a blocked term to AutoMod -
DELETE_PERMITTED_TERM
Deprecated.Moderator deleted a permitted term from AutoMod -
DELETE_BLOCKED_TERM
Deprecated.Moderator deleted a blocked term from AutoMod -
MODIFIED_AUTOMOD_PROPERTIES
Deprecated.this action is no longer sent over this topicAutoMod settings were modified
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromString
-
getTwitchString
public java.lang.String getTwitchString()
-
ChannelTermsEvent