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 = SSO 用户。 **/ type: 'user'|'sso' /** 即使用户选择不接收通知,该字段仍会被设置为 true。 **/ sent: boolean }
Result