Skip to content

Commit 9062b1c

Browse files
committed
fix linting errors
1 parent 2f55e1f commit 9062b1c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/telegram_execution_context.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import TelegramApi, {
77
SendVoiceParams,
88
SendChatActionParams,
99
SendInvoiceParams,
10-
EditMessageTextParams,
1110
SendMessageDraftParams
1211
} from './telegram_api.js';
1312
import TelegramBot from './telegram_bot.js';
@@ -504,7 +503,7 @@ export default class TelegramExecutionContext {
504503
}
505504

506505
if (finish) {
507-
return await this.reply(message, parse_mode, true, options as any);
506+
return await this.reply(message, parse_mode, true, options as unknown as Record<string, string | number | boolean>);
508507
}
509508

510509
const params: SendMessageDraftParams = {

0 commit comments

Comments
 (0)