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

Method sendReply

fbi/fbi.ts:532–536  ·  view source on GitHub ↗
(original: Api.Message, text: string)

Source from the content-addressed store, hash-verified

530 targetArgs = args.slice(1);
531 for (const [p, c] of this.chatCache)
532 if (c.username?.toLowerCase() === gn) { scopePeer = p; break; }
533 if (!scopePeer) {
534 try {
535 const e = entityFields(await cl.getEntity(gn));
536 if (e.username?.toLowerCase() === gn) scopePeer = String(e.id);
537 } catch {}
538 if (!scopePeer) {
539 await msg.edit({ text: `❌ 无法解析群组 @${gn}`, parseMode: "html" });

Callers 2

doCsMethod · 0.95
doDsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected