Interface Option

Represents an individual option that is part of an "options" response.

interface Option {
    label: string;
    value: { input: MessageInput };
}

Properties

Properties

label: string

The user-facing label for the option or disambiguation suggestion. This label is taken from the user_label property of the corresponding dialog node.

value: { input: MessageInput }

Type declaration

  • input: MessageInput

    An input object that should be sent back to the assistant when this option is chosen by a user.

MMNEPVFCICPMFPCPTTAAATR