TaskModuleAction Class

public class TaskModuleAction
extends CardAction

Adapter class to represent BotBuilder card action as adaptive card action (in type of Action.Submit).

Constructor Summary

Constructor Description
TaskModuleAction(String withTitle, Object withValue)

Initializes a new instance.

Methods inherited from CardAction

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

TaskModuleAction

public TaskModuleAction(String withTitle, Object withValue)

Initializes a new instance.

Parameters:

withTitle - Button title.
withValue - Free hidden value binding with button. The value will be sent out with "task/fetch" invoke event.

Applies to