RichTextType

@NullMarked
enum RichTextType(source)

Entries

Link copied to clipboard
@NullMarked
USER
Link copied to clipboard
@NullMarked
EMOJI
Link copied to clipboard
@NullMarked
CHANNEL
Link copied to clipboard
@NullMarked
ROLE
Link copied to clipboard
@NullMarked
EVERYONE
Link copied to clipboard
@NullMarked
HERE
Link copied to clipboard
@NullMarked
UNICODE_EMOTE
Link copied to clipboard
@NullMarked
URL
Link copied to clipboard
@NullMarked
TEXT

Properties

Link copied to clipboard
@Nullable
@get:Nullable
val mentionType: @Nullable Message.MentionType

Functions

Link copied to clipboard
@Nullable
open fun getPattern(): @Nullable Pattern
Link copied to clipboard
open fun valueOf(name: String): RichTextType

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. This method may be used to iterate over the constants.