Package-level declarations
Types
New raw text plus the selection to apply to the field after a formatting action.
State of the translation-model download dialog on the message screen.
Functions
True when text contains any recognised paired inline-markdown syntax.
True when text is exactly a [label](url) markdown link.
The main screen for displaying and sending messages to a contact or channel.
Unwraps a [label](url) selection back to its label, or returns null when the selection is not a markdown link.
Toggles style markup around the selection range of text: wraps an unwrapped selection, removes the delimiters from an already-wrapped one, and inserts an empty delimiter pair for a collapsed cursor. Whitespace is kept outside the delimiters, delimiter characters the selection cuts through are absorbed, and orphaned delimiters left elsewhere are cleaned up.
Wraps the selection as [selection](url), or inserts a [link text](url) placeholder for a collapsed cursor.