mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 03:31:09 +08:00
refa: whisper detail
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -41,8 +41,28 @@ class ImGrpc {
|
||||
);
|
||||
}
|
||||
|
||||
static Future<LoadingState<SessionMainReply>> sessionMain(
|
||||
{PbMap<int, Offset>? offset}) {
|
||||
static Future<LoadingState<RspSessionMsg>> syncFetchSessionMsgs({
|
||||
required int talkerId,
|
||||
Int64? endSeqno,
|
||||
Int64? beginSeqno,
|
||||
}) {
|
||||
return GrpcRepo.request(
|
||||
GrpcUrl.syncFetchSessionMsgs,
|
||||
ReqSessionMsg(
|
||||
talkerId: Int64(talkerId),
|
||||
sessionType: 1,
|
||||
endSeqno: endSeqno,
|
||||
beginSeqno: beginSeqno,
|
||||
size: 20,
|
||||
devId: '1',
|
||||
),
|
||||
RspSessionMsg.fromBuffer,
|
||||
);
|
||||
}
|
||||
|
||||
static Future<LoadingState<SessionMainReply>> sessionMain({
|
||||
PbMap<int, Offset>? offset,
|
||||
}) {
|
||||
return GrpcRepo.request(
|
||||
GrpcUrl.sessionMain,
|
||||
SessionMainReq(
|
||||
|
||||
Reference in New Issue
Block a user