Skip to content

Commit 758763a

Browse files
committed
final edits
complete
1 parent 0eaf7b4 commit 758763a

29 files changed

+114
-94
lines changed

articles/communication-services/quickstarts/advanced-messaging/message-analysis/message-analysis-with-azure-openai-quickstart.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: gelli
99
ms.service: azure-communication-services
1010
ms.subservice: advanced-messaging
1111
ms.topic: quickstart
12-
ms.date: 07/05/2024
12+
ms.date: 05/01/2025
1313
---
1414

1515
# Quickstart: Enable Message Analysis with Azure OpenAI
@@ -32,7 +32,7 @@ Azure Communication Services enables you to receive Message Analysis results usi
3232

3333
a. Open your Azure Communication Services resource and click the **Cognitive Services** tab.
3434

35-
b. If system-assigned managed identity isn't enabled, you'll need to enable it.
35+
b. If system-assigned managed identity isn't enabled, you need to enable it.
3636

3737
c. In the Cognitive Services tab, click **Enable Managed Identity**.
3838

@@ -88,6 +88,7 @@ If you want to clean up and remove a Communication Services subscription, you ca
8888

8989

9090
## Learn more about responsible AI
91+
9192
- [Message Analysis Transparency FAQ](../../../concepts/advanced-messaging/message-analysis/message-analysis-transparency-faq.md)
9293
- [Microsoft AI principles](https://www.microsoft.com/ai/responsible-ai)
9394
- [Microsoft responsible AI resources](https://www.microsoft.com/ai/responsible-ai-resources)

articles/communication-services/quickstarts/advanced-messaging/whatsapp/download-media.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Download WhatsApp message media
3-
titleSuffix: An Azure Communication Services Messages quickstart
3+
titleSuffix: An Azure Communication Services Messages article
44
description: In this quickstart, you learn how to download the media received in a WhatsApp message with Azure Communication Services Messages.
55
author: Shamkh
66
manager: camilo.ramirez
77
services: azure-communication-services
88
ms.author: shamkh
9-
ms.date: 07/24/2024
9+
ms.date: 05/01/2025
1010
ms.topic: quickstart
1111
ms.service: azure-communication-services
1212
ms.subservice: advanced-messaging
@@ -64,9 +64,7 @@ An example of an `AdvancedMessageReceived` event with media content:
6464

6565
## Next steps
6666

67-
This article described how to download the media received in a WhatsApp message using Advanced Messaging for WhatsApp SDK. Next you might want to continue with the following articles:
68-
69-
- [More Sample](/samples/azure/azure-sdk-for-js/communication-messages-javascript)
67+
- [More samples](/samples/azure/azure-sdk-for-js/communication-messages-javascript)
7068
- [Send WhatsApp Messages using Advanced Messages](../../../quickstarts/advanced-messaging/whatsapp/get-started.md)
7169
- [Handle Advanced Messaging Events](./handle-advanced-messaging-events.md)
72-
- [Send WhatsApp Template Messages](../../../quickstarts/advanced-messaging/whatsapp/send-template-messages.md)
70+
- [Send WhatsApp template messages](../../../quickstarts/advanced-messaging/whatsapp/send-template-messages.md)

articles/communication-services/quickstarts/advanced-messaging/whatsapp/handle-advanced-messaging-events.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: shamkh
99
ms.service: azure-communication-services
1010
ms.subservice: advanced-messaging
1111
ms.topic: quickstart
12-
ms.date: 02/12/2024
12+
ms.date: 05/01/2025
1313
ms.custom: template-quickstart
1414
---
1515

@@ -98,7 +98,6 @@ If you want to clean up and remove a Communication Services subscription, you ca
9898

9999
## Next steps
100100

101-
For more information, see:
102101
- [Understand Advanced Communication Messages Events](../../../../event-grid/communication-services-advanced-messaging-events.md)
103102
- [Get started With Advanced Communication Messages SDK](./get-started.md)
104103

articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/authenticate-notification-messages-client-net.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ services: azure-communication-services
55
author: memontic
66
ms.service: azure-communication-services
77
ms.subservice: advanced-messaging
8-
ms.date: 07/15/2024
8+
ms.date: 05/01/2025
99
ms.topic: include
1010
ms.custom: include file
1111
ms.author: memontic
1212
---
1313

1414
#### [Connection String](#tab/connection-string)
1515

16-
For simplicity, this quickstart uses a connection string to authenticate. In production environments, we recommend using [service principals](../../../identity/service-principal.md).
16+
For simplicity, this article uses a connection string to authenticate. In production environments, we recommend using [service principals](../../../identity/service-principal.md).
1717

1818
Get the connection string from your Azure Communication Services resource in the Azure portal. On the left, navigate to the `Keys` tab. Copy the `Connection string` field for the primary key. The connection string is in the format `endpoint=https://{your Azure Communication Services resource name}.communication.azure.com/;accesskey={secret key}`.
1919

@@ -105,5 +105,3 @@ var credential = new AzureKeyCredential(key);
105105
var notificationMessagesClient =
106106
new NotificationMessagesClient(endpoint, credential);
107107
```
108-
109-
---

articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/common-setting-java.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-communication-services
55
author: shamkh
66
ms.service: azure-communication-services
77
ms.subservice: advanced-messaging
8-
ms.date: 07/15/2024
8+
ms.date: 05/01/2025
99
ms.topic: include
1010
ms.custom: include file
1111
ms.author: shamkh
@@ -16,6 +16,7 @@ zone_pivot_groups: acs-js-csharp-java-python
1616
### Start sending messages between a business and a WhatsApp user
1717

1818
Conversations between a WhatsApp Business Account and a WhatsApp user can be initiated in one of two ways:
19+
1920
- The business sends a template message to the WhatsApp user.
2021
- The WhatsApp user sends any message to the business number.
2122

@@ -29,7 +30,7 @@ There are a few different options available for authenticating a Message client:
2930

3031
To authenticate a client, you instantiate an `NotificationMessagesClient` or `MessageTemplateClient` with your connection string. You can also initialize the client with any custom HTTP client that implements the `com.azure.core.http.HttpClient` interface.
3132

32-
For simplicity, this quickstart uses a connection string to authenticate. In production environments, we recommend using [service principals](../../../identity/service-principal.md).
33+
For simplicity, this article uses a connection string to authenticate. In production environments, we recommend using [service principals](../../../identity/service-principal.md).
3334

3435
Get the connection string from your Azure Communication Services resource in the Azure portal. On the left, navigate to the `Keys` tab. Copy the `Connection string` field for the `Primary key`. The connection string is in the format `endpoint=https://{your Azure Communication Services resource name}.communication.azure.com/;accesskey={secret key}`.
3536

@@ -123,8 +124,9 @@ String channelRegistrationId = "<your channel registration id GUID>";
123124
```
124125

125126
### Set recipient list
126-
You need to supply a real phone number that has a WhatsApp account associated with it. This WhatsApp account receives the text and media messages sent in this quickstart.
127-
For this quickstart, this phone number may be your personal phone number.
127+
128+
You need to supply a real phone number that has a WhatsApp account associated with it. This WhatsApp account receives the text and media messages sent in this article.
129+
For this article, this phone number can be your personal phone number.
128130

129131
The recipient phone number can't be the business phone number (Sender ID) associated with the WhatsApp channel registration. The Sender ID appears as the sender of the text and media messages sent to the recipient.
130132

articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/common-setting-javascript.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-communication-services
55
author: shamkh
66
ms.service: azure-communication-services
77
ms.subservice: advanced-messaging
8-
ms.date: 07/15/2024
8+
ms.date: 05/01/2025
99
ms.topic: include
1010
ms.custom: include file
1111
ms.author: shamkh
@@ -16,6 +16,7 @@ zone_pivot_groups: acs-js-csharp-java-python
1616
### Start sending messages between a business and a WhatsApp user
1717

1818
Conversations between a WhatsApp Business Account and a WhatsApp user can be initiated in one of two ways:
19+
1920
- The business sends a template message to the WhatsApp user.
2021
- The WhatsApp user sends any message to the business number.
2122

@@ -27,7 +28,7 @@ Regardless of how the conversation was started, **a business can only send templ
2728

2829
The following code retrieves the connection string for the resource from an environment variable named `COMMUNICATION_SERVICES_CONNECTION_STRING` using the dotenv package.
2930

30-
For simplicity, this quickstart uses a connection string to authenticate. In production environments, we recommend using [service principals](../../../identity/service-principal.md).
31+
For simplicity, this article uses a connection string to authenticate. In production environments, we recommend using [service principals](../../../identity/service-principal.md).
3132

3233
Get the connection string from your Azure Communication Services resource in the Azure portal. On the left, navigate to the `Keys` tab. Copy the `Connection string` field for the `Primary key`. The connection string is in the format `endpoint=https://{your Azure Communication Services resource name}.communication.azure.com/;accesskey={secret key}`.
3334

@@ -59,7 +60,7 @@ const client = NotificationClient(connectionString);
5960

6061
You can also authenticate with Microsoft Entra ID using the [Azure Identity library](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity).
6162

62-
The [`@azure/identity`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity) package provides various credential types that your application can use to authenticate. You can choose from the various options to authenticate the identity client detailed at [Azure Identity - Credential providers](/javascript/api/overview/azure/identity-readme#credentials) and [Azure Identity - Authenticate the client](/javascript/api/overview/azure/identity-readme#authenticate-the-client). This option walks through one way of using the [`DefaultAzureCredential`](/javascript/api/overview/azure/identity-readme#defaultazurecredential).
63+
The [`@Azure/identity`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity) package provides various credential types that your application can use to authenticate. You can choose from the various options to authenticate the identity client detailed at [Azure Identity - Credential providers](/javascript/api/overview/azure/identity-readme#credentials) and [Azure Identity - Authenticate the client](/javascript/api/overview/azure/identity-readme#authenticate-the-client). This option walks through one way of using the [`DefaultAzureCredential`](/javascript/api/overview/azure/identity-readme#defaultazurecredential).
6364

6465
The `DefaultAzureCredential` attempts to authenticate via [`several mechanisms`](/javascript/api/overview/azure/identity-readme#defaultazurecredential) and it might be able to find its authentication credentials if you're signed into Visual Studio or Azure CLI. However, this option walks you through setting up with environment variables.
6566

@@ -138,8 +139,8 @@ const channelRegistrationId = "<your channel registration id GUID>";
138139

139140
### Set recipient list
140141

141-
You need to supply a real phone number that has a WhatsApp account associated with it. This WhatsApp account receives the template, text, and media messages sent in this quickstart.
142-
For this quickstart, this phone number may be your personal phone number.
142+
You need to supply a real phone number that has a WhatsApp account associated with it. This WhatsApp account receives the template, text, and media messages sent in this article.
143+
For this article, this phone number can be your personal phone number.
143144

144145
The recipient phone number can't be the business phone number (Sender ID) associated with the WhatsApp channel registration. The Sender ID appears as the sender of the text and media messages sent to the recipient.
145146

articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/common-setting-net.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-communication-services
55
author: shamkh
66
ms.service: azure-communication-services
77
ms.subservice: advanced-messaging
8-
ms.date: 07/15/2024
8+
ms.date: 05/01/2025
99
ms.topic: include
1010
ms.custom: include file
1111
ms.author: shamkh
@@ -17,7 +17,7 @@ zone_pivot_groups: acs-js-csharp-java-python
1717

1818
The Messages SDK uses the `NotificationMessagesClient` to send messages. The `NotificationMessagesClient` method authenticates using your connection string acquired from Azure Communication Services resource in the Azure portal. For more information about connection strings, see [access-your-connection-strings-and-service-endpoints](../../../create-communication-resource.md#access-your-connection-strings-and-service-endpoints).
1919

20-
[!INCLUDE [Authenticate the client ](./authenticate-notification-messages-client-net.md)]
20+
[!INCLUDE [Authenticate the client](./authenticate-notification-messages-client-net.md)]
2121

2222
### Set channel registration ID
2323

@@ -57,6 +57,7 @@ var recipientList = new List<string> { "+14255550199" };
5757
### Start sending messages between a business and a WhatsApp user
5858

5959
Conversations between a WhatsApp Business Account and a WhatsApp user can be initiated in one of two ways:
60+
6061
- The business sends a template message to the WhatsApp user.
6162
- The WhatsApp user sends any message to the business number.
6263

articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/common-setting-python.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-communication-services
55
author: shamkh
66
ms.service: azure-communication-services
77
ms.subservice: advanced-messaging
8-
ms.date: 07/15/2024
8+
ms.date: 05/01/2025
99
ms.topic: include
1010
ms.custom: include file
1111
ms.author: shamkh
@@ -15,7 +15,9 @@ zone_pivot_groups: acs-js-csharp-java-python
1515

1616
### Authenticate the client
1717

18-
Messages sending is done using NotificationMessagesClient. NotificationMessagesClient is authenticated using your connection string acquired from Azure Communication Services resource in the Azure portal. For more information on connection strings, see [access-your-connection-strings-and-service-endpoints](../../../create-communication-resource.md#access-your-connection-strings-and-service-endpoints).
18+
Messages sending uses NotificationMessagesClient. NotificationMessagesClient authenticates using your connection string acquired from Azure Communication Services resource in the Azure portal.F
19+
20+
For more information on connection strings, see [access-your-connection-strings-and-service-endpoints](../../../create-communication-resource.md#access-your-connection-strings-and-service-endpoints).
1921

2022
#### [Connection String](#tab/connection-string)
2123

@@ -127,7 +129,7 @@ Assign it to a variable called channelRegistrationId.
127129

128130
### Set recipient list
129131

130-
You need to supply an active phone number associated with a WhatsApp account. This WhatsApp account receives the template, text, and media messages sent in this quickstart.
132+
You need to supply an active phone number associated with a WhatsApp account. This WhatsApp account receives the template, text, and media messages sent in this article.
131133

132134
For this example, you can use your personal phone number.
133135

articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/download-media/download-media-full-example-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-communication-services
55
author: memontic-ms
66
ms.service: azure-communication-services
77
ms.subservice: advanced-messaging
8-
ms.date: 07/15/2024
8+
ms.date: 05/01/2025
99
ms.topic: include
1010
ms.custom: include file
1111
ms.author: memontic

articles/communication-services/quickstarts/advanced-messaging/whatsapp/includes/download-media/download-media-java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-communication-services
55
author: arifibrahim4
66
ms.service: azure-communication-services
77
ms.subservice: advanced-messaging
8-
ms.date: 12/29/2024
8+
ms.date: 05/01/2025
99
ms.topic: include
1010
ms.custom: include file
1111
ms.author: armohamed
@@ -94,4 +94,4 @@ The Messages SDK enables Contoso to download the media in received WhatsApp medi
9494

9595
## Full sample code
9696

97-
Find the finalized code for this quickstart on [GitHub](https://github.com/Azure/azure-sdk-for-java/tree/d668cb44f64d303e71d2ee72a8b0382896aa09d5/sdk/communication/azure-communication-messages/src/samples/java/com/azure/communication/messages/DownloadMediaSample.java).
97+
Find the finalized code on GitHub at [Java Messages SDK](https://github.com/Azure/azure-sdk-for-java/tree/d668cb44f64d303e71d2ee72a8b0382896aa09d5/sdk/communication/azure-communication-messages/src/samples/java/com/azure/communication/messages/DownloadMediaSample.java).

0 commit comments

Comments
 (0)