- sendTalerUriMailboxMessage#
Send a
taler://URI to the mailbox of a contact. Wallet-core fetches the public keys of the recipient’s mailbox from the contact’s mailbox service, verifies that they match the contact’s mailbox address, encrypts the URI for the recipient and uploads it to the recipient’s mailbox.Request:
The request arguments are a SendTalerUriMailboxMessageRequest object.
Response:
On success, the result is an empty object.
Side effects:
Sends the
taler://URI as a message via the contact’s mailbox service over the network. Does not change local wallet state.Expected errors:
The caller can handle the following errors inline:
WALLET_MAILBOX_UNAVAILABLE.
interface SendTalerUriMailboxMessageRequest {
// The recipient contact.
contact: ContactEntry;
// The taler:// URI to send.
talerUri: string;
}