index/interfaces/Message.md
A message of a list, as GET /v1/messages sends it
The one item type of fetchMessages, getComments and getChatMessages (chat messages and
comments alike: the list does not say which it is, ask for one type). launchpad-backend
queryPublicMessagesUnified builds it; it carries no type, holderTier or isPinned, and its
id is the message id string (messageId, the same value), not a number.
fetch messages get comments chat query public unified holder tier is pinned message id
Since
7.0.0
Since
9.0.0 - the backend's item (messageId, user, reactions: { counts, userReacted },
updatedAt null when never edited); the type, holderTier and isPinned the backend never
sends are gone
message id user reacted updated at holder tier is pinned
Properties
| Property | Type | Description |
|---|---|---|
content | string | Content text |
createdAt | string | Creation timestamp (ISO 8601) |
deletedAt | string | null | Deletion timestamp (ISO 8601), null when not deleted |
flagCount | number | Number of flags against the message |
id | string | The message id (msg-... / chat-...); equals messageId |
messageId | string | The message id: key of reactions, flags, pins and every message route |
reactions | MessageReactionSummary | Reactions of the message |
tokenImage | string | null | Token image URL, or null |
tokenName | string | Token name (lowercase) |
updatedAt | string | null | Update timestamp (ISO 8601), null when never edited |
user | UserProfileInfo | Author's profile (fullName falls back to the address when the author has no name) |
userAddress | string | Author's wallet address |
userProfile | UserProfileInfo | The same object as user (kept by the backend for comment consumers) |
created at deleted flag count message id reaction summary token image name updated user profile info full address