diff --git a/adapters/telegram/package.json b/adapters/telegram/package.json index 98e95e1e..c060ae71 100644 --- a/adapters/telegram/package.json +++ b/adapters/telegram/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/adapter-telegram", "description": "Telegram Adapter for Satorijs", - "version": "3.8.0", + "version": "3.8.1", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ diff --git a/adapters/telegram/src/message.ts b/adapters/telegram/src/message.ts index fa236873..a64e26d5 100644 --- a/adapters/telegram/src/message.ts +++ b/adapters/telegram/src/message.ts @@ -56,7 +56,7 @@ export class TelegramMessageEncoder extends MessageEncoder { const method = await appendAsset(this.bot, form, this.asset) const result = await this.bot.internal[method](form as any) await this.addResult(result) - delete this.payload.reply_to_message + delete this.payload.reply_to_message_id this.asset = null this.payload.caption = '' } @@ -75,7 +75,7 @@ export class TelegramMessageEncoder extends MessageEncoder { disable_web_page_preview: !this.options.linkPreview, }) await this.addResult(result) - delete this.payload.reply_to_message + delete this.payload.reply_to_message_id this.payload.caption = '' } }