TaskModuleAction class

Represents a task module action.

Constructors

TaskModuleAction(string, any)

Creates an action that invokes a task/fetch task module.

Properties

channelData

The channel data of the action.

displayText

The display text of the action.

image

The image associated with the action.

imageAltText

The alt text for the image.

text

The text associated with the action.

title

The title of the action.

type

The type of the action.

value

The value of the action.

Constructor Details

TaskModuleAction(string, any)

Creates an action that invokes a task/fetch task module.

new TaskModuleAction(title: string, value: any)

Parameters

title

string

The action title.

value

any

The action data as an object or JSON string.

Property Details

channelData

The channel data of the action.

channelData?: unknown

Property Value

unknown

displayText

The display text of the action.

displayText?: string

Property Value

string

image

The image associated with the action.

image?: string

Property Value

string

imageAltText

The alt text for the image.

imageAltText?: string

Property Value

string

text

The text associated with the action.

text?: string

Property Value

string

title

The title of the action.

title: string

Property Value

string

type

The type of the action.

type: string

Property Value

string

value

The value of the action.

value: unknown

Property Value

unknown