refactor(telegram): remove unused message helpers · openclaw/openclaw@c58e1ab
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -402,21 +402,6 @@ export function splitTelegramRichMarkdownChunks(
|
402 | 402 | ); |
403 | 403 | } |
404 | 404 | |
405 | | -export function splitTelegramRichTextChunks(params: { |
406 | | -text: string; |
407 | | -textLimit: number; |
408 | | -textMode: TelegramRichTextMode; |
409 | | -chunkMode: ChunkMode; |
410 | | -}): string[] { |
411 | | -return params.textMode === "html" |
412 | | - ? splitTelegramHtmlChunks( |
413 | | -prepareTelegramRichHtml(params.text), |
414 | | -params.textLimit, |
415 | | -TELEGRAM_RICH_HTML_CHUNK_LIMITS, |
416 | | -) |
417 | | - : splitTelegramRichMarkdownChunks(params.text, params.textLimit, params.chunkMode); |
418 | | -} |
419 | | - |
420 | 405 | export function splitTelegramRichMessageTextChunks(params: { |
421 | 406 | text: string; |
422 | 407 | textLimit: number; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。