mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-08-17 22:56:15 +00:00
fixes
This commit is contained in:
@@ -472,12 +472,21 @@ suspend fun main(vararg args: String) {
|
|||||||
plain(" — no HTML or Markdown string is involved.")
|
plain(" — no HTML or Markdown string is involved.")
|
||||||
}
|
}
|
||||||
|
|
||||||
heading("Lists", level = 2)
|
h2("Lists")
|
||||||
list {
|
h3("Ordered")
|
||||||
item("A plain list item")
|
orderedList {
|
||||||
item(hasCheckbox = true, isChecked = true) { paragraph("A completed task item") }
|
item(0) { paragraph("A plain list item") }
|
||||||
item(hasCheckbox = true, isChecked = false) { paragraph("A pending task item") }
|
item(1) { paragraph { url("google", "google.com") } }
|
||||||
item(value = 7, labelType = "1") { paragraph("An ordered item explicitly starting at 7") }
|
item(2, hasCheckbox = true, isChecked = true) { paragraph("A plain list item") }
|
||||||
|
item(3, hasCheckbox = true, isChecked = false) { paragraph("A plain list item") }
|
||||||
|
}
|
||||||
|
divider()
|
||||||
|
h3("Unordered")
|
||||||
|
unorderedList {
|
||||||
|
item { paragraph("A plain list item") }
|
||||||
|
item { paragraph { url("google", "google.com") } }
|
||||||
|
item(hasCheckbox = true, isChecked = true) { paragraph("A plain list item") }
|
||||||
|
item(hasCheckbox = true, isChecked = false) { paragraph("A plain list item") }
|
||||||
}
|
}
|
||||||
|
|
||||||
divider()
|
divider()
|
||||||
|
|||||||
Reference in New Issue
Block a user