FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "WebhookComment 物件"
interface WebhookComment { /** 留言的 id。 **/ id: string /** 識別留言串的 id 或 URL。已標準化。 **/ urlId: string /** 指向留言位置的 URL。 **/ url?: string /** 發表留言的使用者 id。若為 SSO,會加上租戶 id 前綴。 **/ userId?: string /** 發表留言的使用者電子郵件。 **/ commenterEmail?: string /** 在留言元件顯示的使用者名稱。SSO 情況下可能為 displayName。 **/ commenterName: string /** 原始留言文字。 **/ comment: string /** 經解析後的留言文字。 **/ commentHTML: string /** 留言的外部 id。 **/ externalId?: string /** 父留言的 id。 **/ parentId?: string | null /** 留言發表的 UTC 日期。 **/ date: UTC_ISO_DateString /** 投票的綜合評分 (贊成 - 反對)。 **/ votes: number votesUp: number votesDown: number /** 若使用者留言時已登入、或其評論已被驗證、或在留言時已驗證其會話,則為 true。 **/ verified: boolean /** 留言被驗證的日期。 **/ verifiedDate?: number /** 是否由管理員標記為已審閱。 **/ reviewed: boolean /** 大頭照的位置或 base64 編碼。僅在透過 SSO 傳遞 base64 時才會是 base64。 **/ avatarSrc?: string /** 留言是否被手動或自動標記為垃圾訊息? **/ isSpam: boolean /** 留言是否被自動判定為垃圾訊息? **/ aiDeterminedSpam: boolean /** 留言中是否包含圖片? **/ hasImages: boolean /** 在「最相關」排序方向下,留言所在的頁碼。 **/ pageNumber: number /** 在「最舊優先」排序方向下,留言所在的頁碼。 **/ pageNumberOF: number /** 在「最新優先」排序方向下,留言所在的頁碼。 **/ pageNumberNF: number /** 留言是否被自動或手動核准? **/ approved: boolean /** 使用者撰寫留言時的地區代碼 (格式: en_us)。 **/ locale: string /** 留言中成功解析出的 @提及。 **/ mentions?: CommentUserMention[] /** 留言所屬的網域。 **/ domain?: string /** 與此留言相關的可選審核群組 id 列表。 **/ moderationGroupIds?: string[]|null }
Result