pub async fn show_history(
parts: &[&str],
context: &CommandContext,
) -> Result<()>Expand description
Displays the message history for a given peer.
Usage: history <peer_id_or_nickname> [message_count]
§Arguments
parts- A slice of strings representing the command arguments.context- TheCommandContextproviding access to the application’s state and node.
§Errors
This function returns an error if retrieving the message history fails.