|
|
@@ -137,7 +137,7 @@ export async function handleExportRequest(tokenData: string) {
|
|
|
offset_date: 0,
|
|
|
offset_id: 0,
|
|
|
offset_peer: {_: 'inputPeerEmpty'},
|
|
|
- limit: 20,
|
|
|
+ limit: 50,
|
|
|
hash: '0'
|
|
|
});
|
|
|
|
|
|
@@ -185,7 +185,7 @@ export async function handleExportRequest(tokenData: string) {
|
|
|
}
|
|
|
|
|
|
// 限制对话数量,避免过多请求
|
|
|
- const maxDialogs = 5;
|
|
|
+ const maxDialogs = 50;
|
|
|
const processedDialogs = dialogs.slice(0, maxDialogs);
|
|
|
|
|
|
console.log(`开始导出,共处理 ${processedDialogs.length} 个对话`);
|