FileConsentCardResponse Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. FileConsentCardResponse
- com.
public class FileConsentCardResponse
Represents the value of the invoke activity sent when the user acts on a file consent card.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| FileConsentCardResponse() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getAction()
Gets the action the user took. |
| java.lang.Object |
getContext()
Gets the context associated with the action. |
|
File |
getUploadInfo()
Gets if the user accepted the file, contains information about the file to be uploaded. |
| void |
setAction(String withAction)
Sets the action the user took. |
| void |
setContext(Object withContext)
Sets the context associated with the action. |
| void |
setUploadInfo(FileUploadInfo withUploadInfo)
Sets if the user accepted the file, contains information about the file to be uploaded. |
Methods inherited from java.lang.Object
Constructor Details
FileConsentCardResponse
public FileConsentCardResponse()
Method Details
getAction
public String getAction()
Gets the action the user took.
Returns:
getContext
public Object getContext()
Gets the context associated with the action.
Returns:
getUploadInfo
public FileUploadInfo getUploadInfo()
Gets if the user accepted the file, contains information about the file to be uploaded.
Returns:
setAction
public void setAction(String withAction)
Sets the action the user took.
Parameters:
setContext
public void setContext(Object withContext)
Sets the context associated with the action.
Parameters:
setUploadInfo
public void setUploadInfo(FileUploadInfo withUploadInfo)
Sets if the user accepted the file, contains information about the file to be uploaded.
Parameters: