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

Method clickCallbackButton

checkin/checkin.ts:494–504  ·  view source on GitHub ↗
(client: any, peer: string, msg: Api.Message, target: SignTarget)

Source from the content-addressed store, hash-verified

492 await this.sendViaBot(conf.botToken, conf.pushChatId, summary);
493 sent = true;
494 } catch (e) {
495 console.error("[CheckIn] Bot push failed:", e);
496 }
497 }
498 if (!sent) {
499 const peer = conf.logChat || fallbackPeer;
500 if (peer) {
501 try {
502 await client.sendMessage(peer, { message: summary, parseMode: "html", linkPreview: false });
503 sent = true;
504 } catch (e) {
505 console.error("[CheckIn] Userbot push failed:", e);
506 }
507 }

Callers 1

runSingleSignMethod · 0.95

Calls 1

findCallbackButtonMethod · 0.95

Tested by

no test coverage detected