diff --git a/src/channels/telegram.ts b/src/channels/telegram.ts index de1f70575..8e3e0c90c 100644 --- a/src/channels/telegram.ts +++ b/src/channels/telegram.ts @@ -210,6 +210,7 @@ registerChannelAdapter('telegram', { extractReplyContext, supportsThreads: false, transformOutboundText: sanitizeTelegramLegacyMarkdown, + maxTextLength: 4000, }); const botUsernamePromise = fetchBotUsername(token);