getRecentMessages

open suspend override fun getRecentMessages(contactName: String? = null, limit: Int = DEFAULT_MESSAGE_LIMIT): GetRecentMessagesResult(source)

Get recent messages from the mesh network.

Messages are returned from the local cache — an active radio connection is not required.

Return

Success with list of messages, or failure if contact not found.

Parameters

contactName

Optional contact/channel name to filter by. Uses fuzzy matching.

limit

Maximum number of messages to return (default 20, max 50).