Skip to content

Message ​

FieldTypeNotes
idString
tradeIdStringCascade-deleted with the trade
senderIdString?null for system messages
contentVarChar(2000)?
imageUrlString?Cloudinary or local upload URL
isSystemBooleanPlatform-generated status messages
createdAtDateTime

A message must have content, an image, or both.

System messages ​

Posted by postSystemMessage in the trade service when:

  • escrow is locked
  • the buyer marks the trade as paid
  • XLM is released
  • escrow is refunded (buyer cancel, timeout, reconciliation)
  • escrow could not be funded (reconciliation)

Chat accepts new messages until 24 hours after completedAt/cancelledAt.

Nexlm is a peer-to-peer facilitator and never holds customer Naira.