# Functions
Plain creates a new text.Rich without any formatting segments.
SolidColor takes in a 24-bit RGB color and overrides the alpha bits with 0xFF, making the color solid.
# Constants
Bold represents bold text.
Dimmed represents dimmed text, typically slightly less visible than other text.
Italics represents italicized text.
Monospace represents monospaced text, typically for inline code.
Normal is a zero-value attribute.
Spoiler represents spoiler text, which usually looks blacked out until hovered or clicked on.
Strikethrough represents struckthrough text.
Underline represents underlined text.
# Interfaces
Attributor is a rich text markup format that a segment could implement.
Avatarer implies the segment should be replaced with a rounded-corners image.
Codeblocker is a codeblock that supports optional syntax highlighting using the language given.
Colorer is a text color format that a segment could implement.
Imager implies the segment should be replaced with a (possibly inlined) image.
Linker is a hyperlink format that a segment could implement.
Mentioner implies that the segment can be clickable, and when clicked it should open up a dialog containing information from MentionInfo().
MessageReferencer is similar to Linker, except it references a message instead of an arbitrary URL.
Quoteblocker represents a quoteblock that behaves similarly to the blockquote HTML tag.
Segment is the minimum requirement for a format segment.
# Type aliases
Attribute is the type for basic rich text markup attributes.