R
R
rosit132022-01-03 20:46:57
Python
rosit13, 2022-01-03 20:46:57

Telegram Bot stops working when sending a picture. What to do?

Having created the first telegram bot, I ran into a problem. My bot sends a picture when I click on the button, then I threw the bot on Heroka and everything worked fine! But then, when I tried to change the code (change the picture sent by the bot) by running it again on the server, it started to stop working after clicking this button.
Although if you run it directly through PyCharm, then everything works!

Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question