Configure Telegram Alerts on DrayTek Router (Using SMS Provider)

Create SMS Provider in DrayTek

Navigate to:

Objects Setting → SMS/Mail Service Object

Create a new SMS Provider and configure the URL template:

https://api.telegram.org/bot<Token>/sendMessage?chat_id=<BotID>&text=###txtMsg###

Replace the parameters:

  • <Token>: Telegram Bot Token
  • <BotID>: Telegram Chat ID
  • ###txtMsg###: Message macro generated by DrayTek

Example:

https://api.telegram.org/bot5991000400:AAXXqhmGXXFDdqLxU4pJJd8FKL5JY8VAWRY/sendMessage?chat_id=-1001930005500&text=###txtMsg###

Quota: Set a high value. This limits how many messages can be sent.

Sending Interval: Configure to prevent alert flooding when events repeat frequently.

Pages: 1 2 3 4 5