Telegram
Use this integration to send messages, photos, or edit messages using the Telegram Bot API.
Modes
This node reconfigures itself depending on the selected mode — each mode has its own fields.
| Mode | What it does | Output |
|---|---|---|
| Send Message | Send a text message to a specified chat ID through the bot. | JSON |
| Send Photo | Send a photo (by file_id, URL, or attach://) with optional caption to a chat. | JSON |
| Send Audio | Sends an audio file (music, podcast, etc.) to the specified chat. | JSON |
| Get File | Retrieve a file from Telegram servers using its file ID. | JSON |
| Get Updates | Retrieves incoming updates using long polling. | JSON |
| Edit Message Text | Edit the text content of a previously sent bot message. | JSON |
| Delete Message | Deletes a message in a chat. | JSON |
Send Message
Send a text message to a specified chat ID through the bot.
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Bot Token | Text | Required | The bot’s authentication token provided by BotFather. |
| Chat ID | Text | Required | The unique chat identifier where the message or action should be sent. |
| Text | Text (multiline) | Required | The text content of the message to send. |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Parse Mode | Select | None | The formatting style of the message: Markdown, HTML, or none. |
| Disable Link Preview | Toggle | Off |
Parse Mode options
| Option | Default |
|---|---|
| Markdown | |
| HTML | |
| None | ✓ |
Output: JSON
Send Photo
Send a photo (by file_id, URL, or attach://) with optional caption to a chat.
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Bot Token | Text | Required | The bot’s authentication token provided by BotFather. |
| Chat ID | Text | Required | The unique chat identifier where the message or action should be sent. |
| Photo (file_id / URL / attach://) | Text | Required | |
| Caption | Text (multiline) | Optional |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Parse Mode | Select | None | |
| Cover with spoiler blur | Toggle | Off |
Parse Mode options
| Option | Default |
|---|---|
| Markdown | |
| HTML | |
| None | ✓ |
Output: JSON
Send Audio
Sends an audio file (music, podcast, etc.) to the specified chat.
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Bot Token | Text | Required | The bot’s authentication token provided by BotFather. |
| Chat ID | Text | Required | The unique chat identifier where the message or action should be sent. |
| Audio (file_id / URL / attach://) | Text | Required | |
| Caption | Text (multiline) | Optional |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Parse Mode | Select | None |
Parse Mode options
| Option | Default |
|---|---|
| Markdown | |
| HTML | |
| None | ✓ |
Output: JSON
Get File
Retrieve a file from Telegram servers using its file ID.
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Bot Token | Text | Required | The bot’s authentication token provided by BotFather. |
| File ID | Text | Required | The file ID used to retrieve or reference a file stored on Telegram. |
Output: JSON
Get Updates
Retrieves incoming updates using long polling.
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Bot Token | Text | Required | The bot’s authentication token provided by BotFather. |
| Offset | Number | Optional | Identifier of the first update to be returned. Use this to avoid getting duplicate updates. |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Limit | Number | — | Limits the number of updates to be retrieved. Accepts values between 1–100. |
| Timeout (seconds) | Number | — | Timeout in seconds for long polling. This is the maximum wait time before the server responds. |
Output: JSON
Edit Message Text
Edit the text content of a previously sent bot message.
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Bot Token | Text | Required | The bot’s authentication token provided by BotFather. |
| Chat ID | Text | Required | The unique chat identifier where the message or action should be sent. |
| Message ID | Number | Required | |
| New Text | Text (multiline) | Required |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Parse Mode | Select | None | |
| Disable Link Preview | Toggle | Off |
Parse Mode options
| Option | Default |
|---|---|
| Markdown | |
| HTML | |
| None | ✓ |
Output: JSON
Delete Message
Deletes a message in a chat.
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Bot Token | Text | Required | The bot’s authentication token provided by BotFather. |
| Chat ID | Text | Required | The unique chat identifier where the message or action should be sent. |
| Message ID | Number | Required |
Output: JSON