XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/bilibili-API-collect

update docs

9fd1007
wuziqian211 <65224318+wuziqian211@users.noreply.github.com>
提交于

代码差异

3 个文件 +584 -32
Modified docs/message/msg.md +16 -16
@@ -1,6 +1,6 @@
1 1 # 通知消息
2 2
3 ## 未读消息数
3 ## 获取未读消息数
4 4
5 5 > https://api.bilibili.com/x/msgfeed/unread
6 6 > https://api.vc.bilibili.com/x/im/web/msgfeed/unread (新接口)
@@ -31,24 +31,24 @@
31 31
32 32 `data` 对象:
33 33
34 | 字段 | 类型 | 内容 | 备注 |
35 | ------------- | ---- | -------------- | -------------------------- |
36 | at | num | 未读at数 | |
37 | chat | num | 0 | 仅旧接口,**作用尚不明确** |
38 | coin | num | 未读投币数 | |
39 | danmu | num | 未读弹幕数 | |
40 | favorite | num | 未读收藏数? | |
41 | like | num | 未读点赞数 | |
42 | recv_like | num | 未读点赞数 | 同 `like` |
43 | recv_reply | num | 未读回复数 | 同 `reply` |
44 | reply | num | 未读回复数 | |
45 | sys_msg | num | 未读系统通知数 | |
46 | sys_msg_style | num | 1 | 仅新接口, **作用尚不明确** |
47 | up | num | UP主助手信息数 | |
34 | 字段 | 类型 | 内容 | 备注 |
35 | ------------- | ---- | ------------------ | -------------------------- |
36 | at | num | 未读at数 | |
37 | chat | num | 0 | 仅旧接口,**作用尚不明确** |
38 | coin | num | 未读投币数 | 目前恒为 `0` |
39 | danmu | num | 未读弹幕数 | 目前恒为 `0` |
40 | favorite | num | 未读收藏数 | 目前恒为 `0` |
41 | like | num | 未读点赞数 | |
42 | recv_like | num | 未读点赞数 | 同 `like` |
43 | recv_reply | num | 未读回复数 | 同 `reply` |
44 | reply | num | 未读回复数 | |
45 | sys_msg | num | 未读系统通知数 | |
46 | sys_msg_style | num | 1 | 仅新接口, **作用尚不明确** |
47 | up | num | 未读UP主助手信息数 | |
48 48
49 49 **示例:**
50 50
51 以下信息代表了未读点赞数为10,未读回复数为4,未读at消息数为3,未读系统通知数为2,UP主助手信息数为1
51 以下信息代表了未读点赞数为10,未读回复数为4,未读at消息数为3,未读系统通知数为2,未读UP主助手信息数为1
52 52
53 53 ```shell
54 54 curl 'https://api.vc.bilibili.com/x/im/web/msgfeed/unread' \
Modified docs/message/private_msg_content.md +8 -0
@@ -349,6 +349,14 @@
349 349 | attach_msg | 有效时:obj<br />无效时:null | UP主赠言 | |
350 350 | pub_date | num | 专栏发布时间 | 秒级时间戳,若专栏失效则为 `0` |
351 351
352 `image_urls`数组:
353
354 | 项 | 类型 | 内容 | 备注 |
355 | ---- | ---- | --------- | ---- |
356 | 0 | str | 封面1 | |
357 | n | str | 封面(n+1) | |
358 | …… | str | …… | …… |
359
352 360 `attach_msg`对象:
353 361
354 362 | 字段 | 类型 | 内容 | 备注 |