Skip to content

Commit 7af046e

Browse files
[office-js] [office-js-preview] (Outlook) Note attachmentId limits for removeAttachment (DefinitelyTyped#50064)
1 parent 84517ad commit 7af046e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10022,7 +10022,8 @@ declare namespace Office {
1002210022
*
1002310023
* - `InvalidAttachmentId`: The attachment identifier does not exist.
1002410024
*
10025-
* @param attachmentId - The identifier of the attachment to remove.
10025+
* @param attachmentId - The identifier of the attachment to remove. The maximum string length of the `attachmentId`
10026+
* is 200 characters in Outlook on the web, and 100 characters in Outlook on Windows.
1002610027
* @param options - Optional. An object literal that contains one or more of the following properties.
1002710028
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
1002810029
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -14043,7 +14044,8 @@ declare namespace Office {
1404314044
*
1404414045
* - `InvalidAttachmentId`: The attachment identifier does not exist.
1404514046
*
14046-
* @param attachmentId - The identifier of the attachment to remove.
14047+
* @param attachmentId - The identifier of the attachment to remove. The maximum string length of the `attachmentId`
14048+
* is 200 characters in Outlook on the web, and 100 characters in Outlook on Windows.
1404714049
* @param options - Optional. An object literal that contains one or more of the following properties.
1404814050
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
1404914051
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of

types/office-js/index.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9762,7 +9762,8 @@ declare namespace Office {
97629762
*
97639763
* - `InvalidAttachmentId`: The attachment identifier does not exist.
97649764
*
9765-
* @param attachmentId - The identifier of the attachment to remove.
9765+
* @param attachmentId - The identifier of the attachment to remove. The maximum string length of the `attachmentId`
9766+
* is 200 characters in Outlook on the web, and 100 characters in Outlook on Windows.
97669767
* @param options - Optional. An object literal that contains one or more of the following properties.
97679768
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
97689769
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -13535,7 +13536,8 @@ declare namespace Office {
1353513536
*
1353613537
* - `InvalidAttachmentId`: The attachment identifier does not exist.
1353713538
*
13538-
* @param attachmentId - The identifier of the attachment to remove.
13539+
* @param attachmentId - The identifier of the attachment to remove. The maximum string length of the `attachmentId`
13540+
* is 200 characters in Outlook on the web, and 100 characters in Outlook on Windows.
1353913541
* @param options - Optional. An object literal that contains one or more of the following properties.
1354013542
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
1354113543
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of

0 commit comments

Comments
 (0)