Class AutomodCaughtMessage.Fragment
java.lang.Object
com.github.twitch4j.pubsub.domain.AutomodCaughtMessage.Fragment
- Enclosing class:
- AutomodCaughtMessage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable AutomodCaughtMessage.FragmentFlags@Nullable AutomodCaughtMessage.FragmentEmoteInformation about an emote if present in the message.@Nullable AutomodCaughtMessage.FragmentLinkgetLink()getText()Plain text fragment of the message sent.@Nullable AutomodCaughtMessage.FragmentMentioninthashCode()booleanbooleanbooleantoString()
-
Constructor Details
-
Fragment
public Fragment()
-
-
Method Details
-
isFragmentFlagged
public boolean isFragmentFlagged()- Returns:
- whether this fragment of the message was flagged by AutoMod.
-
isFragmentLink
- Returns:
- whether this fragment of the message is a link.
-
isFragmentMention
- Returns:
- whether this fragment of the message is simply a user mention.
-
getText
Plain text fragment of the message sent. -
getAutomod
-
getEmoticon
Information about an emote if present in the message. -
getLink
-
getUserMention
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-