Jaa


CardAction Class

Definition

A clickable action.

public class CardAction
type CardAction = class
Public Class CardAction
Inheritance
CardAction
Derived

Constructors

CardAction()

Initializes a new instance of the CardAction class.

CardAction(String, String, String, String, String, Object, Object)

Initializes a new instance of the CardAction class.

Properties

ChannelData

Gets or sets channel-specific data associated with this action.

DisplayText

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

Image

Gets or sets image URL which will appear on the button, next to text label.

ImageAltText

Gets or sets alternate text to be used for the Image property.

Text

Gets or sets text for this action.

Title

Gets or sets text description which appears on the button.

Type

Gets or sets the type of action implemented by this button. Possible values include: 'openUrl', 'imBack', 'postBack','playAudio', 'playVideo', 'showImage', 'downloadFile', 'signin', 'call', 'messageBack'.

Value

Gets or sets supplementary parameter for action. Content of this property depends on the ActionType.

Methods

FromString(String)

Creates a CardAction from the given input.

Operators

Implicit(String to CardAction)

Implicit conversion of string to CardAction to simplify creation of CardActions with string values.

Applies to