java.lang.Object
com.github.twitch4j.eventsub.domain.chat.Badge

public class Badge extends Object
  • Konstruktordetails

    • Badge

      public Badge()
  • Methodendetails

    • getSetId

      public String getSetId()
      An ID that identifies this set of chat badges.

      For example: "bits", "subscriber", "vip", "moderator", "broadcaster", "partner", "ambassador", "turbo", "hype-train", "no_audio", "no_video", "sub-gifter", "sub-gift-leader", "premium" (i.e., twitch prime)

    • 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.

    • getInfo

      public String getInfo()
      Contains metadata related to the chat badges in the badges tag.

      Currently, this tag contains metadata only for subscriber badges, to indicate the number of months the user has been a subscriber.

    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object