Function: createThreadComment()

createThreadComment(args): Promise<LixSelectable<EntityStateView<ThreadComment>>>

Adds a comment to an existing thread.

The comment inherits the version context from the thread and can be nested by supplying a parent id.

Parameters

args

object & object & object

Returns

Promise<LixSelectable<EntityStateView<ThreadComment>>>

Example

await createThreadComment({ lix, thread_id, body: "Thanks" })