AWSLexButton Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSLexModel.h
AWSLexModel.m

Overview

Represents an option to be shown on the client platform (Facebook, Slack, etc.)

Required parameters: [text, value]

  text

Text that is visible to the user on the button.

@property (nonatomic, strong) NSString *text

Declared In

AWSLexModel.h

  value

The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."

@property (nonatomic, strong) NSString *value

Declared In

AWSLexModel.h