API 参考
REST API 端点
cURL
curl --request POST \ --url http://localhost:8080/api/admins/title \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "bot_id": 1, "chat_id": -100123456789, "user_id": 987654321, "title": "Moderator" } '
{ "ok": true }
Sets a custom title (badge) for an admin user in a chat.
Documentation IndexFetch the complete documentation index at: https://docs.botmux.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.botmux.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
bmx_
/api/auth/api-keys
Custom admin title (max 16 characters)
Title set
true
此页面对您有帮助吗?