- 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-deletednotification.Details:
The message is identified by the
originMailboxBaseUrlandtalerUrifields of the given message; thedownloadedAtfield is ignored. Deleting a message that does not exist is not an error; themailbox-message-deletednotification is emitted regardless.
interface DeleteMailboxMessageRequest {
// The message to delete.
message: MailboxMessageRecord;
}