microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
core/src/Microsoft.Teams.Bot.Apps/Handlers/MessageExtension/MessageExtensionQueryLink.cs
27lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | using System.Text.Json.Serialization; |
| 5 | |
| 6 | namespace Microsoft.Teams.Bot.Apps.Handlers.MessageExtension; |
| 7 | |
| 8 | /// <summary> |
| 9 | /// App-based query link payload for link unfurling. |
| 10 | /// </summary> |
| 11 | public class MessageExtensionQueryLink |
| 12 | { |
| 13 | /// <summary> |
| 14 | /// URL queried by user. |
| 15 | /// </summary> |
| 16 | [JsonPropertyName("url")] |
| 17 | public Uri? Url { get; set; } |
| 18 | |
| 19 | //TODO : review |
| 20 | /* |
| 21 | /// <summary> |
| 22 | /// State parameter for OAuth flow. |
| 23 | /// </summary> |
| 24 | [JsonPropertyName("state")] |
| 25 | public string? State { get; set; } |
| 26 | */ |
| 27 | } |
| 28 | |