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:
committed by
Peter Steinberger
parent
1bebcf8033
commit
4d42811ecf
@@ -217,6 +217,7 @@ export function createTelegramBot(opts: TelegramBotOptions) {
|
||||
runtime,
|
||||
bot,
|
||||
replyToMode,
|
||||
textLimit,
|
||||
});
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user