The message params to make the query.
Retrieves Messages with query params.
The message params to make the query.
Returns an async iterator over all messages matching the given filters. Handles cursor-based pagination automatically.
The message filters (same as getAll, minus page).
Retrieves only the content of a message, without the surrounding message envelope.
The hash of the message to query.
Retrieves Messages using cursor-based pagination. Pass an empty cursor (or omit it) to start from the beginning.
The message params to make the query.
Retrieves the error of a rejected message
The hash of the rejected message
Retrieves the processing status of a message (pending, processed, rejected or forgotten).
Lighter than get: it returns only the status and reception time, without the message content.
Unlike get and getError, a forgotten message is returned as data with status "forgotten" rather than throwing ForgottenMessageError. Callers must inspect the returned status field; no exception is thrown for forgotten, rejected or pending states. Only a missing hash (404) throws (MessageNotFoundError).
The hash of the message to query.
Retrieves a specific Message with query params.