Skip to content

获取宠物好友目录

API 开源贡献者:星空花海

模式 6;只返回服务端好友条目,不使用普通 QQ 好友兜底。

  • action:get_pet_pk_friends
  • 支持协议:Android。
  • 调用方式:普通插件 API;仅接受对象参数。

请求参数

参数类型必填说明
self_idnumber在线机器人 QQ 号
client_typestring当前实现支持 android;须使用 Android 账号
cursorstring服务端返回的下一页游标

调用示例

js
const result = await api.get_pet_pk_friends({
  "self_id": 123456,
  "client_type": "android"
})

返回结果

friends[]、next_cursor、has_more。条目包含 pet_id、pet_name、user_id、nickname、pet_status、dominant_type、displayed_pk_power。

参数或业务错误会使调用失败。写入请求结果未知时,请先读取当前状态确认,勿直接重复提交。

萌卡 NT · 连接想法,也连接你我。