microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
docs/update-release-process

Branches

Tags

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

Clone

HTTPS

Download ZIP

Libraries/Microsoft.Teams.Api/Activities/Invokes/ExecuteActionActivity.cs

27lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4using System.Text.Json.Serialization;
5
6using Microsoft.Teams.Common;
7
8namespace Microsoft.Teams.Api.Activities.Invokes;
9
10public partial class Name : StringEnum
11{
12 public static readonly Name ExecuteAction = new("actionableMessage/executeAction");
13 public bool IsExecuteAction => ExecuteAction.Equals(Value);
14}
15
16/// <summary>
17/// The name of the operation associated with an invoke or event activity.
18/// </summary>
19public class ExecuteActionActivity(O365.ConnectorCardActionQuery value) : InvokeActivity(Name.ExecuteAction)
20{
21 /// <summary>
22 /// A value that is associated with the activity.
23 /// </summary>
24 [JsonPropertyName("value")]
25 [JsonPropertyOrder(32)]
26 public new O365.ConnectorCardActionQuery Value { get; set; } = value;
27}