Package com.github.twitch4j.common.util
Class ChatReply
java.lang.Object
com.github.twitch4j.common.util.ChatReply
Meta-info regarding the parent message being replied to.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe display name of the user who originally sent the message being replied to.The text of the original message being replied to.The msgId of the original message being replied to.The id of the user who originally sent the message being replied to.The login name of the user who originally sent the message being replied to.inthashCode()static ChatReplyAttempts to parse aChatReplyinstance from chat tags.toString()
-
Field Details
-
REPLY_MSG_ID_TAG_NAME
- See Also:
-
-
Constructor Details
-
ChatReply
-
-
Method Details
-
parse
Attempts to parse aChatReplyinstance from chat tags.- Parameters:
tags- the message tags associated with a reply.- Returns:
- the parsed
ChatReply, or null if unsuccessful
-
getMessageId
The msgId of the original message being replied to. -
getMessageBody
The text of the original message being replied to. -
getUserId
The id of the user who originally sent the message being replied to. -
getUserLogin
The login name of the user who originally sent the message being replied to. -
getDisplayName
The display name of the user who originally sent the message being replied to. -
equals
-
hashCode
public int hashCode() -
toString
-