Package com.github.twitch4j.chat.util
Class ChatCrowdChant
java.lang.Object
com.github.twitch4j.chat.util.ChatCrowdChant
Deprecated.
Will be disabled on 2022-02-02
Information regarding a Crowd Chant participation or initiation.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionChatCrowdChant
(String messageId, String text, boolean initiator, String channelName) Deprecated.Creates a newChatCrowdChant
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.The id for the parent message in the Crowd Chant.getText()
Deprecated.The text being chanted.int
hashCode()
Deprecated.boolean
Deprecated.Whether this message initiated a crowd chat.static @Nullable ChatCrowdChant
parse
(IRCMessageEvent event) Deprecated.Attempts to parse theChatCrowdChant
information from a chat event.void
participate
(ITwitchChat chat) Deprecated.toString()
Deprecated.
-
Field Details
-
CHANT_MSG_ID_TAG_NAME
Deprecated.- See Also:
-
-
Constructor Details
-
ChatCrowdChant
Deprecated.Creates a newChatCrowdChant
instance.- Parameters:
messageId
- The id for the parent message in the Crowd Chant.text
- The text being chanted.initiator
- Whether this message initiated a crowd chat. When false, the message is simply participating in the chant, rather than initiating.channelName
- The name of the channel where the Crowd Chant took place.
-
-
Method Details
-
participate
Deprecated.Sends the same message in the same channel to participate in the Crowd Chant, with the proper chat tag.- Parameters:
chat
- an authenticated TwitchChat instance.
-
parse
Deprecated.Attempts to parse theChatCrowdChant
information from a chat event.- Parameters:
event
- the raw IRCMessageEvent.- Returns:
- ChatCrowdChant (or null if parsing was unsuccessful)
-
getMessageId
Deprecated.The id for the parent message in the Crowd Chant. -
getText
Deprecated.The text being chanted. -
isInitiator
public boolean isInitiator()Deprecated.Whether this message initiated a crowd chat. When false, the message is simply participating in the chant, rather than initiating. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-