id | string | Unique identifier for the comment. | |
commentsCount | number | Number of comments associated with the comment. | |
communityId | number | ID of the community where the comment was posted. | |
createdAt | number | Timestamp when the comment was created. | |
isEdited | boolean | Whether the comment has been edited. | |
isLiked | boolean | Whether the comment is liked by the current user. | |
level | number | The level of the comment (e.g., direct reply or nested). | |
likesCount | number | Number of likes on the comment. | |
menuItems | MenuItem[] | Menu items available for actions on the comment. | |
postId | string | ID of the post to which this comment belongs. | |
tempId | string or null | Temporary ID used during comment creation (before persisting). | ✔️ |
text | string | Text content of the comment. | |
updatedAt | number | Timestamp when the comment was last updated. | |
userId | string | ID of the user who posted the comment. | |
uuid | string | Universally unique identifier (UUID) for the comment. | |