Class AutomodCaughtMessage.Fragment
java.lang.Object
com.github.twitch4j.pubsub.domain.AutomodCaughtMessage.Fragment
- Enclosing class:
- AutomodCaughtMessage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@Nullable AutomodCaughtMessage.FragmentFlags
@Nullable AutomodCaughtMessage.FragmentEmote
Information about an emote if present in the message.@Nullable AutomodCaughtMessage.FragmentLink
getLink()
getText()
Plain text fragment of the message sent.@Nullable AutomodCaughtMessage.FragmentMention
int
hashCode()
boolean
boolean
boolean
toString()
-
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
-