mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-19 03:49:35 +08:00
Add Telegram custom bot api server support (#5668)
This commit is contained in:
@@ -9,7 +9,7 @@ class Telegram extends NotificationProvider {
|
||||
*/
|
||||
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
|
||||
const okMsg = "Sent Successfully.";
|
||||
const url = "https://api.telegram.org";
|
||||
const url = notification.telegramServerUrl ?? "https://api.telegram.org";
|
||||
|
||||
try {
|
||||
let params = {
|
||||
|
Reference in New Issue
Block a user