microsoft/teams.net
Publicmirrored from https://github.com/microsoft/teams.netAvailable
Libraries/Microsoft.Teams.Api/Config/ConfigAuth.cs
29lines · modeblame
5a1c7318Alex Acebo1 years ago | 1 | using System.Text.Json.Serialization; |
| 2 | | |
| 3 | namespace Microsoft.Teams.Api.Config; | |
| 4 | | |
| 5 | /// <summary> | |
| 6 | /// Specifies bot config auth, including type and suggestedActions. | |
| 7 | /// </summary> | |
| 8 | public class ConfigAuth | |
| 9 | { | |
| 10 | /// <summary> | |
| 11 | /// Gets or sets type of bot config auth. | |
| 12 | /// </summary> | |
| 13 | /// <value> | |
| 14 | /// The type of bot config auth. | |
| 15 | /// </value> | |
| 16 | [JsonPropertyName("type")] | |
| 17 | [JsonPropertyOrder(0)] | |
| 18 | public string Type { get; set; } = "auth"; | |
| 19 | | |
| 20 | /// <summary> | |
| 21 | /// Gets or sets suggested actions. | |
| 22 | /// </summary> | |
| 23 | /// <value> | |
| 24 | /// The suggested actions of bot config auth. | |
| 25 | /// </value> | |
| 26 | [JsonPropertyName("suggestedActions")] | |
| 27 | [JsonPropertyOrder(1)] | |
| 28 | public SuggestedActions? SuggestedActions { get; set; } | |
| 29 | } |