'Process command on updated user input
I have a telegraph based bot that handles some commands just fine. I want the bot to be able to respond on edited message by user. How can I do it?
const { Telegraf } = require('telegraf');
const bot = new Telegraf(process.env.token);
...
bot.command('help', async (ctx) => {
ctx.reply("use /help 1 or /help 2");
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
