Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Badge

The equivalent of Type badge.
This object represents a Badge on a Stack Exchange site.
Some Badges, like "Autobiographer", are held in common across all Stack Exchange sites. Others, like most tag badges, vary on a site by site basis.
Remember that ids are never guaranteed to be the same between sites, even if a Badge exists on both sites.

Hierarchy

  • Badge

Index

Constructors

constructor

Properties

awardCount

awardCount: number | null

badgeId

badgeId: number | null

Refers to a Badge

badgeType

badgeType: "named" | "tag_based" | null

description

description: string | null

link

link: string | null

name

name: string | null

rank

rank: "gold" | "silver" | "bronze" | null

user

user: ShallowUser | null

May be absent, in which case it is set to null

Made by Horyus. Documentation generated by TypeDoc.