Skip to content

Commit f3c4306

Browse files
[office-js][office-js-preview] (Outlook) Update support for the Recipients API in Outlook on mobile devices (DefinitelyTyped#73235)
1 parent 12cd8be commit f3c4306

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22294,9 +22294,8 @@ declare namespace Office {
2229422294
* - In Outlook on the web, on Windows (new and classic), and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
2229522295
* If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
2229622296
*
22297-
* - In Outlook on Android and on iOS, the `addAsync` method isn't supported in Message Compose mode. Only the Appointment Organizer mode is
22298-
* supported. For more information on supported APIs in Outlook mobile, see
22299-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
22297+
* - In Outlook on Android and on iOS, the `addAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `addAsync` method isn't
22298+
* supported when a user replies from the the reply field at the bottom of a message.
2230022299
*
2230122300
* There's no recipient limit if you call `addAsync` in Outlook on Mac (new UI).
2230222301
*
@@ -22333,9 +22332,8 @@ declare namespace Office {
2233322332
* - In Outlook on the web, on Windows, and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
2233422333
* If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
2233522334
*
22336-
* - In Outlook on Android and on iOS, the `addAsync` method isn't supported in Message Compose mode. Only the Appointment Organizer mode is
22337-
* supported. For more information on supported APIs in Outlook mobile, see
22338-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
22335+
* - In Outlook on Android and on iOS, the `addAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `addAsync` method isn't
22336+
* supported when a user replies from the the reply field at the bottom of a message.
2233922337
*
2234022338
* There's no recipient limit if you call `addAsync` in Outlook on Mac (new UI).
2234122339
*
@@ -22397,6 +22395,8 @@ declare namespace Office {
2239722395
* the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
2239822396
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
2239922397
*
22398+
* In Outlook on Android and on iOS, only the `getAsync` method is supported when a user replies from the reply field at the bottom of a message.
22399+
*
2240022400
* @param options - An object literal that contains one or more of the following properties:-
2240122401
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
2240222402
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
@@ -22446,6 +22446,8 @@ declare namespace Office {
2244622446
* the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
2244722447
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
2244822448
*
22449+
* In Outlook on Android and on iOS, only the `getAsync` method is supported when a user replies from the reply field at the bottom of a message.
22450+
*
2244922451
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
2245022452
* of type `Office.AsyncResult`. The `asyncResult.value` property of the result is an array of
2245122453
* {@link Office.EmailAddressDetails | EmailAddressDetails} objects.
@@ -22472,9 +22474,8 @@ declare namespace Office {
2247222474
* - In Outlook on the web, on Windows (new and classic), and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
2247322475
* If you need to add more recipients after setting 100 recipients, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
2247422476
*
22475-
* - In Outlook on Android and on iOS, the `setAsync` method isn't supported in the Message Compose mode. Only the Appointment Organizer mode is
22476-
* supported. For more information on supported APIs in Outlook mobile, see
22477-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
22477+
* - In Outlook on Android and on iOS, the `setAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `setAsync` method isn't
22478+
* supported when a user replies from the the reply field at the bottom of a message.
2247822479
*
2247922480
* There's no recipient limit if you call `setAsync` in Outlook on Mac (new UI).
2248022481
*
@@ -22515,9 +22516,8 @@ declare namespace Office {
2251522516
* - In Outlook on the web, on Windows (new and classic), and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
2251622517
* If you need to add more recipients after setting 100 recipients, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
2251722518
*
22518-
* - In Outlook on Android and on iOS, the `setAsync` method isn't supported in the Message Compose mode. Only the Appointment Organizer mode is
22519-
* supported. For more information on supported APIs in Outlook mobile, see
22520-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
22519+
* - In Outlook on Android and on iOS, the `setAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `setAsync` method isn't
22520+
* supported when a user replies from the the reply field at the bottom of a message.
2252122521
*
2252222522
* There's no recipient limit if you call `setAsync` in Outlook on Mac (new UI).
2252322523
*

types/office-js/index.d.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21938,9 +21938,8 @@ declare namespace Office {
2193821938
* - In Outlook on the web, on Windows (new and classic), and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
2193921939
* If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
2194021940
*
21941-
* - In Outlook on Android and on iOS, the `addAsync` method isn't supported in Message Compose mode. Only the Appointment Organizer mode is
21942-
* supported. For more information on supported APIs in Outlook mobile, see
21943-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
21941+
* - In Outlook on Android and on iOS, the `addAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `addAsync` method isn't
21942+
* supported when a user replies from the the reply field at the bottom of a message.
2194421943
*
2194521944
* There's no recipient limit if you call `addAsync` in Outlook on Mac (new UI).
2194621945
*
@@ -21978,9 +21977,8 @@ declare namespace Office {
2197821977
* - In Outlook on the web, on Windows (new and classic), and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
2197921978
* If you need to add more than 100 recipients to a mail item, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
2198021979
*
21981-
* - In Outlook on Android and on iOS, the `addAsync` method isn't supported in Message Compose mode. Only the Appointment Organizer mode is
21982-
* supported. For more information on supported APIs in Outlook mobile, see
21983-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
21980+
* - In Outlook on Android and on iOS, the `addAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `addAsync` method isn't
21981+
* supported when a user replies from the the reply field at the bottom of a message.
2198421982
*
2198521983
* There's no recipient limit if you call `addAsync` in Outlook on Mac (new UI).
2198621984
*
@@ -22042,6 +22040,8 @@ declare namespace Office {
2204222040
* the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
2204322041
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
2204422042
*
22043+
* In Outlook on Android and on iOS, only the `getAsync` method is supported when a user replies from the reply field at the bottom of a message.
22044+
*
2204522045
* @param options - An object literal that contains one or more of the following properties:-
2204622046
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
2204722047
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
@@ -22091,6 +22091,8 @@ declare namespace Office {
2209122091
* the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
2209222092
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
2209322093
*
22094+
* In Outlook on Android and on iOS, only the `getAsync` method is supported when a user replies from the reply field at the bottom of a message.
22095+
*
2209422096
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
2209522097
* of type `Office.AsyncResult`. The `asyncResult.value` property of the result is an array of
2209622098
* {@link Office.EmailAddressDetails | EmailAddressDetails} objects.
@@ -22117,9 +22119,8 @@ declare namespace Office {
2211722119
* - In Outlook on the web, on Windows (new and classic), and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
2211822120
* If you need to add more recipients after setting 100 recipients, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
2211922121
*
22120-
* - In Outlook on Android and on iOS, the `setAsync` method isn't supported in the Message Compose mode. Only the Appointment Organizer mode is
22121-
* supported. For more information on supported APIs in Outlook mobile, see
22122-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
22122+
* - In Outlook on Android and on iOS, the `setAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `setAsync` method isn't
22123+
* supported when a user replies from the the reply field at the bottom of a message.
2212322124
*
2212422125
* There's no recipient limit if you call `setAsync` in Outlook on Mac (new UI).
2212522126
*
@@ -22160,9 +22161,8 @@ declare namespace Office {
2216022161
* - In Outlook on the web, on Windows (new and classic), and on Mac (classic UI), you can have a maximum of 500 recipients in a target field.
2216122162
* If you need to add more recipients after setting 100 recipients, you can call `addAsync` repeatedly, but be mindful of the recipient limit of the field.
2216222163
*
22163-
* - In Outlook on Android and on iOS, the `setAsync` method isn't supported in the Message Compose mode. Only the Appointment Organizer mode is
22164-
* supported. For more information on supported APIs in Outlook mobile, see
22165-
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
22164+
* - In Outlook on Android and on iOS, the `setAsync` method is supported starting in Version 4.2530.0. On these mobile clients, the `setAsync` method isn't
22165+
* supported when a user replies from the the reply field at the bottom of a message.
2216622166
*
2216722167
* There's no recipient limit if you call `setAsync` in Outlook on Mac (new UI).
2216822168
*

0 commit comments

Comments
 (0)