microsoft/teams.net

Public

mirrored from https://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

Libraries/Microsoft.Teams.Cards/Actions/IMBackAction.cs

21lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4using Microsoft.Teams.Common;
5
6namespace Microsoft.Teams.Cards;
7
8public class IMBackAction : SubmitAction
9{
10 /// <summary>
11 /// Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
12 /// </summary>
13 ///
14 public IMBackAction(string value)
15 {
16 Data = new Union<string, SubmitActionData>(new SubmitActionData
17 {
18 Msteams = new ImBackSubmitActionData(value)
19 });
20 }
21}