microsoft/teams.net

Public

mirrored from https://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v2.0.0-preview.6

Branches

Tags

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

Clone

HTTPS

Download ZIP

Libraries/Microsoft.Teams.Api/MessageExtensions/Attachment.cs

29lines · modecode

1using System.Text.Json.Serialization;
2
3namespace Microsoft.Teams.Api.MessageExtensions;
4
5/// <summary>
6/// Messaging extension attachment.
7/// </summary>
8public class Attachment : Api.Attachment
9{
10 /// <summary>
11 /// the preview attachment
12 /// </summary>
13 [JsonPropertyName("preview")]
14 [JsonPropertyOrder(6)]
15 public Api.Attachment? Preview { get; set; }
16
17 public Attachment() : base()
18 {
19
20 }
21
22 public Attachment(string contentType) : base(contentType)
23 {
24 }
25
26 public Attachment(ContentType contentType) : base(contentType)
27 {
28 }
29}