(title string)
| 571 | } |
| 572 | |
| 573 | func normalizeTitleOutput(title string) string { |
| 574 | title = normalizeShortTextOutput(title) |
| 575 | if title == "" { |
| 576 | return "" |
| 577 | } |
| 578 | return truncateRunes(title, 80) |
| 579 | } |
| 580 | |
| 581 | func fallbackChatTitle(message string) string { |
| 582 | const maxWords = 6 |
no test coverage detected