microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
core/samples/A2ABot/A2A/HandoffMessage.cs
16lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | namespace A2ABot.A2A; |
| 5 | |
| 6 | // Payload carried in the A2A DataPart when one bot hands a user off to the |
| 7 | // other. The receiver uses AadObjectId + TenantId + ServiceUrl to create a |
| 8 | // 1:1 conversation with the user and message them proactively. |
| 9 | internal record HandoffMessage( |
| 10 | string Kind, |
| 11 | string AadObjectId, |
| 12 | string UserName, |
| 13 | string Summary, |
| 14 | string From, |
| 15 | string TenantId, |
| 16 | string ServiceUrl); |
| 17 | |