I'm trying to send a message after a user has clicked on the inline buttons. It tells me the chat_id is not valid. When i take it out it tells me i have to include it.
Every other button works fine and i recieve the callback in terminal
def on_callback_query(msg):
query_id, from_id, query_data = telepot.glance(msg, flavor='callback_query')
print('Callback Query:', query_id, from_id, query_data)
if query_data == 'a':
bot.sendMessage(chat_id, 'dsuhsdd')