接收智能机器人发给用户的文档列表

POST https://webapi.kf5.com/kchat/message
Body 参数:
NameRequiredTypeComment
actionstring操作名称,chat
messageobject消息信息
message.idinteger消息在逸创云客服系统中的 id
message.typestring消息的类型,文档列表消息为 posts
message.appidinteger自定义 IM 应用 id
message.to_userstring接收消息的用户 openid
message.is_robotboolean是否是智能机器人发送的消息
message.postsarray机器人匹配到的文档列表
message.posts[i].idinteger文档 id
message.posts[i].titlestring文档标题
message.posts[i].urlstring文档的 URL
message.create_timeinteger消息的发送时间,秒级别时间戳

请求示例:
{
	"action": "chat",
	"message": {
		"id": 181578717,
		"type": "posts",
		"appid": 1000045,
		"to_user": "e4d8c2abfc783e0b8f0d7b4eb93812e5",
		"is_robot": true,
		"posts": [
		    {
		        "id": 29052,
		        "title": "如何使用 KCHAT IM",
		        "url": "https://support.kf5.com/posts/view/29052"
		    },
		    ....
		],
		"create_time": 1480433249
	}
}
用户服务器响应:

状态码 200