Send Message
POST
/api/v1/platform/bots/{bot_uuid}/send_message
Send a message to a specific target via the specified bot
Authorizations
ApiKeyAuth
API Key authentication using X-API-Key header.
Example: X-API-Key: lbk_your_api_key_here
TypeAPI Key (header: X-API-Key)
Parameters
Path Parameters
bot_uuid*
Bot UUID
Typestring
RequiredRequest Body
application/json
JSON
{
"target_type": "group",
"target_id": "123456789",
"message_chain": [
{
"type": "Plain",
"text": "Hello, World!"
}
]
}
Responses
Message sent successfully
application/json
JSON
{
"code": 0,
"msg": "ok",
"data": {
"sent": true
}
}
