microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/sub-pr-338

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/src/Microsoft.Teams.Bot.Core/Schema/ChannelData.cs

23lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4namespace Microsoft.Teams.Bot.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>
14public class ChannelData
15{
16 /// <summary>
17 /// Gets the extension data dictionary for storing channel-specific properties.
18 /// </summary>
19 [JsonExtensionData]
20#pragma warning disable CA2227 // Collection properties should be read only
21 public ExtendedPropertiesDictionary Properties { get; set; } = [];
22#pragma warning restore CA2227 // Collection properties should be read only
23}
24