(msg: Api.Message)
| 415 | } |
| 416 | |
| 417 | private async handleClearCommand(msg: Api.Message): Promise<void> { |
| 418 | await msg.edit({ text: "🧹 正在清理临时文件...", parseMode: "html" }); |
| 419 | converter.cleanupAllTempFiles(); |
| 420 | await msg.edit({ text: "✅ 临时文件已清理", parseMode: "html" }); |
| 421 | } |
| 422 | |
| 423 | private async handleApiKeyCommand(msg: Api.Message, apiKey: string): Promise<void> { |
| 424 | if (!apiKey) { |
no test coverage detected