fix(telegram): add textLimit to block reply chunking

Block streaming replies were missing the textLimit parameter in
deliverReplies(), causing long messages to fail with 'message is too
long' error instead of being chunked properly.

The final reply path already included textLimit, but the onBlockReply
callback path did not.
This commit is contained in:
Muhammed Mukhthar CM
2026-01-03 05:49:44 +00:00
committed by Peter Steinberger
parent 1bebcf8033
commit 4d42811ecf

View File

@@ -217,6 +217,7 @@ export function createTelegramBot(opts: TelegramBotOptions) {
runtime,
bot,
replyToMode,
textLimit,
});
})
.catch((err) => {