Interface: CommentCreatedEvent
Gala Launchpad SDK 9.0.0-rc.5 / index / CommentCreatedEvent
Interface: CommentCreatedEvent
Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:327
Emitted when a new comment is posted on a pool. Broadcast to comment room. Note: Update and delete events already exist via PoolMessageService.
Properties
content
content:
string
Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:335
Comment text content
createdAt
createdAt:
string
Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:339
ISO 8601 timestamp of when the comment was created
id
id:
number
Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:331
MySQL auto-increment ID of the comment
messageId?
optionalmessageId?:string
Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:333
Optional UUID-based string ID
tokenName
tokenName:
string
Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:329
Token name on which the comment was posted
user?
optionaluser?:object
Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:341
Optional user profile information
fullName?
optionalfullName?:string
profileImage?
optionalprofileImage?:string
userAddress
userAddress:
string
Defined in: packages/launchpad-sdk/dist/types/websocket-events.dto.d.ts:337
Wallet address of the comment author