转发消息
POST {base_url}/message.forward
需要登录
| 参数名称 | 参数类型 | 参数是否必须? | 说明 | 样例 |
|---|---|---|---|---|
vchannel_id |
string |
是 | 转发的消息所在的位置 id | =bw52O |
key |
string |
是 | 更新的消息 key | 1487667236785.0077 |
to_vchannel_id |
string |
是 | 转发目的会话 id | =bw52O |
{
"repost": {
"uid": "=bw52T",
"vchannel_id": "=bw52O",
"robot_id": null,
"created_ts": 1539056624039,
"message_key": "1539056624039.0143",
"id": "=bw52Q",
"team_id": "=bw52U",
"subtype": "normal",
"text": "当测不测,反受其乱"
},
"key": "1539079267590.0001",
"updated": "2018-10-09T10:01:08.000+0000",
"is_channel": true,
"uid": "=bw52W",
"thread_key": null,
"created": "2018-10-09T10:01:08.000+0000",
"vchannel_id": "=bw52O",
"refer_key": null,
"robot_id": null,
"edited": false,
"created_ts": 1539079267590,
"pin_id": null,
"id": "=bw52Z",
"team_id": "=bw52U",
"text_i18n": {
"zh-CN": "转发了消息",
"en": "fowarded message"
},
"reactions": [],
"subtype": "forwarded",
"text": "转发了消息"
}{
"code": // error code,
"error": "unexpected error"
}