Commit 5ba53653e91bebc10d2645a9d84234856466e1bb
1 parent
7e5efb16
add
Showing
1 changed file
with
28 additions
and
0 deletions
7. 互动云/3.4 发送聊天信息接口.md
0 → 100644
| 1 | +/* Title: 3.4 发送聊天信息接口 */ | ||
| 2 | +### 发送聊天信息接口 | ||
| 3 | +----- | ||
| 4 | +#### URL: http://api.cnlive.com/open/api2/zbsc/sendMsg | ||
| 5 | +----- | ||
| 6 | +#### 请求方式: HTTP GET | ||
| 7 | +----- | ||
| 8 | +#### 返回格式: JSON | ||
| 9 | +----- | ||
| 10 | +#### 请求参数说明: | ||
| 11 | +| 参数名 | 参数类型 | 必选 | 参数说明 | | ||
| 12 | +| :----------- | :------: | :------: | :------: | | ||
| 13 | +| nick | String | true | 昵称 | | ||
| 14 | +| img | String | false | 头像 | | ||
| 15 | +| msg | String | true | 聊天信息 | | ||
| 16 | +----- | ||
| 17 | +#### 返回格式说明: | ||
| 18 | +``` | ||
| 19 | +{ | ||
| 20 | + "errorCode":"0", | ||
| 21 | + "errorMessage":"成功", | ||
| 22 | +} | ||
| 23 | + | ||
| 24 | +{ | ||
| 25 | + "errorCode":"5303", | ||
| 26 | + "errorMessage":"发送失败" | ||
| 27 | +} | ||
| 28 | +``` | ||
| 0 | \ No newline at end of file | 29 | \ No newline at end of file |