FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Webhook Badge 物件"
interface CommentUserBadgeInfo { /** 授予此使用者的徽章 id。 **/ id: string /** 徽章類型。 **/ type: number /** 徽章描述,滑鼠懸停在徽章上時顯示。 **/ description: string /** 徽章上顯示的文字。 **/ displayLabel?: string | null /** 徽章顯示的圖片(若使用的話)。 **/ displaySrc?: string | null backgroundColor?: string | null borderColor?: string | null textColor?: string | null /** 套用於徽章的額外 CSS 類別。 **/ cssClass?: string | null }
Result