Class MessageFragment
java.lang.Object
com.gmt2001.twitch.eventsub.subscriptions.channel.chat.data.MessageFragment
A message fragment in
MessageData
.- Author:
- gmt2001
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe cheermote data if this is a cheermote fragment.emote()
The emote data if this is an emote fragment.mention()
The mention data if this is a mention fragment.text()
The raw message text of this fragment.type()
The fragment type, such as text, cheermote, emote, or mention.
-
Constructor Details
-
MessageFragment
Constructor- Parameters:
o
- The JSON data for the object
-
-
Method Details
-
text
The raw message text of this fragment.- Returns:
-
type
The fragment type, such as text, cheermote, emote, or mention.- Returns:
-
cheermote
The cheermote data if this is a cheermote fragment.- Returns:
-
emote
The emote data if this is an emote fragment.- Returns:
-
mention
The mention data if this is a mention fragment.- Returns:
-