My Telegram bot needs to send messages to channel and provide inline keyboard for every message, it looks like this: inline message keyboard
I need to react on this keyboard button click event, but I can't find docs or examples showing how to do it. Here in docs I can only see that such buttons can open URL or switch chat, but it's not the functionality I need.
Currently my code for message sending looks like this (I use NodeJS Telegraf framework):
const Telegraf = require('telegraf');
const { Markup, Telegram } = Telegraf;
const telegram = new Telegram(process.env.BOT_TOKEN);
const inlineMessageRatingKeyboard = [[
{ text: '