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/Entities/MentionEntity.cs

19lines · 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.Entities;
7
8public class MentionEntity : Entity
9{
10 [JsonPropertyName("mentioned")]
11 [JsonPropertyOrder(3)]
12 public required Account Mentioned { get; set; }
13
14 [JsonPropertyName("text")]
15 [JsonPropertyOrder(4)]
16 public string? Text { get; set; }
17
18 public MentionEntity() : base("mention") { }
19}