node-telegram-bot-api
node-telegram-bot-api copied to clipboard
Question/Bug: using both callback_data and login_url into an InlineKeyboardButton
I have added two InlineKeyboardButton with login_url in a message. When I click on one of them the bot doesn't receive any inline_query message, so I added also the field callback_data but in this way the field login_url is not working anymore.
Are these two fields not compatible togheter?
you can do this with callback requery like this
bot.on('callback_query', query => {}
you can do this with callback requery like this
bot.on('callback_query', query => {}
yes of course, using the field callback_data , but in this way the field login_url is not working. I have to remove callback_data no enable login_url