Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
API 参考
REST API 端点
cURL
curl --request POST \ --url http://localhost:8080/api/tags/add \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "bot_id": 1, "chat_id": -100123456789, "user_id": 987654321, "username": "alice", "tag": "VIP", "color": "#FFD700" } '
{ "id": 123, "chat_id": 123, "user_id": 123, "username": "<string>", "tag": "<string>", "color": "<string>", "created_at": "2023-11-07T05:31:56Z" }
Assigns a tag to a user in a chat.
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
bmx_
/api/auth/api-keys
Chat to tag user in
User to tag
Tag label
Bot ID (for permission check)
Username at time of tagging
Tag color
Tag created
Tag record ID
Chat this tag belongs to
User this tag is assigned to
Tag label text
Tag color (hex or CSS color name)
When the tag was created
此页面对您有帮助吗?