Skip to content

Commit 32bc5a6

Browse files
authored
hotfix: temporarily add replyWithCopy back
1 parent 81ce7dc commit 32bc5a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bot/context.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,8 @@ export const extn: ContextExtensions = {
7676
// @ts-expect-error sendMessage is monkeypatched to accept TgHtml
7777
return this.replyWithHTML(html, extra);
7878
},
79+
80+
replyWithCopy(content, options) {
81+
return this.telegram.sendCopy(this.chat.id, content, options);
82+
},
7983
};

0 commit comments

Comments
 (0)