AdapterIntegration Interface
public interface AdapterIntegration
An interface that defines the contract between web service integration pieces and the bot adapter.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract java.util.concurrent.CompletableFuture<java.lang.Void> |
continueConversation(String botId, ConversationReference reference, BotCallbackHandler callback)
Sends a proactive message to a conversation. |
|
abstract
java.util.concurrent.CompletableFuture<Invoke |
processActivity(String authHeader, Activity activity, BotCallbackHandler callback)
Creates a turn context and runs the middleware pipeline for an incoming activity. |
Method Details
continueConversation
public abstract CompletableFuture
Sends a proactive message to a conversation.
Call this method to proactively send a message to a conversation. Most _channels require a user to initiate a conversation with a bot before the bot can send activities to the user.
Parameters:
Returns:
processActivity
public abstract CompletableFuture
Creates a turn context and runs the middleware pipeline for an incoming activity.
Parameters:
Returns: