mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-30 22:30:13 +08:00
feat: more subtitle
This commit is contained in:
@@ -21,4 +21,12 @@ abstract final class DmGrpc {
|
||||
isolate: true,
|
||||
);
|
||||
}
|
||||
|
||||
static Future<LoadingState<DmViewReply>> dmView(int aid, int cid) {
|
||||
return GrpcReq.request(
|
||||
GrpcUrl.dmView,
|
||||
DmViewReq(pid: Int64(aid), oid: Int64(cid), type: 1),
|
||||
DmViewReply.fromBuffer,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ abstract final class GrpcUrl {
|
||||
|
||||
// danmaku
|
||||
static const dmSegMobile = '/bilibili.community.service.dm.v1.DM/DmSegMobile';
|
||||
static const dmView = '/bilibili.community.service.dm.v1.DM/DmView';
|
||||
|
||||
// reply
|
||||
static const reply = '/bilibili.main.community.reply.v1.Reply';
|
||||
|
||||
Reference in New Issue
Block a user