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/Cards/HeroCard.cs

26lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4using System.Text.Json.Serialization;
5
6namespace Microsoft.Teams.Api.Cards;
7
8/// <summary>
9/// A Hero card (card with a single, large image)
10/// </summary>
11public class HeroCard : Card
12{
13 /// <summary>
14 /// Array of images for the card
15 /// </summary>
16 [JsonPropertyName("images")]
17 [JsonPropertyOrder(4)]
18 public IList<Image>? Images { get; set; }
19
20 /// <summary>
21 /// This action will be activated when user taps on the card itself
22 /// </summary>
23 [JsonPropertyName("tap")]
24 [JsonPropertyOrder(5)]
25 public Action? Tap { get; set; }
26}