Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于好友关系管理 #7

Closed
gehongyan opened this issue Mar 23, 2023 · 1 comment
Closed

关于好友关系管理 #7

gehongyan opened this issue Mar 23, 2023 · 1 comment

Comments

@gehongyan
Copy link
Owner

gehongyan commented Mar 23, 2023

此 Issue 跟踪 kaiheila/api-docs#168

计划新增 API

分类 接口 描述
IUser Task IUser.RequestFriendAsync(RequestOptions) 请求添加好友
Task IUser.RemoveFriendAsync(RequestOptions) 删除好友
Task IUser.BlockAsync(RequestOptions) 屏蔽用户
Task IUser.UnblockAsync(RequestOptions) 取消屏蔽用户
IFriendRequest Task IFriendRequest.AcceptAsync(RequestOptions) 接受好友请求
Task IFriendRequest.DeclineAsync(RequestOptions) 拒绝好友请求
IKookClient Task<IReadOnlyCollection<IUser>> IKookClient.GetFriendsAsync(RequestOptions) 获取所有好友
Task<IReadOnlyCollection<IFriendRequest>> IKookClient.GetFriendRequestsAsync(RequestOptions) 获取所有好友请求
Task<IReadOnlyCollection<IUser>> IKookClient.GetBlockedUsersAsync(RequestOptions) 获取所有被屏蔽用户

由于缺少相关事件,暂时不会将相关信息写入 Socket 缓存

@gehongyan
Copy link
Owner Author

f4e8a30 已实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant