跳到正文
Hatcher网站

Telegram

Easy2 minFree

Prerequisites

  • A Telegram account
  • Telegram app (desktop or mobile)

Setup Steps

1

Open BotFather

Search for @BotFather in the Telegram app and start a conversation. BotFather is the official Telegram bot for creating and managing bots.

2

Create a new bot

Send the /newbot command to BotFather. It will ask you for a display name (e.g., "My Hatcher Agent") and a username. The username must end with "bot" (e.g., "my_hatcher_agent_bot").

3

Copy the bot token

BotFather will respond with your HTTP API token. It looks like this:

123456789:ABCdefGHIjklMNOpqrSTUvwxYZ
4

Configure in Hatcher

Go to your agent's Integrations tab in the Hatcher dashboard. Select Telegram, paste your bot token, and save.

5

Deploy or restart

Deploy your agent (or restart it if already running). The Telegram integration activates automatically.

Configure in Hatcher

Navigate to your agent's Integrations tab and fill in the following fields:

Bot Token
123456789:ABCdef...

The HTTP API token from BotFather

Testing

  1. 1Open Telegram and find your bot by its username
  2. 2Send a message like "Hello"
  3. 3Your agent should respond within a few seconds
  4. 4Check the Logs tab in Hatcher to verify message receipt

Troubleshooting

Hatcher

选择用户名

为你的 Hatcher 账户设置专属名称。此名称会显示在个人资料和共享智能体中。

3–30 个字符:英文字母、数字、下划线或连字符。