OBJECT
Badge
Communicates a user's status in chat.
link GraphQL Schema definition
1 type Badge { 2 3 # Identifies an action to trigger when this badge is clicked. 4 BadgeClickAction @deprecated( reason: "Should use onClickAction instead" ) : 5 6 # The URL to redirect to if the badge's onClickAction is VISIT_URL. 7 String : 8 9 # A localized, human-friendly description of the badge. 10 # Defaults to English if no translation exists for the requested locale. 11 String! : 12 13 # The badge's unique identifier. 14 ID! : 15 16 # A URL to the badge's image. 17 BadgeImageSize): String! ( : 18 19 # Identifies an action to trigger when this badge is clicked. 20 BadgeClickAction : 21 22 # Information about the user's relationship to this badge. 23 BadgeSelfEdge : 24 25 # The identifier of the set which this badge belongs (e.g. "subscriber"). 26 ID! : 27 28 # A localized, human-friendly title for the badge. 29 # Defaults to English if no translation exists for the requested locale. 30 String! : 31 32 # The badge's associated broadcaster. 33 # Returns null if this is a global badge. 34 User : 35 36 # The badge's version (e.g. "1mo"). 37 String! : 38 39 }
link Required by
- BitsBadgeTierBits Badges with their associated settings.
- ChannelViewerChannel/Viewer pair.
- CheerInfoCheerInfo is the channel-specific bits/cheer settings and current state.
- ClipA recorded, replayable part of a live broadcast.
- HypeTrainBadgeRewardThe Hype Train reward that's a Badge.
- QueryRoot fields to access the Twitch API.
- UserTwitch user.
- UserSelfBitsBadgeUserSelfBitsBadge contains the current user's badge tier in a channel and progress toward the next tier. NOTE: should probably have been named CurrentUserBitsBadge.
- UserSelfConnectionSubjective data on another User (user/channel) for the current user.
- VideoCommentMessageRepresents the message of a comment.