Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.02 KB

message.update_text.md

File metadata and controls

52 lines (41 loc) · 1.02 KB

message.update_text

更新一条消息的内容。

请求方式

PATCH {base_url}/message.update_text

请求参数

需要登录

参数名称 参数类型 参数是否必须? 说明 样例
vchannel_id string 待查询 vchannel_id =bw52O
message_key string 更新的消息 key 1487667236785.0077
text string 更新的消息内容 中午吃啥啊?

响应

200

{
  "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"
}