Skip to content

Commit d740756

Browse files
committed
edit pass: two-chat-sdk-tutorials
1 parent 8b32632 commit d740756

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

articles/communication-services/tutorials/chat-interop/includes/meeting-interop-features-file-attachment-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For example, the following JSON shows what `ChatAttachment` might look like for
5757
]
5858
```
5959

60-
Now let's go back to the event handler you created in the previous [quickstart](../../../quickstarts/chat/meeting-interop.md) and add some extra logic to handle attachments with the `ChatAttachmentType` property of `file`:
60+
Now go back to the event handler you created in the previous [quickstart](../../../quickstarts/chat/meeting-interop.md) and add some extra logic to handle attachments with the `ChatAttachmentType` property of `file`:
6161

6262
```csharp
6363

articles/communication-services/tutorials/chat-interop/includes/meeting-interop-features-inline-image-receiving-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The following JSON is an example of what `ChatAttachment` might look like for an
7676
]
7777
```
7878

79-
Now, go back and replace the code to add extra logic to parse and fetch the image attachments.
79+
Now go back and replace the code to add extra logic to parse and fetch the image attachments:
8080

8181
```c#
8282
CommunicationUserIdentifier currentUser = new(user_Id_);

articles/communication-services/tutorials/chat-interop/includes/meeting-interop-features-inline-image-receiving-javascript.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ To copy an image, Teams users have two options:
1818

1919
In this tutorial, you learn what you need to do when you:
2020

21-
- [Receive an inline image](#handle-received-inline-images-in-new-message-event)
22-
- [Send out an inline image](#handle-sending-inline-images-in-new-message-request)
21+
- [Receive an inline image](#handle-received-inline-images-in-a-new-message-event)
22+
- [Send out an inline image](#handle-sending-inline-images-in-a-new-message-request)
2323

2424
> [!NOTE]
2525
> The ability to send inline images is currently available in public preview. It's only available for JavaScript. For receiving inline images, it's currently generally available. It's available for both JavaScript and C# in a Teams interoperability chat.
@@ -99,7 +99,7 @@ export interface ChatAttachment {
9999
export type ChatAttachmentType = "image" | "unknown";
100100
```
101101

102-
Now let's go back to the previous code to add some extra logic like the following code snippets:
102+
Now go back to the previous code to add some extra logic, like the following code snippets:
103103

104104
```js
105105
chatClient.on("chatMessageReceived", (e) => {
@@ -306,7 +306,7 @@ loadingImageOverlay.addEventListener('click', () => {
306306

307307
```
308308

309-
Now, you've made all the changes you need to render inline images for messages that come from real-time notifications.
309+
Now you've made all the changes you need to render inline images for messages that come from real-time notifications.
310310

311311
### Run the code
312312

@@ -335,7 +335,7 @@ After the Azure Communication Services user selects the preview image, an overla
335335

336336
In addition to handling messages with inline images, the Chat SDK for JavaScript also provides a solution to allow the communication user to send inline images to the Microsoft Teams user in an interoperability chat.
337337

338-
Let's take a look at the new API from `ChatThreadClient`:
338+
Take a look at the new API from `ChatThreadClient`:
339339

340340
```js
341341
var imageAttachment = await chatThreadClient.uploadImage(blob, file.name, {
@@ -351,7 +351,7 @@ To send an image to other chat participant, you need to:
351351
1. Compose the message content and set an attachment to the returned object you saved in the previous step.
352352
1. Send the new message via the `sendMessage` API from `ChatThreadClient`.
353353

354-
Let's create a new file picker that accepts images:
354+
Create a new file picker that accepts images:
355355

356356
```html
357357
<label for="myfile">Attach images:</label>
@@ -433,7 +433,7 @@ sendMessageButton.addEventListener("click", async () => {
433433

434434
```
435435

436-
That's it. Now let's run the code and see it in action.
436+
That's it. Now run the code to see it in action.
437437

438438
### Run the code
439439

0 commit comments

Comments
 (0)