获取群二维码

参数

参数名 必选 类型 说明
cmd string 请求方法
user_id string 当前客户端的用户ID
request_key string 操作key,自定义的一个字符串,用于取回调消息的时候对应上相关的操作
params.room_id string 群id

请求参数示例

{
  "cmd":"GetRoomQrcode",
  "user_id":"168xxxxxxx",
  "request_key":"",
  "params": {
    "room_id":"xxxxxxx"
  }
}

回调参数详解

参数名 类型 说明
qrcode_data string 群二维码的base64字符串
request_key string 操作key,用于做回调结果处理的
room_conversation_id string 群会话id
room_headimg_url string 群头像

回调结果示例

{
    "type":16001,
    "cmd_type":"RequestCallback",
    "user_id":"168xxxxxxxxxx",
    "request_key":"1231233",
    "data":{
        "qrcode_data":"iVBORw0KGgoAAAANSUhEUgAAAN4AAADeAQAAAAB6HIMaAAAAAmJLR0QAAd2KE6QAAAAJcEhZcwAAAEgAAABIAEbJaz4AAAAJdnBBZwAAAN4AAADeACJdKMcAAALfSURBVFhHvZhNjqswEISjN5fIjqPkLJzEmwifkxtkyWKEX1U1JsbE8WyaEkoQn9SU3T+ezO1GPVKllx6bCKd7iPhaRtxcBQ/a4A9vz5BPChiXsCLyElKa40XwoAxfuHh70OuB9WU43cd1mPF0vY/Yh0vgwU2qDH2FCDsNM7O2BKXsAvjV0FeImFg79oFbsYR4BWwZ0u0ZpncNoRFiQkykLCDyscCcYKq0wa8taBCZOlxXwIah+nGh3w2ywHRxB5aRM8cdflQHRk3ClTE5GJW10R66wdpFoQ60FphswiBZaZ4GBsd4dIPv95/UgdsmKDJaGO2AgPb59ILv95/UcYtQlqnITdgTx0Z+esHaRaGOW6QJF9LEXkDi1BpWY0832t5yHebZEPprZGsqgH2yrAxFBNRZ03LDA+BZF1hzygEcPB3XcKuCMBHE2sos5efJgdIK1i0Idt8qXaowjMWiSa5gvwRE21YGspYE9ux2UOoPsTHeDtYtCXcgCUxdYXSXmS6OSKXOCTXXc6gRngUXmLliy7PR5esHaRaGuW4xBFhhu2A5Klo1KN1i7KNSBDMg4wXKn+Kg0V8jPhjoQAS1T28C58/SJOn14IrnA2kWhrluOxEn9qxZm4nCzcjA6wff7T2q4vemHstwiUxZWnyiwmXA77T3g0cmmbKh+Lv3oynBb+6IWHmaQf8P+A8oJVsqGPv58/3k9CrhaytgOrDfCJTx9YcMQPs7/GslLMYi14zvatYzaBBSYK8xONu2GPv3b6baViUGtXZWm5iVkgbnCr4YqaMqQJ2PRtpOGTw7rBHcTpf7kVqckS8t2w+LvO+QDdxOlGnVrKmCOGXSas9KKAnOCZzVmgilDC8WTUeeOKm3MzesED0ayfv8DStlkgozqssQAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDItMjJUMTI6MzQ6NDgrMDg6MDAar+YTAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTIyVDEyOjM0OjQ4KzA4OjAwa/JerwAAAABJRU5ErkJggg==",
        "request_key":"1231233",
        "room_conversation_id":"R:5xxxxxxx",
        "room_headimg_url":"https://wework.qpic.cn/wwpic/885328_fIfWO6ZjSgaMBmg_1608542052/0"
    }
}
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2022-08-06 23:28:45

results matching ""

    No results matching ""