PreChatSurveyCustomField

public struct PreChatSurveyCustomField

A pre-chat survey field element which should be presented to user before chat thread is created.

  • Determines if it is necessary to fill out this custom field and send it via method set(_:for:) to the SDK.

    Declaration

    Swift

    public let isRequired: Bool
  • The type of element that can be present in the content of a dynamic pre-chat survey.

    Declaration

    Swift

    public let type: CustomFieldType