https://github.com/defp/telegram-incoming-webhooks
Incoming Webhooks are a simple way to post messages from external sources into Telegram Like slack
https://github.com/defp/telegram-incoming-webhooks
elixir-lang sentry-plugin telegram telegram-bot telegram-bot-api webhooks
Last synced: 4 months ago
JSON representation
Incoming Webhooks are a simple way to post messages from external sources into Telegram Like slack
- Host: GitHub
- URL: https://github.com/defp/telegram-incoming-webhooks
- Owner: defp
- License: apache-2.0
- Created: 2018-02-06T07:32:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-24T05:22:25.000Z (almost 6 years ago)
- Last Synced: 2025-11-18T14:37:23.595Z (7 months ago)
- Topics: elixir-lang, sentry-plugin, telegram, telegram-bot, telegram-bot-api, webhooks
- Language: Elixir
- Homepage: http://telegram.me/IncomingWebhook_bot
- Size: 40 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
MIX_ENV=prod mix release --verbose --env=prod
```
docker
```bash
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
* https://github.com/zhyu/nadia
* https://hexdocs.pm/nadia/