mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-03 00:15:27 +00:00
13 lines
512 B
Kotlin
13 lines
512 B
Kotlin
package dev.inmo.tgbotapi.types.MessageEntity.textsources
|
|
|
|
import dev.inmo.tgbotapi.CommonAbstracts.*
|
|
import dev.inmo.tgbotapi.utils.*
|
|
|
|
class StrikethroughTextSource(
|
|
override val source: String,
|
|
override val textSources: List<TextSource>
|
|
) : MultilevelTextSource {
|
|
override val asHtmlSource: String by lazy { strikethroughHTML() }
|
|
override val asMarkdownV2Source: String by lazy { strikethroughMarkdownV2() }
|
|
override val asMarkdownSource: String by lazy { source.strikethroughMarkdown() }
|
|
} |