1. Determine the user's intent (view, send, retrieve messages).
2. Identify the target chat (individual or group) and time range.
3. Construct the appropriate `wecom-cli` command with necessary parameters.
4. Execute the `wecom-cli` command.
5. Process the results, handling errors and formatting the output.
6. If media files are present, prompt the user to download them.
7. Display the downloaded file paths and ask if temporary files should be deleted.