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:
parent
0c4c365db0
commit
025f73c3f5
@ -217,6 +217,7 @@ export function createTelegramBot(opts: TelegramBotOptions) {
|
||||
runtime,
|
||||
bot,
|
||||
replyToMode,
|
||||
textLimit,
|
||||
});
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user