MessageExtensionAction 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.
Message extension action payload for submit action and fetch task activities.
public class MessageExtensionAction
type MessageExtensionAction = class
Public Class MessageExtensionAction
- Inheritance
-
MessageExtensionAction
Constructors
| Name | Description |
|---|---|
| MessageExtensionAction() | |
Properties
| Name | Description |
|---|---|
| BotActivityPreview |
The activity preview that was originally sent to Teams when showing the bot message preview. This is sent back by Teams when the user clicks 'edit' or 'send' on the preview. |
| BotMessagePreviewAction |
Bot message preview action taken by user. See BotMessagePreviewActionTypes for common values. |
| CommandContext |
The context from which the command originates. See MessageExtensionCommandContexts for common values. |
| CommandId |
Id of the command assigned by the bot. |
| Context |
Context information for the action. |
| Data |
Data included with the submit action. |
| MessagePayload |
Message content sent as part of the command request when the command is invoked from a message. |