FastComments.com
Here you can edit and run the code snippet from our documentation.
Example Code Snippet "Webhook 提及对象"
interface CommentUserMention { /** 用户 ID。对于 SSO 用户,会在前面加上租户 ID。 **/ id: string /** 最终的 @提及标签文本,包括 @ 符号。 **/ tag: string /** 原始的 @提及标签文本,包括 @ 符号。 **/ rawTag: string /** 被标记的用户类型。user = FastComments.com 账户。sso = SSOUser。 **/ type: 'user'|'sso' /** 即使用户选择不接收通知,此字段仍为 true。 **/ sent: boolean }
Result