(msg: Api.Message)
| 1070 | await msg.edit({ |
| 1071 | text: "🔴 <b>自动删除功能已禁用</b>\n\n命令消息将不再自动删除", |
| 1072 | parseMode: "html" |
| 1073 | }); |
| 1074 | } |
| 1075 | |
| 1076 | // 判断是否应该处理此消息 |
| 1077 | private async shouldProcessMessage(msg: Api.Message): Promise<boolean> { |
| 1078 | // 1. 处理自己发出的消息 |
| 1079 | if (msg.out) return true; |
| 1080 | |
| 1081 | // 2. 检查是否是 Saved Messages |
no test coverage detected