Using chat bot for Telegram in docker.
261
Using telegram-chat-bot in docker.
Source code from Netrvin(GitHub).
config.jsonconfig.json to the containerdownload the config.json HERE, then modify the config.json. add your token(bot api as above) to the file.
{
"Admin": 0,
"Token": "",
"Lang": "zh",
}
send /setadmin to the bot in Telegram to set yourself as administrator.
$ docker run -d \
-v /path/to/your/config.json:/pmbot/config.json \
dtcokr/chatbot
Content type
Image
Digest
Size
46.1 MB
Last updated
about 7 years ago
docker pull dtcokr/chatbot