i have a problem, when telepot sends the second message (after pressing the 'reply_markup=keyboard_selection'), telepot sends also the first message 'bot.sendMessage(chat_id, text = "Cosa desideri fare?", reply_markup=keyboard_selection)'
import time
import telepot
from telepot.loop import MessageLoop
import telepot.namedtuple
bot = telepot.Bot("1210935912:AAG4X8vHlXLM3jQWnxFKDB2NsZ6pqTQM7lQ")
lista = ["New York","Los Angeles","Miami","Toronto","Berlin","Rome","Ciao"]
seq = iter(lista)
#reqloc = keyboard = {"text": "Utilizza la geolocalizzazione", "request_location": True} Update Beta 1.01
#keyboard = {"keyboard": [[reqloc]]+[[{"text": i} for i in pair] for pair in zip(seq)]}
keyboard_locpo = {"keyboard": [[{"text": i} for i in pair] for pair in zip(seq)]}
keyboard_selection = {"keyboard": [[{"text": "Cerca fermata ora"}],
[{"text": "Pianififca Viaggio"}]]}
def handle(msg):
content_type, chat_type, chat_id = telepot.glance(msg)
bot.sendMessage(chat_id, text = "Cosa desideri fare?", reply_markup=keyboard_selection)
text = msg['text']
if text == "Cerca fermata ora":
bot.sendMessage(chat_id, text = "Cosa", reply_markup=keyboard_selection)