This Gotify plugin forwards all received messages to Telegram through the Telegram bot.
By shared object
Build from source
Change GOTIFY_VERSION in Makefile.
Build the binary.
make build
When only the Gotify dashboard receives your message, but not Telegram:
If, when making the API call to get your bot's chat ID, no data is returned, you may need to change the bot's privacy settings.
Mandatory secrets.
GOTIFY_HOST=ws://YOUR_GOTIFY_IP (depending on your setup, "ws://localhost:80" will likely work by default)
GOTIFY_CLIENT_TOKEN=YOUR_CLIENT_TOKEN (create a new Client in Gotify and use the Token from there, or you can use an existing client)
TELEGRAM_CHAT_ID=YOUR_TELEGRAM_CHAT_ID (conversation ID from the Telegram API call above)
TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN (API token provided by BotFather)