TelegramTextBuilder

Deliberately a verbatim copy of :telegram's builder of the same name: it only produces a Telegram-flavoured markdown String and has nothing to do with either client library, but sharing it would mean :ktg depending on :telegram (and so on kotlin-telegram-bot). Keep the two in sync when either changes.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun build(): String
Link copied to clipboard
fun <T> list(items: List<T>, block: TelegramTextBuilder.(T) -> Unit)
Link copied to clipboard
fun row(block: TelegramTextBuilder.() -> Unit)
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String