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/Conversation.cs

24lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4namespace Microsoft.Teams.Bot.Core.Schema;
5
6/// <summary>
7/// Represents a conversation, including its unique identifier and associated extended properties.
8/// </summary>
9public 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