Sign inSign up

iam21h/telegram-post-bot

By iam21h

•Updated over 6 years ago

Telegram bot for posting incoming JSON to chat or channel.

Image
1

2.0K

iam21h/telegram-post-bot repository overview

Telegram bot to forward messages in JSON format from TCP port to Telegram channel, group or person chat.

Deploying:

ENV_TELEGRAM_TOKEN=telegram_bot_token
ENV_RAVEN_TOKEN=sentry.io_token

docker run --name telegram-post-bot -p 10010:10021 \
    -e TELEGRAM_API_TOKEN=$ENV_TELEGRAM_TOKEN \
    -e RAVEN_TOKEN=$ENV_RAVEN_TOKEN \
    -e USEIP=true \
    telegram-post-bot

USEIP=true is required to accept connections with tcp port RAVEN_TOKEN is optional variable for catching exceptions to Sentry.io.

Sample use https://blindage.org/?p=9548⁠, just change socketfile to TCP port.

Tag summary

Content type

Image

Digest

Size

342.7 MB

Last updated

over 6 years ago

docker pull iam21h/telegram-post-bot