microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
core/src/Microsoft.Teams.Core/Schema/Conversation.cs
25lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | namespace 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> |
| 12 | public 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 | |