-1
I’m developing a Telegram bot and part of it is already functional. Now, I need to receive a user input with questions that the system asks so that I can further automate the processes. In the documentation, I couldn’t find a way to do it (https://pypi.org/project/pyTelegramBotAPI) and in the example codes on Github I also did not find any code that receives this.
The part of the code I need to receive user information from:
## -------------- Começa o cadastro --------------------
@bot.message_handler(commands=['vamosla'])
def send_message(message):
bot.send_message(message, "Digite seu Nome completo: ")
# Ler o texto digitado
# Armazena a informação
time.sleep(2)
bot.send_message(message.chat.id, "O que acha de fazermos agora?\n /start: Ir para o menu principal.\n /atendimento: Ser atendido. \n /sair: Finalizar atendimento.")
Is it possible to receive this information?