AWSLexActiveContextTimeToLive
Objective-C
@interface AWSLexActiveContextTimeToLive
Swift
class AWSLexActiveContextTimeToLive
The length of time or number of turns that a context remains active.
-
The number of seconds that the context should be active after it is first sent in a
PostContent
orPostText
response. You can set the value between 5 and 86,400 seconds (24 hours).Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable timeToLiveInSeconds;
Swift
var timeToLiveInSeconds: NSNumber? { get set }
-
The number of conversation turns that the context should be active. A conversation turn is one
PostContent
orPostText
request and the corresponding response from Amazon Lex.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable turnsToLive;
Swift
var turnsToLive: NSNumber? { get set }