FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "評論提及物件"
interface CommentUserMention { /** 使用者的 id。對於 SSO 使用者,會加上你的租戶 id 做為前綴。 **/ id: string /** 最終的 @mention 標籤文字,包括 @ 符號。 **/ tag: string /** 原始的 @mention 標籤文字,包括 @ 符號。 **/ rawTag: string /** 被標註的使用者類型。user = FastComments.com 帳號。sso = SSOUser。 **/ type: 'user'|'sso' /** 若使用者選擇不接收通知,此欄位仍會被設為 true(表示已送出)。 **/ sent: boolean }
Result