Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Libraries/Microsoft.Teams.Cards/Actions/IMBackAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

namespace Microsoft.Teams.Cards;

/// <summary>
/// This class is deprecated. Please use <see cref="ImBackSubmitActionData"/> instead. This will be removed in a future version of the SDK.
/// </summary>
[Obsolete("This class is deprecated. Use ImBackSubmitActionData instead. This will be removed in a future version of the SDK.")]
public class IMBackAction : SubmitAction
{
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions Libraries/Microsoft.Teams.Cards/Actions/InvokeAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
namespace Microsoft.Teams.Cards;

/// <summary>
/// Defines an invoke action. This action is used to trigger a bot action.
/// This class is deprecated. Please use <see cref="InvokeSubmitActionData"/> instead. This will be removed in a future version of the SDK.
/// </summary>
[Obsolete("This class is deprecated. Use InvokeSubmitActionData instead. This will be removed in a future version of the SDK.")]
public class InvokeAction : SubmitAction
{
/// <summary>
Expand All @@ -18,7 +19,7 @@ public InvokeAction(object value)
{
Data = new Union<string, SubmitActionData>(new SubmitActionData
{
Msteams = new InvokeSubmitActionData(value)
Msteams = new InvokeSubmitActionData(new Union<object, CollabStageInvokeDataValue>(value))
});
}
}
4 changes: 4 additions & 0 deletions Libraries/Microsoft.Teams.Cards/Actions/MessageBackAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

namespace Microsoft.Teams.Cards;

/// <summary>
/// This class is deprecated. Please use <see cref="MessageBackSubmitActionData"/> instead. This will be removed in a future version of the SDK.
/// </summary>
[Obsolete("This class is deprecated. Use MessageBackSubmitActionData instead. This will be removed in a future version of the SDK.")]
public class MessageBackAction : SubmitAction
{
public MessageBackAction(string text, string value)
Expand Down
4 changes: 4 additions & 0 deletions Libraries/Microsoft.Teams.Cards/Actions/SignInAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

namespace Microsoft.Teams.Cards;

/// <summary>
/// This class is deprecated. Please use <see cref="SigninSubmitActionData"/> instead. This will be removed in a future version of the SDK.
/// </summary>
[Obsolete("This class is deprecated. Use SigninSubmitActionData instead. This will be removed in a future version of the SDK.")]
public class SignInAction : SubmitAction
{
public SignInAction(string value)
Expand Down
4 changes: 4 additions & 0 deletions Libraries/Microsoft.Teams.Cards/Actions/TaskFetchAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

namespace Microsoft.Teams.Cards;

/// <summary>
/// This class is deprecated. Please use <see cref="TaskFetchSubmitActionData"/> instead. This will be removed in a future version of the SDK.
/// </summary>
[Obsolete("This class is deprecated. Use TaskFetchSubmitActionData instead. This will be removed in a future version of the SDK.")]
public class TaskFetchAction : SubmitAction
{
public TaskFetchAction(IDictionary<string, object?>? value = null)
Expand Down
Loading
Loading