RichTextSpoiler

data class RichTextSpoiler(val text: RichText) : RichTextEntity

A RichTextEntity covered by a spoiler.

See also

Constructors

Link copied to clipboard
constructor(text: RichText)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val html: String

Rich HTML style representation of this RichText.

Link copied to clipboard
open override val markdown: String

Rich Markdown style representation of this RichText.

Link copied to clipboard
open override val rawText: String

Plain (unformatted) text of this RichText. For RichTextEntitys without an inner RichText it falls back to the most meaningful textual representation: alternative text for custom emojis, the expression for mathematical expressions and an empty string for anchors.

Link copied to clipboard
Link copied to clipboard
open override val type: String