This bot creates a poll on a Telegram group when requested by a person in another admin group. There are several polls that can be sent based on the situation that requires them.
You will need the group IDs for the admin and general groups as well as a Telegram API token. The token is generated by the botfather on Telegram. Once you have registered your bot, you can add it to the groups you want to use. To get the group IDs you can use the Telegram API:
curl https://api.telegram.org/bot<YourBotToken>/getUpdates | grep chat
The ID of the chat is listed in the chat object.
The configuration file can be mounted to /nsribot.yml or
configuration can be done using environment variables. The file location can be
changed with the NSRI_BOT_CONFIG_FILE environment variable.
All configuration options can be set using environment variables:
docker run -e NSRI_BOT_TOKEN=<YourBotToken> station8ops/telegram-callout-bot:dev
Content type
Image
Digest
sha256:dbe514c1f…
Size
98.2 MB
Last updated
11 months ago
docker pull station8ops/telegram-callout-bot