Skip to content

defp/Telegram-incoming-webhooks

Repository files navigation

Telegram-incoming-webhooks

Incoming Webhooks are a simple way to post messages from external sources into Telegram

Like slack, https://api.slack.com/incoming-webhooks

usage

bot: https://telegram.me/IncomingWebhook_bot

command: /text

http request example

get

## Request (11)
curl "https://telegram-incoming-webhooks.herokuapp.com/incoming_text/123?text=helloword" \
     -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
     --data-urlencode "text=helloworld"

deploy

build

MIX_ENV=prod mix release --verbose --env=prod

docker

docker build -t tg-webhooks .
docker run --restart=always -d -p 443:443 -v /etc/letsencrypt/:/etc/letsencrypt/ tg-webhooks:latest

deploy to heroku config example

links

About

Incoming Webhooks are a simple way to post messages from external sources into Telegram Like slack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published