Enum Class ChatModerationAction.ModerationAction
java.lang.Object
java.lang.Enum<ChatModerationAction.ModerationAction>
com.github.twitch4j.pubsub.domain.ChatModerationAction.ModerationAction
- All Implemented Interfaces:
Serializable
,Comparable<ChatModerationAction.ModerationAction>
,Constable
- Enclosing class:
- ChatModerationAction
public static enum ChatModerationAction.ModerationAction
extends Enum<ChatModerationAction.ModerationAction>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA user acknowledged their warning reason.Deprecated.Deprecated.Moderator approved a message that was flagged by AutoModThe user's message was manually approved by a moderator after being flagged by Automod.The user's message was denied by a moderator after being flagged by Automod.A user's message was flagged by AutoMod for manual review.The message was flagged by AutoMod for manual review.User was bannedThe recent chat history was wipedChat message was deletedDeprecated.Deprecated.Moderator denied a message that was flagged by AutoModEmote only chat was enabledEmote only chat was disabledChat followers only mode was enabledChat followers only mode was disabledDeprecated.Twitch is removing host mode on October 3, 2022User was moddedDeprecated.this action is no longer sent over this topicUnique chat mode was enabledUnique chat mode was disabledA raid on another channel was initiatedChat slow mode was enabledChat slow mode was disabledSubscribers-only chat was enabledSubscribers-only chat was disabledUser was timed outUser was unbannedDeprecated.Twitch is removing host mode on October 3, 2022User was unmoddedChannel exited raid modeUser time out was removedUser VIP status was removedUser was given VIP statusA moderator warned a user. -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String action) Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BAN
User was banned -
UNBAN
User was unbanned -
TIMEOUT
User was timed out -
UNTIMEOUT
User time out was removed -
CLEAR
The recent chat history was wiped -
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
Deprecated.Twitch is removing host mode on October 3, 2022Another channel was hosted -
UNHOST
Deprecated.Twitch is removing host mode on October 3, 2022Channel exited host mode -
RAID
A raid on another channel was initiated -
UNRAID
Channel exited raid mode -
WARN
A moderator warned a user. -
ACKNOWLEDGE_WARNING
A user acknowledged their warning reason. -
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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
-
getTwitchString
-
ChannelTermsEvent