分享到私信

接口地址

/api/index.php/MessageApi/share_message


返回格式

JSON


http请求方式

POST


请求参数
参数名称 必须 类型及范围 描述
access_token string Oauth2授权成功后获得的access_token
to_uid string

收信人ID,','分隔,不能为空

content string

默认null,建议分享说明尽量不为空

link string

详细内容链接,不能为空

title string

默认null,可以为空


返回结果
{
"code": "00000",
"message": "操作成功",
"result": {
  "message_group": {
      "list_id": "217",
      "company_id": "0",
      "from_uid": 206,
     "type": "1",
      "title": "abchttp://www.baidu.com",
      "member_num": "2",
      "min_max": "112_206",
      "mtime": "1390285385",
      "last_message": {
          "from_uid": 206,
          "content": "abchttp://www.baidu.com",
          "from_uname": "符斌",
          "to_uname": null
      },
      "member_uid": "206",
      "new": "0",
      "message_num": "2",
      "ctime": "1390285385",
      "list_ctime": "1390285385",
      "org_name": null,
      "org_logo": null,
      "from_face": "http://startcity-upload.stor.sinaapp.com/avatar/2013/12/18/52b15499d4b32_big.jpg",
      "uida": [
          "112"
      ],
      "users": [
          {
              "uid": "112",
              "uname": "",
              "face": "http://3.startcity.sinaapp.com/Public/Image/user_pic_big.gif"
          }
      ],
      "content": "abchttp://www.baidu.com",
      "from_uname": "符斌",
      "timestmap": "1390285385"
  },
  "list": [
      {
          "message_id": "1068",
           "list_id": "217",
          "from_uid": "206",
          "content": "abchttp://www.baidu.com",
          "is_del": "0",
          "mtime": "1390285385",
          "type_data": [],
          "type": "2",
          "from_face": "http://startcity-upload.stor.sinaapp.com/avatar/2013/12/18/52b15499d4b32_big.jpg",
          "from_uname": "符斌",
          "timestmap": "1390285385",
          "ctime": "1390285385",
          "org_name": null
      }
 ]
}
}