RU Open Web

Type to search client APIs, Bot API methods, and guides.

Bots & Mini Apps — Bot Platform Overview & @BotMother
Bots & Mini Apps Bot Platform Overview & @BotMother

Bot Platform Overview & @BotMother

Create bots and custom client apps via @BotMother, configure commands, inline mode, webhooks, and Mini Apps on Theaver.

Theaver implements an HTTP Bot API (v7.x) alongside the built-in system bot @BotMother (id = 100000001) and its graphical Bot Studio Mini App for managing both bots and third-party client credentials. For compatibility aliases when porting existing bots, see Migrating Existing Bots.

Bots, Mini Apps v8 & Walt Ecosystem
@BotMother Tokens · /newclient HTTP Bot API /bot<token>/<method> Mini Apps v8 Theaver.WebApp · Theme Walt Wallet (THV) Invoices · Checks · Payouts

Creating your first bot

  1. Open a conversation with @BotMother in Theaver.
  2. Send /newbot.
  3. Provide a display name and a unique username ending with bot (for example, release_notify_bot).
  4. Save the returned <bot_id>:<secret> token inside an environment variable.

@BotMother commands

CommandPurpose
/newbotInteractive wizard that creates a bot and mints an API token
/mybotsInteractive management panel for your bots and Mini Apps
/token / /revokeView or rotate a bot token immediately
/setnameUpdate the bot display name
/setdescriptionLong description shown before starting the bot
/setabouttextShort bio displayed on the bot profile
/setcommandsConfigure command menu (command - Description)
/setjoingroupsAllow or disallow adding the bot to groups
/setprivacyToggle group privacy (Enable: commands/mentions only; Disable: all messages)
/setinlineEnable inline queries (@bot query)
/deletebotPermanently delete a bot
/newclientRegister a third-party client app (api_id + api_hash)
/myclientsManage custom client apps, quotas, and statuses
/revokeclientRevoke an existing custom api_id credential pair

You can also open the Client Apps tab inside @BotMother Studio or use the web console at /developers/apps.

Base Bot API endpoint

All methods accept GET or POST requests with application/json, application/x-www-form-urlencoded, multipart/form-data, or query parameters at:

https://api.theaver.app/bot<token>/<method>

Routes are also aliased under /api/bot<token>/<method>, and media files returned by getFile download via /file/bot<token>/<file_path>.

Keep tokens confidential

Never embed <bot_id>:<secret> in client-side Mini App JavaScript or commit it to public repositories. Rotate leaked tokens immediately with /revoke inside @BotMother.