ChatFormConfiguration

@objc(ZDKChatFormConfiguration)
public final class ChatFormConfiguration : NSObject, ReflectedStringConvertible

Configuration object used to gather the desired requirements for a Chat form.

  • Sets how the name field is presented to the end-user. Field is .optional by default.

    Declaration

    Swift

    @objc
    public var name: FormFieldStatus
  • Sets how the email field is presented to the end-user. Field is .optional by default.

    Declaration

    Swift

    @objc
    public var email: FormFieldStatus
  • Sets how the phone number field is presented to the end-user. Field is .optional by default.

    Declaration

    Swift

    @objc
    public var phoneNumber: FormFieldStatus
  • Sets how the department selection field is presented to the end-user. Field is .optional by default.

    Declaration

    Swift

    @objc
    public var department: FormFieldStatus