requestHistory

abstract suspend fun requestHistory(since: Int? = null, server: NodeId? = null): AdminResult<Int>(source)

Request delivery of messages stored for this node since the given timestamp.

The S&F server will replay stored messages matching this node's ID. Messages are delivered via the normal RadioClient.packets flow.

Return

the number of messages the server reports as pending, or failure reason

Parameters

since

seconds since epoch — only messages after this time are requested. If null, requests all available stored messages.

server

specific S&F server to query. If null, queries the first known server.