FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Об'єкт значка вебхука"
interface CommentUserBadgeInfo { /** Ідентифікатор значка, наданого цьому користувачу. **/ 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