SuggestedAction 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
| Name | Description |
|---|---|
| SuggestedAction() |
Default constructor for JSON deserialization. |
| SuggestedAction(ActionType, String, Object) |
Initializes a new instance of the SuggestedAction class with the specified type, title, and value. |
SuggestedAction()
Default constructor for JSON deserialization.
public SuggestedAction();
Public Sub New ()
Applies to
SuggestedAction(ActionType, String, Object)
Initializes a new instance of the SuggestedAction class with the specified type, title, and value.
public SuggestedAction(Microsoft.Teams.Apps.Schema.ActionType type, string title, object? value = default);
new Microsoft.Teams.Apps.Schema.SuggestedAction : Microsoft.Teams.Apps.Schema.ActionType * string * obj -> Microsoft.Teams.Apps.Schema.SuggestedAction
Public Sub New (type As ActionType, title As String, Optional value As Object = Nothing)
Parameters
- type
- ActionType
The type of action. See ActionTypes for common values.
- title
- String
The text description displayed on the button.
- value
- Object
The value sent when the button is clicked. Accepts strings, anonymous objects, or JsonNode instances. Defaults to title when not specified.