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

core/src/Microsoft.Teams.Core/Schema/Conversation.cs

25lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4namespace Microsoft.Teams.Core.Schema;
5
6/// <summary>
7/// Represents a conversation, including its unique identifier and associated extended properties.
8/// </summary>
9/// <remarks>
10/// Initializes a new instance of the <see cref="Conversation"/> class.
11/// </remarks>
12public class Conversation(string id = "")
13{
14 /// <summary>
15 /// Gets or sets the unique identifier for the object.
16 /// </summary>
17 [JsonPropertyName("id")]
18 public string Id { get; set; } = id;
19
20 /// <summary>
21 /// Gets the extension data dictionary for storing additional properties not defined in the schema.
22 /// </summary>
23 [JsonExtensionData]
24 public ExtendedPropertiesDictionary Properties { get; set; } = [];
25}
26