Skip to content

Commit 301e9e9

Browse files
committed
Merge branch 'master' of github.com:anhbh310/gotify2telegram
2 parents ddb9e3e + 7ae4719 commit 301e9e9

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,21 @@ This Gotify plugin forwards all received messages to Telegram through the Telegr
2828
2929
3. Follow instructions from step 2 in the shared object installation.
3030
31+
## Troubleshooting
32+
1. When only the Gotify dashboard receives your message, but not Telegram:
33+
34+
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.
35+
36+
- In the BotFather chat, list your created bots and select the respective bot for which you want to change the Group Privacy setting.
37+
- Turn off the Group Privacy setting.
3138
3239
## Appendix
3340
Mandatory secrets.
3441
3542
```(shell)
36-
GOTIFY_HOST=ws://YOUR_GOTIFY_IP
37-
GOTIFY_CLIENT_TOKEN=YOUR_CLIENT_TOKEN
38-
TELEGRAM_CHAT_ID=YOUR_TELEGRAM_CHAT_ID
39-
TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN
43+
GOTIFY_HOST=ws://YOUR_GOTIFY_IP (depending on your setup, "ws://localhost:80" will likely work by default)
44+
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)
45+
TELEGRAM_CHAT_ID=YOUR_TELEGRAM_CHAT_ID (conversation ID from the Telegram API call above)
46+
TELEGRAM_BOT_TOKEN=YOUR_TELEGRAM_BOT_TOKEN (API token provided by BotFather)
4047
```
48+

0 commit comments

Comments
 (0)