Jaa


PromptDialog.PromptAttachment Constructor

Definition

Constructor for a prompt attachment dialog.

public PromptAttachment (string prompt, string retry, int attempts, System.Collections.Generic.IEnumerable<string> contentTypes = default);
new Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptAttachment : string * string * int * seq<string> -> Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptAttachment
Public Sub New (prompt As String, retry As String, attempts As Integer, Optional contentTypes As IEnumerable(Of String) = Nothing)

Parameters

prompt
String

The prompt.

retry
String

What to display on retry.

attempts
Int32

The optional content types the attachment type should be part of.

contentTypes
IEnumerable<String>

The content types that is used to filter the attachments. Null implies any content type.

Applies to