ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 机器人模块 ## **Web端交互** > ***** ![(images/screenshot_1567145572362.png)](https://img.kancloud.cn/6e/a7/6ea7b81009ca7c588c8458489d8e11c2_1094x788.png) ## **API相关文档** > ****** 接口描述 | **配置机器人** ---|--- URL | /wechat_api/message/addFriendReport 请求方式 | GET 请求参数 | {wechatUserIds: 50786&replyContent: aaaaaaaaaaaaaa&matchModel:1&delayTime: 1&keyWord: 可以开始聊天了} 返回值 | {"msg":"添加成功","code":200,"autoReplyRobot":{"id":7614,"keyWord":"可以开始聊天了","replyContent":"aaaaaaaaaaaaa","matchModel":"1","superAdminUserId":31415,"createTime":1565077066488,"lastUpdateTime":1565077066488,"lastUpdateAdminUserId":31415,"isDelete":0,"delayTime":1}} | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 |wechatUserIds|string|Y|用户ID | 请求参数 |replyContent|string|Y|回复内容 | 请求参数 |matchmodel|string|Y|匹配模式 | 请求参数 |delaytimes|string|Y|延时回复时间 | 请求参数 |keyword|string|Y|关键词 > ***** 接口描述 | **开启/关闭机器人** ---|--- URL | wechat_api/wechatuser/updateAutoReply 请求方式 | GET 请求参数 | {robotId:"7614",isAutoReply:"0",uin:"2963605718"} 返回值 | {"msg":"修改成功","code":200} | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 |robotId|string|Y|机器人ID | 请求参数 |isAutoReply|string|Y|是否开启自动回复 | 请求参数 |uin|string|Y|微信标识 > ***** 接口描述 | **删除机器人** ---|--- URL | wechat_api/autoreplyrobot/delete 请求方式 | GET 请求参数 | {id: 7516} 返回值 | {"msg":"删除成功","code":200,"autoReplyRobot":{"id":7516,"keyWord":"aaaa","replyContent":"发发","matchModel":"0","superAdminUserId":31415,"createTime":1564987708000,"lastUpdateTime":1565077363116,"lastUpdateAdminUserId":31415,"isDelete":1,"delayTime":3}} | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 |Id|string|Y|主键ID > ***** 接口描述 | **更新是否自动回复** ---|--- URL |/wechat_api/wechatuser/updateAutoReply 请求方式 | post 请求参数 | uin,robotId,isAutoReply 返回值 | {"msg":"修改成功","code":200} | Sort | Param | Type | required | Description | | --- | --- | --- | --- | --- | | 请求参数 |uin|string|Y|微信号ID | 请求参数 |robotId|Interger|Y|机器人ID | 请求参数 |isAutoReply|Interger|N|是否自动回复