mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-19 09:13:18 +08:00
fix(weixin): align long-reply limits across runtime
This commit is contained in:
parent
868372fb04
commit
5e07137c44
7 changed files with 178 additions and 165 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import {
|
||||
DEFAULT_WEIXIN_MAX_MESSAGE_CHARS,
|
||||
extractWeixinFiles,
|
||||
extractWeixinImages,
|
||||
extractWeixinText,
|
||||
|
|
@ -184,7 +185,7 @@ export class WeixinHarnessBridge {
|
|||
status = createWeixinBridgeStatus(),
|
||||
logger = console,
|
||||
replyTimeoutMs = 600_000,
|
||||
maxMessageChars = 1_800,
|
||||
maxMessageChars = DEFAULT_WEIXIN_MAX_MESSAGE_CHARS,
|
||||
signal,
|
||||
}) {
|
||||
if (!api || typeof api.sendText !== 'function') throw new TypeError('Weixin API is required');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue