Docs/Skills & Integrations/Telegram
Integration

Telegram

Deploy your Lobstack agent as a Telegram bot. Receive and respond to messages from Telegram users and groups.

Setup Guide#

1

Create a Bot with BotFather

Open Telegram and search for @BotFather. Send the /newbot command and follow the prompts to create your bot.

2

Copy the Bot Token

BotFather will give you a token that looks like 123456:ABC-DEF1234ghIkl-zyx57W2v. Copy it.

3

Configure in Lobstack

You can add your Telegram token in two ways:

  • During onboarding — Select Telegram as your messenger and paste the token
  • After deployment — Go to Dashboard → Skills → Telegram → ⚙️ and add the token
4

Start Chatting

Open your bot in Telegram (search for its username) and send it a message. Your Lobstack agent will respond!

Telegram as primary messenger

If you select Telegram as your messenger channel during setup, the bot token is baked into your VM configuration and the agent will actively listen for Telegram messages. If you add it as a skill later, you'll need to rebuild your agent for it to take effect as the primary channel.

Features#

  • Direct messages — Your agent responds to DMs from any Telegram user
  • Group chats — Add the bot to groups for shared agent access
  • Rich responses — Markdown formatting, code blocks, and inline links
  • Full tool access — The agent can execute terminal commands, browse the web, and use all enabled skills when responding to Telegram messages

Custom Commands#

You can set custom commands for your bot via BotFather using /setcommands. These appear in the Telegram menu and provide a convenient way for users to interact with specific features.

text
start - Start interacting with the agent
help - Get help and available commands
status - Check agent server status