pub(crate) fn parse_received_message(input: &str) -> Result<String>