fill changelog

This commit is contained in:
InsanusMokrassar committed 2020-11-06 14:42:30 +06:00
1 parent 6665b6ef03
commit 54cfea9adf
2 files changed
+6 -1

No files matched your search

@@ -29,7 +29,7 @@ data class TextPart(
fun List<TextPart>.justTextSources() = map { it.source }
fun List<TextSource>.makeString() = joinToString("") { it.source }
fun MultilevelTextSource.textParts(offset: Int): List<TextPart> = textSources.toTextParts(offset)
internal fun MultilevelTextSource.textParts(offset: Int): List<TextPart> = textSources.toTextParts(offset)
fun List<TextSource>.separateForMessage(limit: IntRange, numberOfParts: Int? = null): List<List<TextSource>> {
if (isEmpty()) {
return emptyList()