Package | Description |
---|---|
com.sap.cloud.sdk.services.recastai | |
com.sap.cloud.sdk.services.recastai.botresponses |
Modifier and Type | Method and Description |
---|---|
int |
RecastMessenger.broadcastMessage(ResponseInterface... responseMessages)
broadcasts a message to all conversations
|
int |
RecastMessenger.sendMessage(String conversationId,
ResponseInterface... responseMessages)
Sends an array of Messages to the given conversation
|
void |
MessageResponseWrapper.setMessages(ResponseInterface[] messages)
Sets a message array to be sent out.
|
Constructor and Description |
---|
RecastWebhookResponseWrapper(ResponseInterface... replies)
Compose the reply to a webhook request.
|
Constructor and Description |
---|
RecastWebhookResponseWrapper(List<ResponseInterface> replies,
ConversationUpdate conversation)
Compose the reply to a webhook request.
|
Modifier and Type | Class and Description |
---|---|
class |
ButtonResponse
Represents all different types of button responses.
|
class |
CardResponse
Outermost wrapper for a Card to be send to a conversation.
|
class |
CarouselResponse
This class is the outermost wrapper for a carousel response to be sent to a conversation.
|
class |
ListResponse
This is the outermost wrapper for a list to be sent to a conversation.
|
class |
MediaResponse
This class wraps around a URL to send a picture or video to a conversation.
|
class |
TextResponse
This is the simplest response to be send.
|
class |
VideoResponse
This class wraps around an URL linking to a video to be send to a conversation.
|
Copyright © 2020 SAP SE. All rights reserved.