Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 832 Bytes

message_pin.create.md

File metadata and controls

45 lines (34 loc) · 832 Bytes

message_pin.create

置顶消息

请求方式

POST {base_url}/message_pin.create

请求参数

需要登录

参数名称 参数类型 参数是否必须? 说明 样例
vchannel_id string 消息所在的频道 =bw52O
message_key string 想要置顶的消息 key 1487667236785.0077

响应

200

{
  "id": "=bw52T",
  "team_id": "=bw52U",
  "uid": "=bw52W",
  "vchannel_id": "=bw52O",
  "message_id": "=bw53a",
  "message_key": "1539079277448.0002",
  "created_at": "2018-10-10T09:48:55.000+0800",
  "updated_at": "2018-10-10T09:48:55.000+0800"
}

错误响应

{
  "code": // error code,
  "error": "unexpected error"
}