Class AutomodMessageUpdateEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
com.github.twitch4j.eventsub.events.EventSubModerationEvent
com.github.twitch4j.eventsub.events.AutomodMessageUpdateEvent
- All Implemented Interfaces:
ModeratorEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbooleanThe category of the message offense.The timestamp of when automod saved the message.intgetLevel()The level of severity.The body of the message.The ID of the message that was flagged by automod.The message's updated status.inthashCode()toString()Methods inherited from class com.github.twitch4j.eventsub.events.EventSubModerationEvent
getModeratorUserId, getModeratorUserLogin, getModeratorUserNameMethods inherited from class com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName, getUserId, getUserLogin, getUserName
-
Constructor Details
-
AutomodMessageUpdateEvent
public AutomodMessageUpdateEvent()
-
-
Method Details
-
containsBlockedTerm
- Returns:
- whether the message was held by AutoMod for containing a channel-specific blocked term
-
getMessageId
The ID of the message that was flagged by automod. -
getMessage
The body of the message. -
getCategory
The category of the message offense. -
getLevel
public int getLevel()The level of severity. Measured between 1 to 4. -
getStatus
The message's updated status. -
getHeldAt
The timestamp of when automod saved the message. -
toString
- Overrides:
toStringin classEventSubModerationEvent
-
equals
- Overrides:
equalsin classEventSubModerationEvent
-
canEqual
- Overrides:
canEqualin classEventSubModerationEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubModerationEvent
-