Send a message

A simple helper function that you can invoke if you want the AI to answer a prompt. Make sure the AI component is already opened before calling this. If not, use the Txt.openChat() function instead.

This helper function is useful if you want to trigger a follow up prompt from an action.

Txt.sendMessage(prompt: string, hidden = false)