B
B
BUTURUM2022-03-29 15:32:06
Digital certificates
BUTURUM, 2022-03-29 15:32:06

How to implement Telegram WebHook on heroku?

I have a telegram bot hosted on heroku. Running heroku with the free package won't let my app run 24/7 in worker mode, so we can't afford polling. The solution could be WebHook, but it requires a TLS certificate. where to get it or make it work? I've read the node-telegram-bot-api and heroku documentation on this topic, but I didn't understand anything.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2022-03-29
@2ord

Obviously, you need to select the Hobby package or higher, which ensures that the application does not fall asleep and also solves the problem with the certificate.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question