RichTextMention

data class RichTextMention(val text: RichText, val username: String) : RichTextEntity

A mention by a username.

See also

Constructors

Link copied to clipboard
constructor(text: RichText, username: String)

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
Link copied to clipboard