MessagingExtensionResponse Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. MessagingExtensionResponse
- com.
public class MessagingExtensionResponse
Messaging extension response.
Constructor Summary
| Constructor | Description |
|---|---|
| MessagingExtensionResponse() |
Creates a new empty response. |
| MessagingExtensionResponse(MessagingExtensionResult withResult) |
Creates a new response with the specified result. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Cache |
getCacheInfo()
Gets the Cache |
|
Messaging |
getComposeExtension()
Gets the response result. |
| void |
setCacheInfo(CacheInfo withCacheInfo)
Sets the Cache |
| void |
setComposeExtension(MessagingExtensionResult withComposeExtension)
Sets the response result. |
Methods inherited from java.lang.Object
Constructor Details
MessagingExtensionResponse
public MessagingExtensionResponse()
Creates a new empty response.
MessagingExtensionResponse
public MessagingExtensionResponse(MessagingExtensionResult withResult)
Creates a new response with the specified result.
Parameters:
Method Details
getCacheInfo
public CacheInfo getCacheInfo()
Gets the CacheInfo for this MessagingExtensionResponse.
Returns:
getComposeExtension
public MessagingExtensionResult getComposeExtension()
Gets the response result.
Returns:
setCacheInfo
public void setCacheInfo(CacheInfo withCacheInfo)
Sets the CacheInfo for this MessagingExtensionResponse.
Parameters:
setComposeExtension
public void setComposeExtension(MessagingExtensionResult withComposeExtension)
Sets the response result.
Parameters: