mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
polling should leave our world. :)
This commit is contained in:
@ -31,4 +31,4 @@ def ready_for_answer(message, state: State):
|
||||
bot.send_message(message.chat.id, "Ready, take a look:\n<b>Name: {name}\nSurname: {surname}\nAge: {age}</b>".format(name=data['name'], surname=data['surname'], age=message.text), parse_mode="html")
|
||||
state.finish(message.chat.id)
|
||||
|
||||
bot.polling()
|
||||
bot.infinity_polling()
|
||||
|
Reference in New Issue
Block a user