> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supahub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Comment Object

> Comments within a post conversation.

The Comment object is structured with multiple fields representing the attributes of a comment within a post conversation.

This structure allows for comments to be organized in a hierarchy with Parent and Child Comments, where each Comment may have attributes indicating its interactivity, visibility, and its relationship to other Comments and Posts in the system.

```java theme={null}
├── post
│   ├── parent comment
│   │   ├── child comment
│   │   │   ├── child comment
│   │   ├── child comment
└── post
```

Below are the details of the Comment object's structure:

<ParamField body="id" type="string">
  Unique identifier for the Comment.
</ParamField>

<ParamField body="post" type="Post">
  Reference to the Post to which the Comment is associated.
</ParamField>

<ParamField body="commentBy" type="Member">
  Information about the Member who created the Comment.
</ParamField>

<ParamField body="desc" type="string">
  The content of the Comment.
</ParamField>

<ParamField body="pinned" type="boolean">
  A flag denoting whether the Comment is pinned.
</ParamField>

<ParamField body="statusUpdateComment" type="boolean">
  Specifies if the Comment is related to a status update.
</ParamField>

<ParamField body="isDeleted" type="boolean">
  Shows if the Comment has been marked as deleted.
</ParamField>

<ParamField body="isMerged" type="boolean">
  Indicates if the Comment is a result of merging multiple comments.
</ParamField>

<ParamField body="parentCommentId" type="string | null">
  The ID of the parent Comment if this is a reply (Child Comment).
</ParamField>

<ParamField body="likesCount" type="number">
  The number of likes on the Comment.
</ParamField>

<ParamField body="childCommentsCount" type="number">
  The count of replies (Child Comments) to this Comment.
</ParamField>

<ParamField body="createdAt" type="Date">
  The date and time when the Comment was created.
</ParamField>
