Skip to content

Commit 4e2eae6

Browse files
[office-js] (Outlook) Add updated Body APIs to release file (DefinitelyTyped#73236)
1 parent 5f3493d commit 4e2eae6

File tree

2 files changed

+103
-22
lines changed

2 files changed

+103
-22
lines changed

types/office-js-preview/index.d.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13055,6 +13055,9 @@ declare namespace Office {
1305513055
* @remarks
1305613056
* [Api set: Mailbox 1.1]
1305713057
*
13058+
* To learn how to get or set the body of a mail item, see
13059+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/insert-data-in-the-body | Get or set the body of a message or appointment in Outlook}.
13060+
*
1305813061
* **Known issue with HTML table border colors**
1305913062
*
1306013063
* Outlook on Windows: If you're setting various cell borders to different colors in an HTML table in Compose mode, a cell's borders may not reflect
@@ -13181,7 +13184,7 @@ declare namespace Office {
1318113184
* - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
1318213185
* (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
1318313186
* This setting affects how much of a message's body is displayed to the user (that is, the entire conversation thread of a message or just the current message).
13184-
* In Message Compose mode, particulary for replies to a conversation thread with more than one message, if you want the returned body to reflect the user's setting,
13187+
* In Message Compose mode, particularly for replies to a conversation thread with more than one message, if you want the returned body to reflect the user's setting,
1318513188
* specify the `bodyMode: Office.MailboxEnums.BodyMode.HostConfig` parameter in your `getAsync` call. If messages are grouped by conversation,
1318613189
* only the body of the current reply is returned. Conversely, if messages are displayed individually, the entire conversation thread is returned.
1318713190
*
@@ -13221,7 +13224,7 @@ declare namespace Office {
1322113224
* - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
1322213225
* (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
1322313226
* This setting affects how much of a message's body is displayed to the user (that is, the entire conversation thread of a message or just the current message).
13224-
* In Message Compose mode, particulary for replies to a conversation thread with more than one message, if you want the returned body to reflect the user's setting,
13227+
* In Message Compose mode, particularly for replies to a conversation thread with more than one message, if you want the returned body to reflect the user's setting,
1322513228
* specify the `bodyMode: Office.MailboxEnums.BodyMode.HostConfig` parameter in your `getAsync` call. If messages are grouped by conversation,
1322613229
* only the body of the current reply is returned. Conversely, if messages are displayed individually, the entire conversation thread is returned.
1322713230
*
@@ -13503,7 +13506,7 @@ declare namespace Office {
1350313506
* - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
1350413507
* (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
1350513508
* This setting affects how much of a message's body is displayed to the user (that is, the entire conversation thread of a message or just the current message).
13506-
* In Message Compose mode, particulary for replies to a conversation thread with more than one message, if you want to honor the user's settings when
13509+
* In Message Compose mode, particularly for replies to a conversation thread with more than one message, if you want to honor the user's settings when
1350713510
* setting the body of a message, specify the `bodyMode: Office.MailboxEnums.BodyMode.HostConfig` parameter in your `setAsync` call. If messages are grouped by conversation,
1350813511
* only the body of the current reply is set. Conversely, if messages are displayed individually, the entire body, including previous messages
1350913512
* in the conversation thread, is replaced.
@@ -13573,7 +13576,7 @@ declare namespace Office {
1357313576
* - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
1357413577
* (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
1357513578
* This setting affects how much of a message's body is displayed to the user (that is, the entire conversation thread of a message or just the current message).
13576-
* In Message Compose mode, particulary for replies in a conversation thread with more than one message, if you want to honor the user's settings when
13579+
* In Message Compose mode, particularly for replies in a conversation thread with more than one message, if you want to honor the user's settings when
1357713580
* setting the body of a message, specify the `bodyMode: Office.MailboxEnums.BodyMode.HostConfig` parameter in your `setAsync` call. If messages are grouped by conversation,
1357813581
* only the body of the current reply is set. Conversely, if messages are displayed individually, the entire body, including previous messages
1357913582
* in the conversation thread, is replaced.

0 commit comments

Comments
 (0)