Skip to main content
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.
Below are the details of the Comment object’s structure:
string
Unique identifier for the Comment.
Post
Reference to the Post to which the Comment is associated.
Member
Information about the Member who created the Comment.
string
The content of the Comment.
boolean
A flag denoting whether the Comment is pinned.
boolean
Specifies if the Comment is related to a status update.
boolean
Shows if the Comment has been marked as deleted.
boolean
Indicates if the Comment is a result of merging multiple comments.
string | null
The ID of the parent Comment if this is a reply (Child Comment).
number
The number of likes on the Comment.
number
The count of replies (Child Comments) to this Comment.
Date
The date and time when the Comment was created.