Ref - https://github.com/telegraf/telegraf
It lets you do 3 things
bot.on(message('text'), async (ctx) => {
// Explicit usage
await ctx.telegram.sendMessage(ctx.message.chat.id, `Hello ${ctx.state.role}`)
// Using context shortcut
await ctx.reply(`Hello ${ctx.state.role}`)
})

bot.on('callback_query', async (ctx) => {
// Explicit usage
await ctx.telegram.answerCbQuery(ctx.callbackQuery.id)
// Using context shortcut
await ctx.answerCbQuery()
})
<aside> 💡
If you don't answer, the button will show a loading spinner forever
You have up to 30 seconds to answer </aside>
Inline queries - Not needed for bonkbot