handleQuickChatAction
fun handleQuickChatAction(action: ERROR CLASS: Symbol not found for QuickChatAction, currentText: String, onUpdateText: (String) -> Unit, onSendMessage: (String) -> Unit)(source)
Handles a quick chat action, either appending its message to the current text or sending it directly.
Parameters
action
The QuickChatAction to handle.
currentText
The current text in the message input.
onUpdateText
Lambda to call when the text needs to be updated (for Append mode).
onSendMessage
Lambda to call when a message needs to be sent (for Instant mode).