Telegram
Send wtree Cloud events to a Telegram chat or channel from your own bot.
Send wtree Cloud events to a Telegram chat or channel from your own bot. You pick which events trigger it, see Notifications.
Before you start
- A Telegram account.
Connect
Open @BotFather, click Start, and send /newbot.
Name the bot. The username must end with _bot, for example w3panel_bot. Copy the bot token.
Find your chat ID: search for @userinfobot, send /start, and copy the ID it returns. To post to a channel, create the channel first.
Open Integrations › Notifications in the panel, click Add notification and choose Telegram.
Fill in the form:
| Field | Value |
|---|---|
| Name | Any label |
| Bot Token | 123456789:ABCdefGHIjklMNOPqrstUVWXYZ |
| Chat ID | 123456789 |
Click Test to send a test message, then Create.
Use it
The notification fires for every event enabled on it. Click Test again after editing to confirm delivery.
Limits
Error details, for example from a failed build or backup, are cut to the first 3,000 characters to fit Telegram's message size limit. Open the logs in wtree Cloud for the full output.
