-
Notifications
You must be signed in to change notification settings - Fork 178
/
Copy pathAdaptiveCardPromptResult.cs
35 lines (32 loc) · 1.06 KB
/
AdaptiveCardPromptResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System.Collections.Generic;
namespace Bot.Builder.Community.Dialogs.Prompts
{
/// <summary>
/// Represents a result from adaptive card input.
/// </summary>
/// <typeparam name="T">Type returned by recognizer.</typeparam>
public class AdaptiveCardPromptResult
{
/// <summary>
/// Gets or sets the Value of the Adaptive Card input.
/// </summary>
/// <value>
/// The value of the user's input from the Adaptive Card.
/// </value>
public object Data { get; set; }
/// <summary>
/// Gets or sets Error enum.
/// </summary>
/// <value>
/// If not recognized.succeeded, include reason why, if known.
/// </value>
public AdaptiveCardPromptErrors Error { get; set; }
/// <summary>
/// Gets or sets array of missing required Ids.
/// </summary>
/// <value>
/// Array of requiredIds that were not included with user input.
/// </value>
public List<string> MissingIds { get; set; }
}
}