@cytern 我也遇到了相同情况
N
nksolo 发布的帖子
-
无法及时更新群员资料,只有当刚登录和群员说话时才能获得群员最新资料
使用 api-http时无法及时更新群员资料,只有当刚登录和群员说话时才能获得群员最新资料,
举个例子:我想比对并修改,群员的群昵称,只有当刚登录和群员说话时才能获得群员的最新群昵称,如果群员自行把群昵称修改回去,如果不发言则无法检测到其最新群昵称。 -
'code': 500, 'msg': "Fields [target, memberId] are required for type with serial name
get_id={"sessionKey":authkey ,"target": 1043729733,"memberId": 2803669474}
res=requests.get(url,data=json.dumps(get_id)).json()报错:{'code': 500, 'msg': "Fields [target, memberId] are required for type with serial name 'net.mamoe.mirai.api.http.adapter.internal.dto.parameter.MemberTargetDTO', but they were missing"}