Contents

deleteMailboxMessage#

Delete a mailbox message from the wallet’s local database.

Request:

The request arguments are a DeleteMailboxMessageRequest object.

Response:

On success, the result is an empty object.

Side effects:

Deletes the message from the wallet’s local database and emits a mailbox-message-deleted notification.

Details:

The message is identified by the originMailboxBaseUrl and talerUri fields of the given message; the downloadedAt field is ignored. Deleting a message that does not exist is not an error; the mailbox-message-deleted notification is emitted regardless.

interface DeleteMailboxMessageRequest {
  // The message to delete.
  message: MailboxMessageRecord;
}