Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class MessageComposerState @JvmOverloads constructor(val inputValue: String = "", val attachments: List<Attachment> = emptyList(), val action: MessageAction? = null, val validationErrors: List<ValidationError> = emptyList(), val mentionSuggestions: List<User> = emptyList(), val commandSuggestions: List<Command> = emptyList(), val linkPreviews: List<LinkPreview> = emptyList(), val coolDownTime: Int = 0, val messageMode: MessageMode = MessageMode.Normal, val alsoSendToChannel: Boolean = false, val ownCapabilities: Set<String> = setOf(), val hasCommands: Boolean = false, val currentUser: User? = null, val recording: RecordingState = RecordingState.Idle)
Represents the state within the message input.
Link copied to clipboard
Link copied to clipboard
Represents a validation error for the user input.
Inherited functions
Link copied to clipboard
fun RecordingState.Recording.copy(duration: Int = this.durationInMs, waveform: List<Float> = this.waveform): RecordingState.Recording