Skip to content

AddCommentInput

type AddCommentInput = Omit<ThreadedComment, "id" | "personId" | "runs"> & object;

Input for creating a threaded comment via CommentsManager.add.

Accepts ref, text, person, and optionally parentId, datetime, resolved, and runs (with inline person objects for mentions).

person: Person;
optional runs: (MentionRunInput | HyperlinkTextRun)[];