const { stopSession, getSession } = require('../utility/live'); module.exports = { prefix: 'livestop', handler: async (bot, query) => { const chatId = query.message.chat.id; const botMessageId = query.message.message_id; // callback_data = livestop: const userMessageId = query.data.split(':')[1]; await stopSession(bot, chatId, botMessageId, userMessageId); bot.answerCallbackQuery(query.id); } };