mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-24 22:45:56 +03:00
[GH-ISSUE #1221] Feature Request: configurable Telegram API URL environment variable #825
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#825
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @arsalanses on GitHub (Oct 22, 2025).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1221
Add support for custom Telegram API URL via environment variable.
Proposed change:
Thank you
@cuu508 commented on GitHub (Oct 27, 2025):
Thanks for the suggestion. What is the use case for this?
@arsalanses commented on GitHub (Oct 27, 2025):
This could be particularly useful in scenarios where Telegram is banned or restricted by certain providers, as it would allow users to bypass such restrictions by specifying an alternative API endpoint.
@cuu508 commented on GitHub (Oct 27, 2025):
I see. There could be an analogous situation with other integrations too – Slack, Discord, Google Chat, MS Teams etc. So I would rather not add something Telegram-specific. Wouldn't a better solution be a VPN that proxies all traffic, not just requests to Telegram?
@arsalanses commented on GitHub (Oct 28, 2025):
A VPN is overkill, it adds latency, complexity, and affects all traffic unnecessary when only Telegram’s API endpoint needs overriding (common in restricted networks or with local mirrors).
Projects like Gatus and Alertmanager already support TELEGRAM_API_URL. A simple, optional env var keeps things lightweight and consistent.
P.S. By the way, integrating Alertmanager would be a great idea too!
@cuu508
@cuu508 commented on GitHub (Jan 7, 2026):
I'm not planning to add TELEGRAM_API_URL. I want to avoid the sprawl of environment variables, especially if we over time start adding similar settings for other integrations as well.
The easiest workaround would be to use the webhook integration.