Contents

getMailboxMessageread-only#

Get the mailbox messages stored locally in the wallet.

Note that the TypeScript client library exposes this operation as GetMailboxMessages (with a trailing “s”), while the operation name sent on the wire is getMailboxMessage.

Request:

This operation takes no arguments (an empty object).

Response:

On success, the result is a MailboxMessagesResponse object.

Details:

This operation only reads the wallet’s local database; use refreshMailbox to download new messages from the mailbox service.

interface MailboxMessagesResponse {
  // Locally stored mailbox messages.
  messages: MailboxMessageRecord[];
}
// Record metadata for mailbox messages.
interface MailboxMessageRecord {
  // Origin mailbox.
  originMailboxBaseUrl: string;

  // Time of download.
  downloadedAt: Timestamp;

  // Taler URI in message.
  talerUri: string;
}