Skip to content

Commit 2b40230

Browse files
adding tags (#2833)
1 parent 92a118a commit 2b40230

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Added `responseToEmailId` to `{copilot.sidePanel.DraftEmailContent}` capability.",
4+
"packageName": "@microsoft/teams-js",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/teams-js/src/private/copilot/sidePanelInterfaces.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,18 @@ export interface ServerEmailContent extends BaseEmailContent {
5858
* Limited to Microsoft-internal use
5959
*/
6060
export interface DraftEmailContent extends BaseEmailContent {
61+
responseToEmailId?: string; // Optional, if this is a response to another email
6162
savedTime?: Date;
6263
}
6364

65+
/**
66+
* @hidden
67+
*
68+
* Interface for draft email content (no id, times optional)
69+
*
70+
* @internal
71+
* Limited to Microsoft-internal use
72+
*/
6473
// Union type for usage elsewhere
6574
export type EmailContent = ServerEmailContent | DraftEmailContent;
6675

@@ -230,6 +239,15 @@ export type ContentItem =
230239
| WebPageContent
231240
| MixedContent;
232241

242+
/**
243+
* @hidden
244+
*
245+
* The Content interface represents the content data structure used in the side panel.
246+
* It si the payload received by the copilot app from the hub.
247+
*
248+
* @internal
249+
* Limited to Microsoft-internal use
250+
*/
233251
export interface Content {
234252
userAction?: string;
235253
contentType:
@@ -247,6 +265,14 @@ export interface Content {
247265
status?: string; // Optional status message
248266
}
249267

268+
/**
269+
* @hidden
270+
*
271+
* The ContentRequest interface represents the request params sent to the hub to fetch content.
272+
*
273+
* @internal
274+
* Limited to Microsoft-internal use
275+
*/
250276
export interface ContentRequest {
251277
localEndpointInfo: string; // local endpoint information for the request- used by Edge
252278
}

0 commit comments

Comments
 (0)