R
R
Romi2022-01-28 15:55:11
Bots
Romi, 2022-01-28 15:55:11

Is it possible to somehow simply and quickly raise the Telegram Local Bot API Server in Docker Compose (best of all - in Laradock) - how exactly?

I am currently developing a Telegram bot. I use web hooks. Accordingly, you have to develop on a remote VPS, and this is not very convenient.

Telegram offers as a solution: https://core.telegram.org/bots/api#using-a-local-b... - according to the description, this is what you need.

Question: - Is there a chance to somehow raise this server in the usual development environment - Laradock? Or directly in Docker (although I have experience in docker == 0). In general, somehow relaxed and in a container.

If you have experience please share.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alekssamos, 2022-01-28
@romicohen

I raised, if you collect from C ++, it's a long time. But you can assemble it once, you get one file, you can already use it everywhere.
After launch, it will be at the address 127.0.0.1 and port 8081.

I
InternetMaster, 2022-01-28
@InternetMaster

Maybe it's more efficient to open a port so that webHooks are sent to your computer?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question