MessageInput
fun MessageInput(messageText: String, onMessageChange: (String) -> Unit, onSendMessage: () -> Unit, isEnabled: Boolean, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, isHomoglyphEncodingEnabled: Boolean = false, maxByteSize: Int = MESSAGE_CHARACTER_LIMIT_BYTES)(source)
Shared message input field with send button, byte counter, and homoglyph encoding support.
Parameters
messageText
The current message text.
onMessageChange
Callback when the text changes.
onSendMessage
Callback when the send button is pressed.
isEnabled
Whether the input field should be enabled.
isHomoglyphEncodingEnabled
Whether to optimize text using homoglyph encoding.
maxByteSize
The maximum allowed size of the message in bytes.