Verified 2026-07-14 against the live Bots settings on
chat.aomi.dev and the shipped aomi-telegram bot. We use Goal Digger as the running example; swap in your own App name anywhere you see goal-digger-live.Before you start
- A deployed App that is active and loaded. If you have not deployed yet, do Deploy and activate on aomi CLI first. You can confirm it with
aomi-build deploy status. - A Telegram account.
Step 1: create a bot in Telegram
Telegram hands out bot tokens through its own bot, BotFather.- Open @BotFather in Telegram.
- Send
/newbot. - Give it a name (the display name people see, e.g. “Goal Digger”).
- Give it a username (must end in
bot, e.g.goal_digger_live_bot). - BotFather replies with a token. It looks like
123456789:AAE.... Copy it.
/revoke to BotFather and get a new one.
Step 2: register the bot on Aomi
This is where you point the bot at your App.- Go to
https://chat.aomi.dev/settingsand open the Bots tab. - Click to register a Telegram bot. Fill in:
- Label (optional): a name for your own reference, like “Goal Digger”.
- Bot Token: paste the token from BotFather.
- Default App: pick your App from the list, for example
goal-digger-live. This is what binds the bot to your App. Every message to the bot goes to this App. - Thread Mode: choose Single thread (one running conversation per user) or Multiple threads (users can keep separate conversations). Single thread is the simplest to start with.
- Create it.
Your App must appear in the Default App list, which means it has to be active first. If you do not see it, deploy or redeploy it (see Deploy and activate on aomi CLI), then reload the Bots tab.
Step 3: talk to your bot
- Open your bot in Telegram (the
t.me/<your_bot_username>link, or search its username). - Send
/start. The bot greets you and shows a menu of buttons (Wallet, App, Model, Transactions, Threads, Network, Settings). - Just type. The bot is your App. For Goal Digger, try:
where's the value today?simulate Spain vs Germanywho wins the World Cup?best World Cup bet on Polymarket right now?
Commands
You mostly just chat, but the bot also takes slash commands. Send them in a direct message, or in a group where the bot is a member.Groups
You can add your bot to a Telegram group so a whole channel can use it. Add the bot as a member, then people talk to it by mentioning it. Group behavior (respond to mentions only, or to every message) is a bot setting.Keys
A public App like Goal Digger needs no key. People can message the bot and use it right away. A private App needs an app key so the bot is allowed to open it. The user sets it in a direct message with/apikey <key>, and it is stored for their conversations. You create app keys at https://chat.aomi.dev/settings under the App Keys tab, scoped to the App they should unlock.
Language model credentials stay on Aomi’s side. A Telegram user never pastes an OpenAI or Anthropic key.
Wallets and transactions
Each person who messages the bot uses their own Aomi identity, wallet, and threads. When your App proposes a transaction, the bot walks the user through connecting a wallet and approving it, and the transaction is simulated before it is signed, the same guardrail as everywhere else on Aomi.Keeping it live
Your bot is only as live as the App behind it. If the platform bumps the required SDK version, your App can stop loading and the bot will have nothing to answer with. If your bot goes quiet, check the App withaomi-build deploy status and redeploy if needed. See When the platform bumps the SDK.
Advanced: run your own bot
The steps above use Aomi’s hosted bots, which is the right path for most Apps. If you are a partner who needs full control (your own infrastructure, custom access policies, group rules), you can run the Telegram bot binary yourself from abot.toml config. That path, its configuration options, and the full command and panel reference live on the Telegram Bot page.
Next
Deploy and activate on aomi CLI
Get your App live on Aomi first, or bring it back after an SDK bump.
Deploy a frontend on Vercel
Give the same App a branded web page as well as a bot.
Telegram Bot reference
Every command, panel, and the self hosted
bot.toml configuration.Common errors
The errors you are most likely to hit, each with its fix.