L
L
leet8962017-04-07 23:24:21
Python
leet896, 2017-04-07 23:24:21

How to connect webhook for telegram bot and run it later on heroku?

Hello, I wrote a simple bot for telegrams in python using lessons (I'm just a beginner in this business)
I want to put it on heroku, but I ran into a problem, what else is needed to have a webhook in the code, I have two questions now (
1. What else needs to be written in the code so that the webhook is there?
(I ask the code itself and describe it in detail, where it is necessary and what to insert (Example or something like that))
2. How to put the received ready-made webhock bot on the server heroku(I didn't figure it out myself either)
Please help me people,

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Romanov, 2017-04-08
@leet896

You can see the most basic example here https://github.com/Djaler/CoinBot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question