|
|
|
|
gehongyan / kook.net Goto Github PK
View Code? Open in Web Editor NEWKook.Net is an unofficial C# .NET implementation for KOOK API.
Home Page: https://kooknet.dev
License: MIT License
Kook.Net is an unofficial C# .NET implementation for KOOK API.
Home Page: https://kooknet.dev
License: MIT License
卡片消息这类渲染成 UI 的组件,使用 XML 语言定义比较直观(类似于 HTML、XAML)。相比使用 CardBuilder,使用 XML 文件来定义还可以在不改动代码的情况下修改预定义的卡片。对于需要运行时才能决定的值,可以使用 Liquid Template 对 XML 进行修改。
目前已经实现了使用 XSD 来定义 XML 格式,和将 XML 反序列化至 List<ICard>
如果觉得可以我再发起 PR
voice_quality
与 limit_amount
voice_quality
target_id
内容异常/guild/user-list
中的用户有 color
字段,但 /user/view
中的用户没有 color
字段nav_channels
但消息更新事件中缺失 nav_channels
kmarkdown.raw_content
但 API 获取消息详情时缺失该字段embeds
永远为空(已通过 embeds_append
事件解决)quote
中表示被引用的消息 ID 为 rong_id
direct-message/list
接口返回的每条消息的信息中都包含了 author
的详情,direct-message/view
接口返回的单条信息中没有 author
字段message/view
接口中的 author
相比 quote.author
缺失一些字段sort_channel
事件中并未包含所有频道的 level
值。实际上,移动某频道会实际变更该频道及其新旧位置中间所包围的其它频道的 level
,又是甚至会更新整个服务器所有频道的 level
,KOOK 所推荐的最佳实践是在收到 sort_channel
时重新获取所有整个服务器的所有频道的 level
值吗batch_updated_channel
事件中 added_channel
有新频道时为 object,无新频道时为 arraybatch_added_channel
事件中创建的文字频道包含了不应该包含的语音频道专有参数未文档化的事件列表
此 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 缓存
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.