AWSLexResponseCard
Objective-C
@interface AWSLexResponseCard
Swift
class AWSLexResponseCard
If you configure a response card when creating your bots, Amazon Lex substitutes the session attributes and slot values that are available, and then returns it. The response card can also come from a Lambda function ( dialogCodeHook and fulfillmentActivity on an intent).
-
The content type of the response.
Declaration
Objective-C
@property (nonatomic) AWSLexContentType contentType;Swift
var contentType: AWSLexContentType { get set } -
An array of attachment objects representing options.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSLexGenericAttachment *> *_Nullable genericAttachments;Swift
var genericAttachments: [AWSLexGenericAttachment]? { get set } -
The version of the response card format.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable version;Swift
var version: String? { get set }
View on GitHub
Install in Dash
AWSLexResponseCard Class Reference