AbstractAbstractactionBuilds the action to attach to a note.
Button text.
Callback returning the NewChatSpec, invoked when the user taps.
The thread the note is going on. Used to build the fallback link that clients predating chat support open instead.
Built-in tool for realtime conversation with the user.
A twist attaches a chat action to a note; tapping it opens a conversation the user can speak or type, with the same agent either way. Each finished turn is written into the thread as a note, so the conversation reads the same while it is happening and when the user scrolls back to it later. When it ends, the twist's
onEndedcallback receives the transcript.Example