microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
dev

Branches

Tags

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

Clone

HTTPS

Download ZIP

Libraries/Microsoft.Teams.Api/Cards/BasicCard.cs

26lines · modepreview

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.Text.Json.Serialization;

namespace Microsoft.Teams.Api.Cards;

/// <summary>
/// A basic card
/// </summary>
public class BasicCard : Card
{
    /// <summary>
    /// Array of images for the card
    /// </summary>
    [JsonPropertyName("images")]
    [JsonPropertyOrder(4)]
    public IList<Image>? Images { get; set; }

    /// <summary>
    /// This action will be activated when user taps on the card itself
    /// </summary>
    [JsonPropertyName("tap")]
    [JsonPropertyOrder(5)]
    public Action? Tap { get; set; }
}