Share via


MessagingExtensionAction Class

Definition

Messaging extension action.

public class MessagingExtensionAction : Microsoft.Bot.Schema.Teams.TaskModuleRequest
type MessagingExtensionAction = class
    inherit TaskModuleRequest
Public Class MessagingExtensionAction
Inherits TaskModuleRequest
Inheritance
MessagingExtensionAction

Constructors

MessagingExtensionAction()

Initializes a new instance of the MessagingExtensionAction class.

MessagingExtensionAction(Object, TaskModuleRequestContext, String, String, String, IList<Activity>, MessageActionsPayload)

Initializes a new instance of the MessagingExtensionAction class.

Properties

BotActivityPreview

Gets or sets the bot activity preview.

BotMessagePreviewAction

Gets or sets bot message preview action taken by user. Possible values include: 'edit', 'send'.

CommandContext

Gets or sets the context from which the command originates. Possible values include: 'message', 'compose', 'commandbox'.

CommandId

Gets or sets ID of the command assigned by Bot.

Context

Gets or sets current user context, i.e., the current theme.

(Inherited from TaskModuleRequest)
Data

Gets or sets user input data. Free payload with key-value pairs.

(Inherited from TaskModuleRequest)
MessagePayload

Gets or sets message content sent as part of the command request.

State

Gets or sets state parameter passed back to the bot after authentication flow.

TabEntityContext

Gets or sets current tab request context.

(Inherited from TaskModuleRequest)

Applies to