microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
core/src/Microsoft.Bot.Core/Schema/Conversation.cs
24lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | namespace Microsoft.Bot.Core.Schema; |
| 5 | |
| 6 | /// <summary> |
| 7 | /// Represents a conversation, including its unique identifier and associated extended properties. |
| 8 | /// </summary> |
| 9 | public class Conversation() |
| 10 | { |
| 11 | /// <summary> |
| 12 | /// Gets or sets the unique identifier for the object. |
| 13 | /// </summary> |
| 14 | [JsonPropertyName("id")] |
| 15 | public string Id { get; set; } = string.Empty; |
| 16 | |
| 17 | /// <summary> |
| 18 | /// Gets the extension data dictionary for storing additional properties not defined in the schema. |
| 19 | /// </summary> |
| 20 | [JsonExtensionData] |
| 21 | #pragma warning disable CA2227 // Collection properties should be read only |
| 22 | public ExtendedPropertiesDictionary Properties { get; set; } = []; |
| 23 | #pragma warning restore CA2227 // Collection properties should be read only |
| 24 | } |
| 25 | |