SMIChoice

Objective-C

@protocol SMIChoice <NSObject>

Swift

protocol Choice : NSObjectProtocol

A response type that represents a specific choice.

  • The ID of this option.

    Declaration

    Objective-C

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

    Swift

    var optionId: String { get }
  • The title of this choice.

    Declaration

    Objective-C

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

    Swift

    var title: String { get }
  • The string for this choice that will be displayed in the chat feed.

    Declaration

    Objective-C

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

    Swift

    var optionValue: String { get }
  • The ID of the parent entry for this choice.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *parentEntryId;

    Swift

    var parentEntryId: String? { get }