FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Объект значка Webhook"
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