feat: 精简历史获取
This commit is contained in:
1 parent
154f7b6a30
commit
17122c4360
2 files changed
+7
-7
No files matched your search
@@ -106,7 +106,7 @@ export class NTQQMsgApi {
|
||||
} | undefined> {
|
||||
return napCatCore.session.getMsgService().getMultiMsg(peer, rootMsgId, parentMsgId);
|
||||
}
|
||||
static async getLastestMsgByUids(peer: Peer) {
|
||||
static async getLastestMsgByUids(peer: Peer, count: number = 20) {
|
||||
let ret = await napCatCore.session.getMsgService().queryMsgsWithFilterEx('0', '0', '0', {
|
||||
chatInfo: peer,
|
||||
filterMsgType: [],
|
||||
|
||||
Reference in new issue
Block a user