(timer: ReturnType<typeof setTimeout>)
| 139 | |
| 140 | // ==================== 消息管理器 ==================== |
| 141 | class MessageManager { |
| 142 | static async smartEdit( |
| 143 | message: Api.Message | undefined, |
| 144 | text: string, |
| 145 | deleteAfter: number = CONFIG.MESSAGE_AUTO_DELETE, |
| 146 | parseMode: "html" | "md" = "html" |
| 147 | ): Promise<Api.Message | undefined> { |