获取群详情

参数

参数名 必选 类型 说明
cmd string 请求方法
user_id string 当前客户端的用户ID
params.room_id string 群id

请求参数示例

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

回调参数详解

参数名 类型 说明
room_announcement string 群公告
room_conversation_id string 会话id
room_create_time int64 群创建时间
room_ext_type int 是否是外部群:0内部群 1或者2是外部群
room_id string 群id
room_name string 群名称
room_owner_id string 群主用户id

回调结果示例

{
    "type": 12503,
    "cmd_type": "GetRoomMembers",
    "user_id": "1688858044293088",
    "request_key": "",
    "data": {
        "member_list": [
            {
                "acctid": "ChaoXi",
                "avatar": "https://wework.qpic.cn/bizmail/5VlSBLTlTLAbkvDCI9YkNJ5wCujm7tr2BDicGW1YsHZOw/0",
                "corp_id": "1970325004076910",
                "corp_name": "5rGf6IuP5aSp6byO6K+B5Yi45oqV6LWE5ZKo6K+i5pyJ6ZmQ5YWs5Y+4",
                "corp_short_name": "5oOg6Zeu6IKh",
                "email": "",
                "inviter_id": "1688858044293088",
                "inviter_name": "",
                "inviter_nickname": "",
                "is_admin": 0,
                "job": "",
                "join_time": 1647523484,
                "mobile": "18761670817",
                "name": "",
                "nickname": "",
                "realname": "",
                "sex": 1,
                "user_id": "1688858044293088"
            },
            {
                "acctid": "",
                "avatar": "http://wx.qlogo.cn/mmhead/Q3auHgzwzM5vaTz75kh2RXkebjZZzACSJiadLkibCAAOukG4w/0",
                "corp_id": "1970325134026788",
                "corp_name": "5b6u5L+h",
                "corp_short_name": "5b6u5L+h",
                "email": "",
                "inviter_id": "1688858044293088",
                "inviter_name": "",
                "inviter_nickname": "",
                "is_admin": 0,
                "job": "",
                "join_time": 1647523547,
                "mobile": "",
                "name": "zcy",
                "nickname": "",
                "realname": "",
                "sex": 0,
                "user_id": "7881300295180851"
            },
            {
                "acctid": "",
                "avatar": "http://wx.qlogo.cn/mmhead/UDa9LBwCoibNdUicBaTxTiaBoqAyRRSib4GnFF2mEibyib9Vg/0",
                "corp_id": "1970325134026788",
                "corp_name": "5b6u5L+h",
                "corp_short_name": "5b6u5L+h",
                "email": "",
                "inviter_id": "1688858044293088",
                "inviter_name": "",
                "inviter_nickname": "",
                "is_admin": 0,
                "job": "",
                "join_time": 1647523547,
                "mobile": "",
                "name": "我们一起笑。",
                "nickname": "",
                "realname": "",
                "sex": 1,
                "user_id": "7881302553084178"
            }
        ],
        "room_announcement": "",
        "room_conversation_id": "R:10848240122473815",
        "room_create_time": 1647523484,
        "room_ext_type": 2,
        "room_id": "10848240122473815",
        "room_name": "",
        "room_owner_id": "1688858044293088"
    }
}
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2022-08-06 23:28:46

results matching ""

    No results matching ""