发送文本消息

# 发送文本消息 **简要描述**: - 发送文本消息 **请求URL** - {APIURL}/wc/msg/send_text_msg **请求方式** - POST **请求头Headers** - Content-Type:application/json - Access-Token:login接口返回 **参数** |参数名|必选|类型|说明 |-|-|-|-| |wcid|是|string|微信实例ID |to_wx_ids|是|string|接收人微信号/群号 |content|是|string|文本内容消息息(如果at,@的微信昵称需要自己拼接) |at|否|string|艾特的微信id(多个以逗号分开) 群主或者管理员如果是艾特全部的人,则直接填写'notify@all' **返回数据**: |参数名|类型|说明| |-|-|-| |code|string|0成功,-1失败| |msg|string|反馈信息| **请求参数示例** ``` ------------------------ 好友消息 ------------------------------ { "wcid": "1385888084016500736", "to_wx_ids": "wecloud01", "content": "wecloud api 真好用" } ------------------------ 群艾特某人 ------------------------------- { "wcid": "1385888084016500736", "to_wx_ids": "234324334@chatroom", "at": "wxid_000001,wxid_000002", "content": "@用户1 @用户2 美女你好" } ``` **成功返回示例** ``` { "msg": "发送成功", "code": 0, "data": null } ``` **错误返回示例** ``` { "msg": "失败", "code": -1, "data": null } ```