Interface: StreamChatMessage
Gala Launchpad SDK 9.0.0-rc.5 / index / StreamChatMessage
Interface: StreamChatMessage
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:42
Stream chat message
Note: Messages have TWO IDs:
id: MySQL auto-increment ID (may be undefined until flushed to DB)messageId: UUID-based string ID (always present, format: chat-{timestamp}-{uuid8})
Since
5.1.0
Since
6.0.0 - Added reactions field
Properties
content
content:
string
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:60
Message content (sanitized, max 500 chars)
createdAt
createdAt:
string
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:66
Message creation timestamp (ISO 8601)
holderTier?
optionalholderTier?:HolderTierInfo
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:83
Holder tier badge for the message author (token-specific)
Shows the author's token holding tier based on % of max supply held. Only present if the user holds tokens. Omitted for non-holders.
Since
6.5.0
id?
optionalid?:number
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:49
MySQL database ID (auto-increment)
May be undefined if the message hasn't been flushed to the database yet.
Use messageId for reliable message identification.
messageId
messageId:
string
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:58
Unique string identifier (always present)
Format: chat-{timestamp}-{uuid8}
Example: chat-1702656000000-a1b2c3d4
This is the primary identifier for message deduplication and tracking.
reactions?
optionalreactions?:ReactionData
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:74
Reaction data for this message (grouped by type with counts and user previews)
Since
6.0.0
tokenName
tokenName:
string
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:64
Token name this message belongs to
user?
optionaluser?:UserProfileInfo
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:68
Sender's profile information (may not be present in all responses)
userAddress
userAddress:
AddressFormat
Defined in: packages/launchpad-sdk/dist/types/stream-chat.dto.d.ts:62
Sender's wallet address in backend format