Skip to content

Telegram

Connect your own Telegram bot to an agent graph so it answers direct messages, group mentions, and commands in real time. Phinite registers the webhook with Telegram for you, so nothing else needs configuring in Telegram.

Telegram configuration

Field Required What it is
Bot Token Yes The token from @BotFather
Webhook Secret No Shared secret Telegram sends with every update so Phinite can confirm it is genuine. Letters, digits, _ and - only, up to 256 characters. When empty, Phinite derives one from the bot token.
Webhook URL — Registered with Telegram automatically when you save
  1. Create a bot In Telegram, message @BotFather, send /newbot, and copy the bot token.

  2. Add the configuration Go to Integrations → Channels → Telegram, click + Configuration, enter a Name of the connection, pick the Agentic graph, and paste the token into Bot Token for the environment you want.

  3. Save Phinite registers the webhook with Telegram. If registration fails, the app shows “Telegram webhook not registered” with the environment and the reason.

  4. Groups (optional) Add the bot to the group and either @mention it, or turn off privacy mode with /setprivacy in @BotFather.

A build of the agent graph must be assigned to the environment you configure. See Builds & Deploy.

Command What it does
/start Start talking to the agent
/reset Start a new conversation
/getchatid Show the current chat ID
/getuserid Show your Telegram user ID

In groups, the bot answers only when it is @mentioned, replied to, or sent a /command@botname.