TextActionRequest - Interface representing a text action request.

interface TextActionRequest {
    addMessage?: boolean;
    always?: boolean;
    defaultValue?: string;
    placeholder?: string;
    response?: TextActionResponse;
    sendButtonText?: string;
    type: "text";
}

Hierarchy (View Summary)

Properties

addMessage?: boolean

Indicates if a message should be added.

always?: boolean

Indicates if the action should always be performed.

defaultValue?: string

The default value for the text input (optional).

placeholder?: string

The placeholder text for the text input (optional).

The response for the text action (optional).

sendButtonText?: string

The text for the send button (optional).

type: "text"

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