FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "The Webhook Badge Object"
interface CommentUserBadgeInfo { /** The id of the badge awarded to this user. **/ id: string /** The badge type. **/ type: number /** The badge description, shown when hovering over the badge. **/ description: string /** The text shown on the badge. **/ displayLabel?: string | null /** The image shown for the badge, if it uses one. **/ displaySrc?: string | null backgroundColor?: string | null borderColor?: string | null textColor?: string | null /** An extra CSS class applied to the badge. **/ cssClass?: string | null }
Result