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); + }, };