From 32bc5a684b9c64c507e06e61d47c20108b5a12fd Mon Sep 17 00:00:00 2001 From: Muthu Kumar Date: Mon, 9 Oct 2023 00:55:57 +0530 Subject: [PATCH] hotfix: temporarily add replyWithCopy back --- bot/context.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot/context.ts b/bot/context.ts index 56bff96..98fdd27 100644 --- a/bot/context.ts +++ b/bot/context.ts @@ -76,4 +76,8 @@ export const extn: ContextExtensions = { // @ts-expect-error sendMessage is monkeypatched to accept TgHtml return this.replyWithHTML(html, extra); }, + + replyWithCopy(content, options) { + return this.telegram.sendCopy(this.chat.id, content, options); + }, };