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
getMyName¶
Fetches the current bot display name:
2. Bot Description (setMyDescription / getMyDescription)¶
The introductory text displayed in empty chat windows before the user starts the bot (up to 512 characters).
setMyDescription¶
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¶
getMyShortDescription¶
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:
deleteMyCommands¶
Deletes registered commands for a language: