FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Comment Mentions 对象"
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