Share via


MessagingExtensionResult Class

Definition

Messaging extension result.

public class MessagingExtensionResult
type MessagingExtensionResult = class
Public Class MessagingExtensionResult
Inheritance
MessagingExtensionResult

Constructors

MessagingExtensionResult()

Initializes a new instance of the MessagingExtensionResult class.

MessagingExtensionResult(String, String, IList<MessagingExtensionAttachment>, MessagingExtensionSuggestedAction, String, Activity)

Initializes a new instance of the MessagingExtensionResult class.

Properties

ActivityPreview

Gets or sets (Only when type is botMessagePreview) Message activity to preview.

AttachmentLayout

Gets or sets hint for how to deal with multiple attachments. Possible values include: 'list', 'grid'.

Attachments

Gets or sets (Only when type is result) Attachments.

SuggestedActions

Gets or sets the suggested actions.

Text

Gets or sets (Only when type is message) Text.

Type

Gets or sets the type of the result. Possible values include: 'result', 'auth', 'config', 'message', 'botMessagePreview'.

Applies to