microsoft/teams.net

Public

mirrored from https://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
devtools-port-no-auth

Branches

Tags

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

Clone

HTTPS

Download ZIP

core/src/Microsoft.Teams.Bot.DevTools/Events/IDevToolsEvent.cs

30lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4namespace Microsoft.Teams.Bot.DevTools.Events;
5
6/// <summary>
7/// Base interface for all DevTools events sent to WebSocket clients.
8/// </summary>
9public interface IDevToolsEvent
10{
11 /// <summary>
12 /// Unique identifier for this event.
13 /// </summary>
14 Guid Id { get; }
15
16 /// <summary>
17 /// Event type discriminator (e.g. "activity.received", "metadata").
18 /// </summary>
19 string Type { get; }
20
21 /// <summary>
22 /// Event payload.
23 /// </summary>
24 object? Body { get; }
25
26 /// <summary>
27 /// When this event was created.
28 /// </summary>
29 DateTime SentAt { get; }
30}
31