SMIPreChatConfiguration

Objective-C

@protocol SMIPreChatConfiguration

Swift

protocol PreChatConfiguration

Represents a pre-chat field.

  • The formType for the pre-chat configuration.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) SMIPreChatConfigurationFormTypes _Nonnull formType;

    Swift

    var formType: SMIPreChatConfigurationFormTypes { get }
  • The list of pre-chat fields that are associated with a given configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<id<SMIPreChatField>> *_Nonnull preChatFields;

    Swift

    var preChatFields: [PreChatField] { get }
  • The list of hidden pre-chat fields that are associated with a given configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<id<SMIHiddenPreChatField>> *_Nonnull hiddenPreChatFields;

    Swift

    var hiddenPreChatFields: [HiddenPreChatField] { get }