klopypierDM
Docker
build
docker build --pull --rm -f "Dockerfile" -t klopypierdm:latest "."
create telegram-send.conf
create a file with the following content:
[telegram]
token = 12345678:AJKhsjUJHJjOAZI00HvY51qNevj6J2EBijo
chat_id = 1234567890
make sure to replace token and chat_id with your own values.
get token from botfather - telegram.org how to get a group chat id? - stackoverflow.com
run (once)
docker run --name klopypier -d -v $(pwd)/telegram-send.conf:/root/.config/telegram-send.conf klopypierdm:latest
run (another run)
docker start klopypier