Class ChannelChatMessageEvent


public class ChannelChatMessageEvent extends ChannelChatUserEvent
  • Constructor Details

    • ChannelChatMessageEvent

      public ChannelChatMessageEvent()
  • Method Details

    • getMessageId

      public String getMessageId()
      A UUID that identifies the message.
    • getMessage

      public Message getMessage()
      The structured chat message.
    • getColor

      public String getColor()
      The color of the user’s name in the chat room. This is a hexadecimal RGB color code with a "#" prefix. This tag may be empty if it is never set.
    • getBadges

      public List<Badge> getBadges()
      The chatting user's visible badges.
    • getMessageType

      @NotNull public @NotNull MessageType getMessageType()
      The type of message.
    • getCheer

      @Nullable public @Nullable Cheer getCheer()
      Metadata if this message is a cheer.
    • getReply

      @Nullable public @Nullable Reply getReply()
      Metadata if this message is a reply.
    • getChannelPointsCustomRewardId

      @Nullable public @Nullable String getChannelPointsCustomRewardId()
      The ID of a channel points custom reward that was redeemed.
    • toString

      public String toString()
      Overrides:
      toString in class ChannelChatUserEvent
    • equals

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

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class ChannelChatUserEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ChannelChatUserEvent