start.py 552 B

123456789101112131415
  1. from telegram.telegram_bot import bot
  2. from telegram.telegram_supplementary import send_message_problem
  3. from telegram.telegram_ui import (develop_message_user,
  4. calculate_text_operations)
  5. bot.polling()
  6. # try:
  7. # bot.polling()
  8. # # TODO check here this value
  9. # # bot.infinity_polling(timeout=10, long_polling_timeout = 5)
  10. # except Exception as e:
  11. # error = f'We faced problematic error: {e}'
  12. # print(error)
  13. # print('###############################################')
  14. # send_message_problem(error)