Contents

addMailboxMessage#

Store a mailbox message in the wallet’s local database. If a message with the same originMailboxBaseUrl and talerUri already exists, its downloadedAt timestamp is updated.

Request:

The request arguments are an AddMailboxMessageRequest object.

Response:

On success, the result is an empty object.

Side effects:

Stores the message in the wallet’s local database and emits a mailbox-message-added notification.

interface AddMailboxMessageRequest {
  // The message to store.
  message: MailboxMessageRecord;
}