Skip to content

Bot Profile & Command Settings

You can dynamically configure your bot's name, descriptions, bio texts, and autocomplete command list directly via the API.


1. Bot Name (setMyName / getMyName)

setMyName

Updates the display name of the bot (1–100 characters):

POST https://botapi.codemeet.chat/bot<TOKEN>/setMyName
{
  "name": "CodeMeet AI Assistant"
}

getMyName

Fetches the current bot display name:

{
  "ok": true,
  "result": {
    "name": "CodeMeet AI Assistant"
  }
}


2. Bot Description (setMyDescription / getMyDescription)

The introductory text displayed in empty chat windows before the user starts the bot (up to 512 characters).

setMyDescription

{
  "description": "Your 24/7 intelligent ordering, analytics, and customer support assistant."
}

getMyDescription

{
  "ok": true,
  "result": {
    "description": "Your 24/7 intelligent ordering, analytics, and customer support assistant."
  }
}

3. Short Description / Bio (setMyShortDescription / getMyShortDescription)

Short bio string visible on the bot's user profile card (up to 120 characters).

setMyShortDescription

{
  "short_description": "Smart Assistant for CodeMeet"
}

getMyShortDescription

{
  "ok": true,
  "result": {
    "short_description": "Smart Assistant for CodeMeet"
  }
}

4. Menu Commands (setMyCommands / getMyCommands / deleteMyCommands)

Configure the list of slash commands suggested when users type / in the chat input.

setMyCommands

Supports optional language_code for localized command lists:

{
  "commands": [
    {"command": "start", "description": "Open main menu"},
    {"command": "help", "description": "View instructions"},
    {"command": "support", "description": "Contact live support"}
  ],
  "language_code": "en"
}

getMyCommands

Retrieves registered commands:

{
  "language_code": "en"
}

deleteMyCommands

Deletes registered commands for a language:

{
  "language_code": ""
}