> ## Documentation Index
> Fetch the complete documentation index at: https://docs.riggery.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Telegram send

> Send a message through the Instance bot.

Sends a message. As a Tool, the model may pass `resultId` to forward a stored Tool result.

<h2 id="input">
  Input
</h2>

Inspector **Settings**. Empty-field rules for the Graph: [Previous nodes](/graph/previous-nodes). **Insert value** is on **Bot token**, **Chat id**, and **Text**.

On an Agent Tool, **Chat id** and **Text** can be **Agent decides** or **Fixed**.

| Field         | Required | Empty               | Notes                                                                                                 |
| ------------- | -------- | ------------------- | ----------------------------------------------------------------------------------------------------- |
| **Bot token** | Yes      | Inherit Connections | Placeholder `{{secret:telegram-bot}}`. Uses the Instance bot on [Connections](/instance/connections). |
| **Chat id**   | Yes      | Fail                | Incoming Telegram can fill this chat.                                                                 |
| **Text**      | Yes      | Previous Result     | Still fails if there is no text after that.                                                           |

<h2 id="output">
  Output
</h2>

On the next node, **Previous nodes** lists **`Telegram send`: Result** (`{{Telegram send.text}}` while the name is unique).

| Output | In menu | Type | Next node gets                                                                                                   |
| ------ | ------- | ---- | ---------------------------------------------------------------------------------------------------------------- |
| Result | Yes     | Text | Graph: `Sent to Telegram chat {id}`. Agent Tool: `Sent to Telegram chat {id} ({n} chars).` Not the message body. |
