TabResponsePayload Class

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

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
TabSuggestedActions 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.

TabResponseCards getValue()

Gets or sets the TabResponseCards when responding to tab/fetch activity with type of 'continue'.

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 TabResponseCards when responding to tab/fetch activity with type of 'continue'.

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

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:

The Suggested Actions for this card tab.

getType

public String getType()

Gets choice of action options when responding to the tab/fetch message. Possible values include: 'continue', 'auth' or 'silentAuth'.

Returns:

One of either: 'continue', 'auth' or 'silentAuth'.

getValue

public TabResponseCards getValue()

Gets or sets the TabResponseCards when responding to tab/fetch activity with type of 'continue'.

Returns:

Cards in response to a TabResponseCards.

setSuggestedActions

public void setSuggestedActions(TabSuggestedActions withSuggestedActions)

Sets the Suggested Actions for this card tab.

Parameters:

withSuggestedActions - The Suggested Actions for this card tab.

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:

withType - One of either: 'continue', 'auth' or 'silentAuth'.

setValue

public void setValue(TabResponseCards withValue)

Sets or sets the TabResponseCards when responding to tab/fetch activity with type of 'continue'.

Parameters:

withValue - Cards in response to a TabResponseCards.

Applies to