microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
next/core

Branches

Tags

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

Clone

HTTPS

Download ZIP

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

25lines · 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
8/// <summary>
9/// This class is deprecated. Please use <see cref="ImBackSubmitActionData"/> instead. This will be removed in a future version of the SDK.
10/// </summary>
11[Obsolete("This class is deprecated. Use ImBackSubmitActionData instead. This will be removed in a future version of the SDK.")]
12public class IMBackAction : SubmitAction
13{
14 /// <summary>
15 /// Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
16 /// </summary>
17 ///
18 public IMBackAction(string value)
19 {
20 Data = new Union<string, SubmitActionData>(new SubmitActionData
21 {
22 Msteams = new ImBackSubmitActionData(value)
23 });
24 }
25}