java.lang.Object
com.github.twitch4j.eventsub.domain.chat.Message
Direct Known Subclasses:
AugmentedMessage

public class Message extends Object
  • Constructor Details

    • Message

      public Message()
  • Method Details

    • isAction

      public boolean isAction()
      Returns:
      whether the user sent an action (i.e., "/me ") message
    • getCleanedText

      public String getCleanedText()
      Returns:
      the full message text without any ACTION prefix/suffix
    • getText

      public String getText()
      The chat message in plain text.
    • getFragments

      public List<Fragment> getFragments()
      Ordered list of chat message fragments.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object