public class MessageReceivedRequest extends SpeechletRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageReceivedRequest.Builder
Builder used to construct a new
MessageReceivedRequest. |
SpeechletRequest.SpeechletRequestBuilder<T extends SpeechletRequest.SpeechletRequestBuilder,S extends SpeechletRequest>| Modifier | Constructor and Description |
|---|---|
protected |
MessageReceivedRequest(String requestId,
Date timestamp,
Locale locale,
Map<String,Object> message)
Protected constructor used for JSON serialization and for extending this class.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageReceivedRequest.Builder |
builder()
Returns a new builder instance used to construct a new
MessageReceivedRequest. |
Map<String,Object> |
getMessage()
Returns the message associated with this request.
|
getLocale, getRequestId, getTimestampprotected MessageReceivedRequest(String requestId, Date timestamp, Locale locale, Map<String,Object> message)
requestId - the unique identifier associated with the requesttimestamp - the request timestamplocale - the locale of the requestmessage - the message needs to be deliveredpublic static MessageReceivedRequest.Builder builder()
MessageReceivedRequest.Copyright © 2017. All rights reserved.