更新一条消息的内容。
PATCH {base_url}/message.update_text
需要登录
参数名称 | 参数类型 | 参数是否必须? | 说明 | 样例 |
---|---|---|---|---|
vchannel_id |
string |
是 | 待查询 vchannel_id | =bw52O |
message_key |
string |
是 | 更新的消息 key | 1487667236785.0077 |
text |
string |
是 | 更新的消息内容 | 中午吃啥啊? |
{
"key": "1485236262366.0193",
"updated": "2017-01-24T13:37:42.000+0000",
"is_channel": false,
"uid": "=bw52O",
"fallback": null,
"attachments": [],
"created": "2017-01-24T13:37:42.000+0000",
"vchannel_id": "=bw52O",
"refer_key": null,
"robot_id": null,
"created_ts": 1485236262366,
"team_id": "=bw52O",
"subtype": "normal",
"text": "hello"
}
{
"code": // error code,
"error": "unexpected error"
}