SuggestedAction Class
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.
Represents a clickable action
public class SuggestedAction
type SuggestedAction = class
Public Class SuggestedAction
- Inheritance
-
SuggestedAction
Constructors
| 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. |
Properties
| Name | Description |
|---|---|
| ChannelData |
Gets or sets the channel-specific data associated with this action. |
| DisplayText |
Gets or sets the text to display in the chat feed if the button is clicked. |
| Image |
Gets or sets the image URL which will appear on the button, next to the text label. |
| ImageAltText |
Gets or sets the alternate image text to be used in place of the image. |
| Text |
Gets or sets the text for this action. |
| Title |
Gets or sets the text description which appears on the button. |
| Type |
Gets or sets the type of action implemented by this button. See ActionTypes for common values. |
| Value |
Gets or sets the supplementary parameter for the action. The content of this property depends on the action type. |