CardAction Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| CardAction() |
Initializes a new instance of CardAction. |
| CardAction(String, String, String, String, String, Object, Object, String) |
Initializes a new instance of CardAction. |
CardAction()
Initializes a new instance of CardAction.
public CardAction();
Public Sub New ()
Applies to
CardAction(String, String, String, String, String, Object, Object, String)
Initializes a new instance of CardAction.
public CardAction(string type = default, string title = default, string image = default, string text = default, string displayText = default, object value = default, object channelData = default, string imageAltText = default);
new Microsoft.Agents.Core.Models.CardAction : string * string * string * string * string * obj * obj * string -> Microsoft.Agents.Core.Models.CardAction
Public Sub New (Optional type As String = Nothing, Optional title As String = Nothing, Optional image As String = Nothing, Optional text As String = Nothing, Optional displayText As String = Nothing, Optional value As Object = Nothing, Optional channelData As Object = Nothing, Optional imageAltText As String = Nothing)
Parameters
- type
- String
Defines action types for clickable buttons. See ActionTypes.
- title
- String
Text description which appears on the button.
- image
- String
Image URL which will appear on the button, next to text label.
- text
- String
Text for this action.
- displayText
- String
(Optional) text to display in the chat feed if the button is clicked.
- value
- Object
Supplementary parameter for action. Content of this property depends on the ActionType.
- channelData
- Object
Channel-specific data associated with this action.
- imageAltText
- String
Alternate text to be used for the Image property.