M
M
MajorTom692017-05-30 22:08:31
Python
MajorTom69, 2017-05-30 22:08:31

How to host a telegram bot on heroku?

Is there a step-by-step (as far as possible) instructions for deploying a telegram bot in python on heroku somewhere on the net? If someone could explain in person it would be great. let's say I have a folder with a bot.py file, what's next?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg, 2017-05-30
@ptrvch

Create a Procfile file in the root directory, enter the following in it:
Then, on the command line in the working directory, enable the worker:
otherwise, the deployment differs little from the usual deployment of a web application on heroku, which is described in the help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question