multiple-choice polls in telegram. quite like @vote bot, but allows multiple choice.
place TOKEN in the environment file .env.
for webhooks:
- set
WEBHOOK_URLin the.env; - optionally set
LISTENandPORT(defaults to '127.0.0.1' and 80); - when running from docker,
docker-compose.ymlsetsLISTENto '0.0.0.0'; - set up reverse proxy on that URL to forward traffic to the app's host and port.
bot will listen set webhook and handle queries on WEBHOOK_URL/TOKEN.
$ docker-compose up
$ ./restart.sh