# Telegram Post

> Send a message, a photo or a video to a Telegram chat, channel or group through your connected bot. The node picks the kind of message from what you connect.

Source: https://nodaro.ai/docs/nodes/publish/telegram-post

The **Telegram Post** node sends a message, a photo or a video to a Telegram chat, channel or group through a bot you connected. It chooses what to send from what you connect: text alone becomes a message, and an image or a video is sent with the text as its caption.

- Found in: Publish › Platforms
- Output: none
- API type: `telegram-post`

## When to use it
- Post each new generated image or video to your Telegram channel.
- Send the result of a workflow to your own chat as a notification.
- Rewrite posts from another channel and repost them, with a [Telegram Channel Feed](https://nodaro.ai/docs/nodes/automate/telegram-channel-feed) at the start of the workflow.

## Quick start
### Connect your bot

Open the **Integrations** page and connect your Telegram bot by pasting its token.

### Add the bot to the chat

Add the bot to the channel or group you want to post to. For a channel, make the bot an admin with permission to post messages.

### Add the node and set the Chat ID

Press Tab on the canvas and choose **Publish › Platforms › Telegram Post**. In the settings panel, choose the bot under **Account** and type the **Chat ID**.

### Connect the content and run

Connect an image, a video or text to the node's input, type the **Caption**, and click **Run**.

Workflow: A prompt becomes an image, and Telegram Post sends it to a channel as a photo.

- Text → Generate Image (prompt)
- Generate Image → Telegram Post

## Inputs
The node has one input on its left edge. It accepts an image, a video or text. The node sends:

| You connect | The node sends |
| --- | --- |
| Text only | A message |
| An image | A photo, with the caption |
| A video | A video, with the caption |

## Settings
| Setting | What it does |
| --- | --- |
| **Account** | The connected Telegram bot that sends the post. |
| **Chat ID** | Required. The chat to post to: `@channelname`, a channel or group ID that starts with `-100`, or the numeric ID of a group or a private chat. |
| **Caption** | The message, or the caption of the photo or video, up to 4,096 characters. |

## Find the Chat ID

The settings panel has a **How to find your Chat ID** link with the same steps.

- **A public channel.** Use its username with an `@`. It is the part after `t.me/`, so `t.me/mychannel` becomes `@mychannel`.
- **A private channel or a group.** You need its numeric ID, which starts with `-100`. Add your bot to the chat and post any message there. Then open `api.telegram.org/bot<TOKEN>/getUpdates` in a browser, with your bot's token in place of `<TOKEN>`, and copy the number after `"chat":{"id":`.

In both cases, the bot must be in the chat. In a channel, the bot must be an admin with permission to post.

## Credits
Each post costs 10 credits. The node that made the image or video charges for it separately.

## Tips
- **Test in a private chat first.** Send the first runs to a group that only you are in, then switch the **Chat ID** to your channel.
- **Use one node for every network.** [Publish to Social](https://nodaro.ai/docs/nodes/publish/publish-to-social) can post to your Telegram bot too, with the same **Chat ID** field.
- **Start from Telegram.** A [Telegram Trigger](https://nodaro.ai/docs/nodes/automate/telegram-trigger) starts a workflow when your bot receives a message.

## Troubleshooting
**The Chat ID field is outlined in red.** The field is empty, and the node needs it to know where to post. Type the chat's `@username` or its numeric ID.

**The bot cannot post to the channel.** Add the bot to the channel as an admin with permission to post messages.

## Frequently asked questions

### How do I find the Chat ID of my Telegram channel?

For a public channel, use its username with an @, which is the part after t.me/. For example, t.me/mychannel becomes @mychannel. A private channel or group needs its numeric ID, which starts with -100.

### Why does my bot fail to post to a channel?

The bot must be a member of the chat. For a channel, add the bot as an admin with permission to post messages.

### Does Telegram Post send a photo or a message?

The node decides from what you connect. With only text, it sends a message. With an image, it sends a photo with the text as its caption. With a video, it sends a video.

### How long can a Telegram message be?

The message or caption can have up to 4,096 characters.

### How much does a Telegram post cost?

Each post costs 10 credits. The image or video is paid for by the node that made it.
