PromptDialog.PromptAttachment Constructor
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.
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.