Class ChatBadge

java.lang.Object
com.github.twitch4j.helix.domain.ChatBadge

public class ChatBadge extends Object
  • Constructor Details

    • ChatBadge

      public ChatBadge()
  • Method Details

    • getId

      public String getId()
      An ID that identifies this version of the badge. The ID can be any value. For example, for Bits, the ID is the Bits tier level, but for World of Warcraft, it could be Alliance or Horde.
    • getSmallImageUrl

      public String getSmallImageUrl()
      A URL to the small version (18px x 18px) of the badge.
    • getMediumImageUrl

      public String getMediumImageUrl()
      A URL to the medium version (36px x 36px) of the badge.
    • getLargeImageUrl

      public String getLargeImageUrl()
      A URL to the large version (72px x 72px) of the badge.
    • getTitle

      public String getTitle()
      The title of the badge.
    • getDescription

      public String getDescription()
      The description of the badge.
    • getClickAction

      @Nullable public @Nullable String getClickAction()
      The action to take when clicking on the badge. Set to null if no action is specified. Examples include "subscribe_to_channel" and "visit_url"
    • getClickUrl

      @Nullable public @Nullable String getClickUrl()
      The URL to navigate to when clicking on the badge. Set to null if no URL is specified.
    • 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