EntityType

@Serializable
enum EntityType : Enum<EntityType>

Entries

Link copied to clipboard
@SerialName(value = "mention")
Mention
Link copied to clipboard
@SerialName(value = "hashtag")
Hashtag
Link copied to clipboard
@SerialName(value = "cashtag")
Cashtag
Link copied to clipboard
@SerialName(value = "bot_command")
BotCommand
Link copied to clipboard
@SerialName(value = "url")
Url
Link copied to clipboard
@SerialName(value = "email")
Email
Link copied to clipboard
@SerialName(value = "phone_number")
PhoneNumber
Link copied to clipboard
@SerialName(value = "bold")
Bold
Link copied to clipboard
@SerialName(value = "italic")
Italic
Link copied to clipboard
@SerialName(value = "underline")
Underline
Link copied to clipboard
@SerialName(value = "strikethrough")
Strikethrough
Link copied to clipboard
@SerialName(value = "spoiler")
Spoiler
Link copied to clipboard
@SerialName(value = "blockquote")
Blockquote
Link copied to clipboard
@SerialName(value = "code")
Code
Link copied to clipboard
@SerialName(value = "pre")
Pre
Link copied to clipboard
@SerialName(value = "text_link")
TextLink
Link copied to clipboard
@SerialName(value = "text_mention")
TextMention
Link copied to clipboard
@SerialName(value = "custom_emoji")
CustomEmoji
Link copied to clipboard
@SerialName(value = "expandable_blockquote")
ExpandableBlockQuote

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.