TabRequest Class

  • java.lang.Object
    • com.microsoft.bot.schema.teams.TabRequest

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
TabContext getContext()

Gets current user context, i.e., the current theme.

java.lang.String getState()

Gets state, which is the magic code for OAuth Flow.

TabEntityContext getTabContext()

Gets current tab entity request context.

void setContext(TabContext withContext)

Sets current user context, i.e., the current theme.

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

Current user context, i.e., the current theme.

getState

public String getState()

Gets state, which is the magic code for OAuth Flow.

Returns:

State, which is the magic code for OAuth Flow.

getTabContext

public TabEntityContext getTabContext()

Gets current tab entity request context.

Returns:

Tab context

setContext

public void setContext(TabContext withContext)

Sets current user context, i.e., the current theme.

Parameters:

withContext - Current user context, i.e., the current theme.

setState

public void setState(String withState)

Sets state, which is the magic code for OAuth Flow.

Parameters:

withState - State, which is the magic code for OAuth Flow.

setTabContext

public void setTabContext(TabEntityContext withTabContext)

Sets current tab entity request context.

Parameters:

withTabContext - Tab context

Applies to