For the complete documentation index, see llms.txt. This page is also available as Markdown.

Comment

Represents a single comment.

type Comment {
  createdAt: Time!
  createdBy: User
  entityId: ID!
  entityType: EntityType!
  id: ID!
  message: MessageValue!
  modifiedAt: Time!
  thread(
    after: String
    limit: Int
    order: [CommentOrderByInput!]
  ): CommentConnectionResult!
  threadId: ID
}

Fields

createdAt ● Time! non-null scalar

The time this comment was created.

createdBy ● User object

The user that created the comment.

entityId ● ID! non-null scalar

The ID of the entity this comment is linked to.

entityType ● EntityType! non-null enum

The type of entity this comment is linked to.

id ● ID! non-null scalar

The unique identifier of the comment.

message ● MessageValue! non-null union

The message of the comment. These can be typed to support normal user comments, but also structured comments for specific functionalities.

modifiedAt ● Time! non-null scalar

The time this comment was last modified.

thread ● CommentConnectionResult! non-null union

The list of comments in the thread (children of this comment).

after ● String scalar

limit ● Int scalar

order ● [CommentOrderByInput!] list input

threadId ● ID scalar

An optional unique identifier of the thread (parent comment) this comment is part of.

Member Of

CommentEdge object

Implemented By

CommentResult union

Last updated

Was this helpful?