Companion

Properties

Link copied to clipboard
const val TYPE: String

Functions

Link copied to clipboard
fun html(text: RichText, unixTime: TelegramDate, dateTimeFormat: DateTimeEntityFormatting): String

Renders text as HTML with dateTimeFormat.

Link copied to clipboard
fun markdown(text: RichText, unixTime: TelegramDate, dateTimeFormat: DateTimeEntityFormatting): String

Renders text as Markdown with dateTimeFormat.