ICardAction interface

The action that should be performed when a card, button, or image is tapped.

Properties

channelData

(Optional) Channel-specific data associated with this action.

displayText

(Optional) text to display in the chat feed if the button is clicked.

image

(Optional) Picture to display for button actions. Not all channels support button images.

text

(Optional) Text for this action.

title

Text description for button actions.

type

Defines the type of action implemented by this button. Not all action types are supported by all channels.

value

Parameter for Action. Content of this property depends on Action type.

Property Details

channelData

(Optional) Channel-specific data associated with this action.

channelData?: any

Property Value

any

displayText

(Optional) text to display in the chat feed if the button is clicked.

displayText?: string

Property Value

string

image

(Optional) Picture to display for button actions. Not all channels support button images.

image?: string

Property Value

string

text

(Optional) Text for this action.

text?: string

Property Value

string

title

Text description for button actions.

title?: string

Property Value

string

type

Defines the type of action implemented by this button. Not all action types are supported by all channels.

type: string

Property Value

string

value

Parameter for Action. Content of this property depends on Action type.

value: string

Property Value

string