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