Skip to content
Document Authoring DA  API Docs v1.20.0
npmGitHub

CommentEventPayloadNEW

CommentEventPayload:

Payload emitted for a comment lifecycle event.

Events are batched by event kind and transaction. Thread lifecycle events identify thread comments, while reply events identify the affected replies.

ids: string[]

Affected comment ids: thread ids for thread events, reply ids for replies.


author: string | null

Common author of the affected comments, or null when mixed or unknown.


origin: DocumentEventOrigin

Source of the transaction that produced the event.


txId: number

Identifier of the committed transaction that produced the event.