FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Webhookバッジオブジェクト"
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