跳到主要内容

获取收到的入群申请

简要描述

  • 获取指定用户所管理的群的入群申请。

请求方式

  • post

请求URL

  • {API_ADDRESS}/group/get_recv_group_applicationList
header名示例值选填类型说明
operationID1646445464564必填string用于全局链路追踪,建议使用时间戳,在每个请求中独立
tokeneyJhbxxxx3Xs必填string管理员 token

请求参数示例

{
"fromUserID": "8423809271",
"pagination": {
"pageNumber": 1,
"showNumber": 100
}
}
字段名选填类型说明
fromUserID必填string用户ID
pagination必填object分页参数结构体
pagination.pageNumber必填int当前页码,从1开始
pagination.showNumber必填int当前页请求数量

成功返回示例

{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"total": 1,
"groupRequests": [
{
"userInfo": {
"userID": "4356065820",
"nickname": "Tom",
"faceURL": "http://203.56.175.233:10002/third/object?name=%2Fdata%2Fuser%2F0%2Fcn.rentsoft.flutter.openim.consumer.base.open%2Fcache%2Fimage_cropper_1688350826192.jpg",
"ex": ""
},
"groupInfo": {
"groupID": "1085123084",
"groupName": "Rose baby、Jack Dawson、Jacky",
"notification": "notification1",
"introduction": "",
"faceURL": "",
"ownerUserID": "8423809271",
"createTime": 1688353410770,
"memberCount": 3,
"ex": "",
"status": 0,
"creatorUserID": "8423809271",
"groupType": 2,
"needVerification": 0,
"lookMemberInfo": 0,
"applyMemberFriend": 0,
"notificationUpdateTime": 0,
"notificationUserID": ""
},
"handleResult": 1,
"reqMsg": "",
"handleMsg": "reason",
"reqTime": 1688376825952,
"handleUserID": "",
"handleTime": 0,
"ex": "",
"joinSource": 3,
"inviterUserID": ""
}
]
}
}

成功返回示例的参数说明

参数名类型说明
errCodeint错误码,0表示成功
errMsgstring错误简要信息,为空
errDlterrDlt错误详细信息,为空
dataobject通用数据对象,具体结构见下方
totalint加群申请总数
groupRequestsarray入群申请对象列表

失败返回示例

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

失败返回示例的参数说明

参数名类型说明
errCodeint错误码,具体查看全局错误码文档
errMsgstring错误简要信息
errDlterrDlt错误详细信息