SelectActionRequest - Interface representing a select action request.

interface SelectActionRequest {
    addMessage?: boolean;
    always?: boolean;
    options: { text: string; value: string }[];
    response?: SelectActionResponse;
    type: "select";
}

Hierarchy (View Summary)

Properties

addMessage?: boolean

Indicates if a message should be added.

always?: boolean

Indicates if the action should always be performed.

options: { text: string; value: string }[]

The options for selection.

The response for the select action (optional).

type: "select"

The type of the request. Value is 'select'.