Skip to main content

3.获取好友请求列表

发出和收到的好友请求

请求示例

{
getFriendRequests {
items {
id
recipient_id
recipient {
id
account
avatar_url
}
status
date_created
accepted_on
rejection_msg
}
}
}

返回结果

{
"data": {
"getFriendRequests": {
"items": [
{
"id": "7c0021d5-3df9-4d4a-a6f9-72bc0432fea2",
"recipient_id": "63c5850e-bfd0-43e0-880b-5f39cea18b59",
"recipient": {
"id": "63c5850e-bfd0-43e0-880b-5f39cea18b59",
"account": "15159718297",
"avatar_url": null
},
"status": "pending",
"date_created": null,
"accepted_on": null,
"rejection_msg": null
}
]
}
}
}