Skip to main content

index/interfaces/CommentCreatedEvent.md

Emitted when a new comment is posted on a pool. Broadcast to comment room. Note: Update and delete events already exist via PoolMessageService.

Properties​

PropertyTypeDescription
contentstringComment text content
createdAtstringISO 8601 timestamp of when the comment was created
idnumberMySQL auto-increment ID of the comment
messageId?stringOptional UUID-based string ID
tokenNamestringToken name on which the comment was posted
user?objectOptional user profile information
user.fullName?string-
user.profileImage?string-
userAddressstringWallet address of the comment author