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 authored and Peter Steinberger committed 2026-01-03 11:12:15 +01:00
1 parent 1bebcf8033
commit 4d42811ecf
1 file changed
+1
+1
View File
@@ -217,6 +217,7 @@ export function createTelegramBot(opts: TelegramBotOptions) {
runtime,
bot,
replyToMode,
textLimit,
});
})
.catch((err) => {