TabRequest Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. TabRequest
- com.
public class TabRequest
Invoke ('tab/fetch') request value payload.
Constructor Summary
| Constructor | Description |
|---|---|
| TabRequest() |
Initializes a new instance of the class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Tab |
getContext()
Gets current user context, i. |
| java.lang.String |
getState()
Gets state, which is the magic code for OAuth Flow. |
|
Tab |
getTabContext()
Gets current tab entity request context. |
| void |
setContext(TabContext withContext)
Sets current user context, i. |
| void |
setState(String withState)
Sets state, which is the magic code for OAuth Flow. |
| void |
setTabContext(TabEntityContext withTabContext)
Sets current tab entity request context. |
Methods inherited from java.lang.Object
Constructor Details
TabRequest
public TabRequest()
Initializes a new instance of the class.
Method Details
getContext
public TabContext getContext()
Gets current user context, i.e., the current theme.
Returns:
getState
public String getState()
Gets state, which is the magic code for OAuth Flow.
Returns:
getTabContext
public TabEntityContext getTabContext()
Gets current tab entity request context.
Returns:
setContext
public void setContext(TabContext withContext)
Sets current user context, i.e., the current theme.
Parameters:
setState
public void setState(String withState)
Sets state, which is the magic code for OAuth Flow.
Parameters:
setTabContext
public void setTabContext(TabEntityContext withTabContext)
Sets current tab entity request context.
Parameters: