TabContext Class
- java.
lang. Object - com.
microsoft. bot. schema. teams. TabContext
- com.
public class TabContext
Current tab request context, i.e., the current theme.
Constructor Summary
| Constructor | Description |
|---|---|
| TabContext() |
Initializes a new instance of the class. |
| TabContext(String withTheme) |
Initializes a new instance of the class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getTheme()
Gets the current user's theme. |
| void |
setTheme(String withTheme)
Sets the current user's theme. |
Methods inherited from java.lang.Object
Constructor Details
TabContext
public TabContext()
Initializes a new instance of the class.
TabContext
public TabContext(String withTheme)
Initializes a new instance of the class.
Parameters:
Method Details
getTheme
public String getTheme()
Gets the current user's theme.
Returns:
setTheme
public void setTheme(String withTheme)
Sets the current user's theme.
Parameters: