• body - The body of the message, see MessageBody.
  • createdAt - The timestamp of the message construction.
  • sender - The DID of the sender.
  • receiver - The DID of the receiver.
  • messageId - The message id.
  • receivedAt - The timestamp of the message reception.
  • inReplyTo - The id of the parent-message.
  • references - The references or the in-reply-to of the parent-message followed by the message-id of the parent-message.

Hierarchy

  • IMessage

Properties

createdAt: number
inReplyTo?: string
messageId?: string
receivedAt?: number
receiver: DidUri
references?: (undefined | string)[]
sender: DidUri