Class Message

java.lang.Object
com.github.twitch4j.eventsub.domain.Message

public class Message extends Object
  • Constructor Details

    • Message

      public Message()
  • Method Details

    • getText

      public String getText()
      The text of the re-subscription chat message.
    • getEmotes

      public List<Message.Emote> getEmotes()
      A collection that includes the emote ID and start and end positions for where the emote appears in the text.
    • 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