SMIPreChatChoiceListField

Objective-C

@protocol SMIPreChatChoiceListField <SMIPreChatField>

Swift

protocol PreChatChoiceListField : PreChatField

Represents a pre-chat choice list field.

  • Choice list field ID that can be used to reference a set of choice list values to a specific pre-chat choice list field.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull choiceListId;

    Swift

    var choiceListId: String { get }
  • Array of choice list specific to the choice list field ID.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) id<SMIChoiceList> _Nonnull choiceList;

    Swift

    var choiceList: any ChoiceList { get }