Description
❓ Support Question
because the telegram group does not allow me to send messages, I will use github, sorry
Required Information
? | ! |
---|---|
Operating system | docker from php:8.0-apache |
PHP Telegram Bot version | 0.81 |
PHP version | 8.0 |
MySQL version | mysql Ver 15.1 Distrib 10.5.21-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper |
Update Method | Webhook / getUpdates |
Self-signed certificate | yes / no |
Summary
I'm trying to get it work in docker,
i read most of the wiki and issues about how to set up and launch, also checked examples repository, but i still have problems
in general, i want first to get it to work and do some tests
because based on webhook flow i need to have some live domain and not only a local server, i moved my view to the getUpdates flow
so in docker i have PHP and MySQL containers. There are no problems here, both work and communicate as it should
from my old experience in JS telegraf library, i just run the service and it works until i close the terminal
but here after I'm running php ./getUpdatesCLI.php i see response Processed 0 updates
and that's it, script just ends the execution
how to get it to stay live all the time, and wait for commands from telegram?
i saw cron file but it is also not really clear how it should run to have it live and waiting commands from telegram chat