SelectActionResponse - Interface representing a select action response.

interface SelectActionResponse {
    error?: Error;
    option: { text: string; value: string };
    type: "select";
    value: string;
}

Hierarchy (View Summary)

Properties

Properties

error?: Error

Optional error object if an error occurred during the action.

option: { text: string; value: string }

The selected option.

type: "select"

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

value: string

The value of the response.