AIUIAction

constructor(messageId: String, format: AIUIFormat, name: String, label: String, payload: Map<String, Any?> = emptyMap())

Parameters

messageId

The reply whose UI it came from.

format

The format of that UI.

name

What happened, such as an event of an app's component (ask_about) or OpenUI's continue_conversation.

label

What the person did, in their words, such as "Tell me more about St. Naum".

payload

The details in the format's own shape, such as what was chosen and a form's values, as plain Kotlin values.