MessagingExtensionActionResponse Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. MessagingExtensionActionResponse
- com.
public class MessagingExtensionActionResponse
Response of messaging extension action.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MessagingExtensionActionResponse() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Cache |
getCacheInfo()
Gets the Cache |
|
Messaging |
getComposeExtension()
Gets the extension result. |
|
Task |
getTask()
Gets the Adaptive card to appear in the task module. |
| void |
setCacheInfo(CacheInfo withCacheInfo)
Sets the Cache |
| void |
setComposeExtension(MessagingExtensionResult withComposeExtension)
Sets the extension result. |
| void |
setTask(TaskModuleResponseBase withTask)
Sets the Adaptive card to appear in the task module. |
Methods inherited from java.lang.Object
Constructor Details
MessagingExtensionActionResponse
public MessagingExtensionActionResponse()
Method Details
getCacheInfo
public CacheInfo getCacheInfo()
Gets the CacheInfo for this MessagingExtensionActionResponse.
Returns:
getComposeExtension
public MessagingExtensionResult getComposeExtension()
Gets the extension result.
Returns:
getTask
public TaskModuleResponseBase getTask()
Gets the Adaptive card to appear in the task module.
Returns:
setCacheInfo
public void setCacheInfo(CacheInfo withCacheInfo)
Sets the CacheInfo for this MessagingExtensionActionResponse.
Parameters:
setComposeExtension
public void setComposeExtension(MessagingExtensionResult withComposeExtension)
Sets the extension result.
Parameters:
setTask
public void setTask(TaskModuleResponseBase withTask)
Sets the Adaptive card to appear in the task module.
Parameters: