MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / editHtmlMessage

Function editHtmlMessage

zpr/zpr.ts:300–306  ·  view source on GitHub ↗
(msg: Api.Message, text: string)

Source from the content-addressed store, hash-verified

298 await msg.edit({ text, parseMode: "html" });
299 } catch (error) {
300 console.warn("[zpr] 消息编辑失败:", error);
301 }
302};
303
304// 辅助函数:处理404错误
305const handle404Error = (proxyHost: string, failedProxies: string[]) => {
306 failedProxies.push(proxyHost);
307 return true; // 表示遇到404错误
308};
309

Callers 2

getResultFunction · 0.85
ZprPluginClass · 0.85

Calls 2

warnMethod · 0.80
editMethod · 0.45

Tested by

no test coverage detected