TaskModuleAction Class
- java.
lang. Object - com.
microsoft. bot. schema. CardAction - com.
microsoft. bot. schema. teams. TaskModuleAction
- com.
- com.
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
clone
getChannelData
getDisplayText
getImage
getImageAltText
getText
getTitle
getType
getValue
setChannelData
setDisplayText
setImage
setImageAltText
setText
setTitle
setType
setValue
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.