TabSubmit Class

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

public class TabSubmit

Invoke ('tab/submit') request value payload.

Constructor Summary

Constructor Description
TabSubmit()

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.

TabSubmitData getData()

Gets user input data.

TabEntityContext getTabEntityContext()

Gets current tab entity request context.

void setContext(TabContext withContext)

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

void setData(TabSubmitData withData)

Sets user input data.

void setTabEntityContext(TabEntityContext withTabEntityContext)

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

TabSubmit

public TabSubmit()

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.

getData

public TabSubmitData getData()

Gets user input data. Free payload containing properties of key-value pairs.

Returns:

User input data. Free payload containing properties of key-value pairs.

getTabEntityContext

public TabEntityContext getTabEntityContext()

Gets current tab entity request context.

Returns:

Tab context for the TabSubmit.

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.

setData

public void setData(TabSubmitData withData)

Sets user input data. Free payload containing properties of key-value pairs.

Parameters:

withData - User input data. Free payload containing properties of key-value pairs.

setTabEntityContext

public void setTabEntityContext(TabEntityContext withTabEntityContext)

Sets current tab entity request context.

Parameters:

withTabEntityContext - Tab context for the TabSubmit.

Applies to