microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
core/src/Microsoft.Teams.Core/Schema/ChannelData.cs
21lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | namespace Microsoft.Teams.Core.Schema; |
| 5 | |
| 6 | /// <summary> |
| 7 | /// Represents channel-specific data associated with an activity. |
| 8 | /// </summary> |
| 9 | /// <remarks> |
| 10 | /// This class serves as a container for custom properties that are specific to a particular |
| 11 | /// messaging channel. The properties dictionary allows channels to include additional metadata |
| 12 | /// that is not part of the standard activity schema. |
| 13 | /// </remarks> |
| 14 | public class ChannelData |
| 15 | { |
| 16 | /// <summary> |
| 17 | /// Gets the extension data dictionary for storing channel-specific properties. |
| 18 | /// </summary> |
| 19 | [JsonExtensionData] |
| 20 | public ExtendedPropertiesDictionary Properties { get; set; } = []; |
| 21 | } |
| 22 | |