import type * as Webflow from "../index"; /** * The comment webhook payload contains data for the thread and for replies. Check the type to determine if the payload is for a thread or a reply. The webhook payload may be delayed by up to 5 minutes. */ export interface CommentPayload { /** Unique identifier for the comment thread */ threadId?: string; /** Unique identifier for the comment reply */ commentId?: string; /** The type of comment payload */ type?: string; /** The site unique identifier */ siteId?: string; /** The page unique identifier */ pageId?: string; /** The locale unique identifier */ localeId?: string; /** The item unique identifier */ itemId?: string; /** The breakpoint the comment was left on */ breakpoint?: string; /** The URL of the page the comment was left on */ url?: string; /** The content of the comment reply */ content: string; /** Boolean determining if the comment thread is resolved */ isResolved: boolean; author: Webflow.CommentPayloadAuthor; /** List of mentioned users. This is an empty array until email notifications are sent, which can take up to 5 minutes after the comment is created. */ mentionedUsers: Webflow.CommentPayloadMentionedUsersItem[]; /** The date the item was created */ createdOn?: string; /** The date the item was last updated */ lastUpdated?: string; }