microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
samples/migration-bot

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/src/Microsoft.Teams.Bot.Apps/Handlers/MessageExtension/MessageExtensionQueryLink.cs

27lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4using System.Text.Json.Serialization;
5
6namespace Microsoft.Teams.Bot.Apps.Handlers.MessageExtension;
7
8/// <summary>
9/// App-based query link payload for link unfurling.
10/// </summary>
11public 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