AWSLexGenericAttachment

Objective-C

@interface AWSLexGenericAttachment

Swift

class AWSLexGenericAttachment

Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.

  • The URL of an attachment to the response card.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable attachmentLinkUrl;

    Swift

    var attachmentLinkUrl: String? { get set }
  • The list of options to show to the user.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSLexButton *> *_Nullable buttons;

    Swift

    var buttons: [AWSLexButton]? { get set }
  • The URL of an image that is displayed to the user.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable imageUrl;

    Swift

    var imageUrl: String? { get set }
  • The subtitle shown below the title.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable subTitle;

    Swift

    var subTitle: String? { get set }
  • The title of the option.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable title;

    Swift

    var title: String? { get set }