zendesk-messaging-client
    Preparing search index...

    Type Alias Field

    type Field = {
        email?: string;
        label: string;
        name: string;
        select?: { [key: string]: unknown }[];
        text?: string;
        type: "email" | "select" | "text";
    }
    Index

    Properties

    email?: string

    Specifies the response for a email field.

    label: string

    The label of the field. What the field is displayed as on Web Messenger.

    name: string

    The name of the field. Must be unique per form or formResponse.

    select?: { [key: string]: unknown }[]

    Array of objects representing the response for a field of type select. Form and formResponse messages only.

    text?: string

    Specifies the response for a text field.

    type: "email" | "select" | "text"

    The field type.