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

Class

im/im.ts:117–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115// ==================== 消息管理器 ====================
116class MessageManager {
117 static async edit(msg: Api.Message, text: string, options: { parseMode?: "html" | "md", deleteAfter?: number } = {}): Promise<void> {
118 const { parseMode = "html", deleteAfter = 10 } = options;
119 try {
120 await msg.edit({ text, parseMode });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected