A middleware API to convert webhook from supported services to Telegram messages
Build with Go
go build
./telegram-webhook
A server will start on 8080 port.
You can create a .env
on project root folder
PORT=8081 # Choose a diferent port
TELEGRAM_BOT_DEBUG=true # Show debug information from Telegram Bot
POST /bitbucket
Query Parameter | Type | Description |
---|---|---|
bot_token |
string |
Required. Your Telegram Bot Token |
chat_id |
string |
Required. Where to send messages |
- Pipelines
- Pull Request
POST /github
Query Parameter | Type | Description |
---|---|---|
bot_token |
string |
Required. Your Telegram Bot Token |
chat_id |
string |
Required. Where to send messages |
- Workflows