为了防止因网络延时造成的错误,如果用户在上一次会话结束后的10秒内又发了消息,这条消息将会自动发给上一个会话的客服。
curl --location --request POST 'https://qiyukf.com/openapi/message/send?appKey=&time=&checksum=' \
--header 'Content-Type: application/json' \
--data-raw '{
"uid":"user1",
"msgType":"PICTURE",
"content":
{
"url": "http://url_of_image",
"size": 10000,
"md5": "xxxx",
"w": 200,
"h":200
}
}'
{
"code": 0
}