Package com.github.twitch4j.helix.domain
Class AutomodEnforceCheck
java.lang.Object
com.github.twitch4j.helix.domain.AutomodEnforceCheck
-
Constructor Summary
ConstructorDescriptionAutomodEnforceCheck
(@NotNull String message) Constructs a message object to be checked against AutoMod enforcement settingsAutomodEnforceCheck
(@NotNull String msgId, @NotNull String msgText, @Nullable String userId) Deprecated.The AutoMod service will no longer take into account the status of a user to determine whether a string message meets the channel’s AutoMod requirements on June 20, 2022AutomodEnforceCheck
(@NotNull String message, @Nullable String senderId) Deprecated.senderId is deprecated by Twitch -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull String
getMsgId()
Developer-generated identifier for mapping messages to results.@NotNull String
Message text.@Nullable String
Deprecated.The AutoMod service will no longer take into account the status of a user to determine whether a string message meets the channel’s AutoMod requirements on June 20, 2022int
hashCode()
toString()
-
Constructor Details
-
AutomodEnforceCheck
@Deprecated public AutomodEnforceCheck(@NotNull @NotNull String message, @Nullable @Nullable String senderId) Deprecated.senderId is deprecated by TwitchConstructs a message object to be checked against AutoMod enforcement settings- Parameters:
message
- The message to be checkedsenderId
- The channel in which the message should be checked- See Also:
-
AutomodEnforceCheck
Constructs a message object to be checked against AutoMod enforcement settings- Parameters:
message
- The message to be checked- See Also:
-
AutomodEnforceCheck
public AutomodEnforceCheck(@NotNull @NotNull String msgId, @NotNull @NotNull String msgText, @Nullable @Nullable String userId) Deprecated.The AutoMod service will no longer take into account the status of a user to determine whether a string message meets the channel’s AutoMod requirements on June 20, 2022Creates a newAutomodEnforceCheck
instance.- Parameters:
msgId
- Developer-generated identifier for mapping messages to results.msgText
- Message text.userId
- User ID of the sender.- See Also:
-
-
Method Details
-
getMsgId
Developer-generated identifier for mapping messages to results. -
getMsgText
Message text. -
getUserId
Deprecated.The AutoMod service will no longer take into account the status of a user to determine whether a string message meets the channel’s AutoMod requirements on June 20, 2022User ID of the sender.- See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-