TabResponsePayload Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. TabResponsePayload
- com.
public class TabResponsePayload
Payload for Tab Response.
Constructor Summary
| Constructor | Description |
|---|---|
| TabResponsePayload() |
Initializes a new instance of the class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Tab |
getSuggestedActions()
Gets the Suggested Actions for this card tab. |
| java.lang.String |
getType()
Gets choice of action options when responding to the tab/fetch message. |
|
Tab |
getValue()
Gets or sets the Tab |
| void |
setSuggestedActions(TabSuggestedActions withSuggestedActions)
Sets the Suggested Actions for this card tab. |
| void |
setType(String withType)
Sets choice of action options when responding to the tab/fetch message. |
| void |
setValue(TabResponseCards withValue)
Sets or sets the Tab |
Methods inherited from java.lang.Object
Constructor Details
TabResponsePayload
public TabResponsePayload()
Initializes a new instance of the class.
Method Details
getSuggestedActions
public TabSuggestedActions getSuggestedActions()
Gets the Suggested Actions for this card tab.
Returns:
getType
public String getType()
Gets choice of action options when responding to the tab/fetch message. Possible values include: 'continue', 'auth' or 'silentAuth'.
Returns:
getValue
public TabResponseCards getValue()
Gets or sets the TabResponseCards when responding to tab/fetch activity with type of 'continue'.
Returns:
setSuggestedActions
public void setSuggestedActions(TabSuggestedActions withSuggestedActions)
Sets the Suggested Actions for this card tab.
Parameters:
setType
public void setType(String withType)
Sets choice of action options when responding to the tab/fetch message. Possible values include: 'continue', 'auth' or 'silentAuth'.
Parameters:
setValue
public void setValue(TabResponseCards withValue)
Sets or sets the TabResponseCards when responding to tab/fetch activity with type of 'continue'.
Parameters: