Package 

Class ComposerInputContentParams

    • Constructor Detail

      • ComposerInputContentParams

        ComposerInputContentParams(MessageData messageData, Boolean isGenerating, Function1<String, Unit> onTextChange, Function1<Uri, Unit> onRemoveAttachment, Function0<Unit> onSendClick, Function0<Unit> onStopClick, FocusRequester focusRequester)
        Parameters:
        messageData - The message currently being composed.
        isGenerating - Whether the AI is currently generating a response.
        onTextChange - Called when the input text changes.
        onRemoveAttachment - Called when the user removes an attachment.
        onSendClick - Called when the user sends the message.
        onStopClick - Called when the user stops AI generation.
        focusRequester - The composer's focus requester, when its caller passed one.