Package com.github.twitch4j.helix.domain
Class ChatBadge
java.lang.Object
com.github.twitch4j.helix.domain.ChatBadge
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@Nullable String
The action to take when clicking on the badge.@Nullable String
The URL to navigate to when clicking on the badge.The description of the badge.getId()
An ID that identifies this version of the badge.A URL to the large version (72px x 72px) of the badge.A URL to the medium version (36px x 36px) of the badge.A URL to the small version (18px x 18px) of the badge.getTitle()
The title of the badge.int
hashCode()
toString()
-
Constructor Details
-
ChatBadge
public ChatBadge()
-
-
Method Details
-
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
A URL to the small version (18px x 18px) of the badge. -
getMediumImageUrl
A URL to the medium version (36px x 36px) of the badge. -
getLargeImageUrl
A URL to the large version (72px x 72px) of the badge. -
getTitle
The title of the badge. -
getDescription
The description of the badge. -
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
The URL to navigate to when clicking on the badge. Set to null if no URL is specified. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-