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