创建聊天消息
POST
/api/app/{app_slug}/chat-messages
const url = 'https://example.com/api/app/example/chat-messages';const options = {method: 'POST', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/app/example/chat-messages \ --header 'Authorization: <Authorization>'向对话应用发送消息。
app_slug
必填
string
无响应正文