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

Function editMessage

ai/ai.ts:3779–3785  ·  view source on GitHub ↗
(
    msg: Api.Message,
    text: string,
    parseMode: string = "html",
  )

Source from the content-addressed store, hash-verified

3777
3778 protected async editMessage(
3779 msg: Api.Message,
3780 text: string,
3781 parseMode: string = "html",
3782 ): Promise<void> {
3783 await MessageSender.sendOrEdit(msg, text, { parseMode });
3784 }
3785}
3786
3787class ConfigFeature extends BaseFeatureHandler {
3788 readonly name = "配置管理";

Callers

nothing calls this directly

Calls 1

sendOrEditMethod · 0.45

Tested by

no test coverage detected