Class CommerceMessage.CommerceEmote

java.lang.Object
com.github.twitch4j.pubsub.domain.CommerceMessage.CommerceEmote
Enclosing class:
CommerceMessage

public static class CommerceMessage.CommerceEmote extends Object
  • Constructor Details

    • CommerceEmote

      public CommerceEmote()
  • Method Details

    • getId

      @Deprecated public Integer getId()
      Deprecated.
      in favor of getEmoteId()
      Returns:
      the emote id as an integer, or null.
    • getStart

      public Integer getStart()
      The index in the message where the emote starts
    • getEnd

      public Integer getEnd()
      The number of characters in the emote name
    • getEmoteId

      public String getEmoteId()
      The id for the emote being used
    • 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
    • setStart

      @Deprecated public void setStart(Integer start)
      Deprecated.
      The index in the message where the emote starts
    • setEnd

      @Deprecated public void setEnd(Integer end)
      Deprecated.
      The number of characters in the emote name
    • setEmoteId

      @Deprecated public void setEmoteId(String emoteId)
      Deprecated.
      The id for the emote being used