La documentación para telegraf está aquí: https://www.npmjs.com/package/telegraf
Por lo que he leído, esto debería funcionar:
const { Telegraf } = require('telegraf') const bot = new Telegraf(process.env.BOT_TOKEN) bot.hears('good morning', (ctx) => ctx.reply('Good morning to you too!')) bot.launch() // Enable graceful stop process.once('SIGINT', () => bot.stop('SIGINT')) process.once('SIGTERM', () => bot.stop('SIGTERM'))Este es el código editado del primer ejemplo en los documentos.
Puedes hacer algo como
bot.command(key, (ctx) => { ctx.reply('A Reply', { reply_to_message_id: ctx.message.message_id }) })