Skip to content

Commit 07d0aac

Browse files
authored
Merge pull request #239664 from jpeng-ms/main
[ACS][Chat] Clarified Inline Images
2 parents e40b9aa + 333ef8c commit 07d0aac

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Tutorial - Enable File Attachment Support
3-
author: jopeng
3+
author: jpeng-ms
44
ms.author: jopeng
55
ms.date: 05/26/2023
66
ms.topic: include

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Enable Inline Image Support in your Chat app
33
titleSuffix: An Azure Communication Services quickstart
4-
description: In this tutorial, you'll learn how to enable inline image interoperability with the Azure Communication Chat SDK
5-
author: jopeng
4+
description: In this tutorial, you learn how to enable inline image interoperability with the Azure Communication Chat SDK.
5+
author: jpeng-ms
66
ms.author: jopeng
77
ms.date: 03/27/2023
88
ms.topic: quickstart
@@ -13,13 +13,16 @@ ms.custom: mode-other
1313

1414
# Tutorial: Enable inline image support in your Chat app
1515

16-
## Add inline image support
1716
The Chat SDK is designed to work with Microsoft Teams seamlessly. Specifically, Chat SDK provides a solution to receive inline images sent by users from Microsoft Teams. Currently this feature is only available in the Chat SDK for JavaScript.
1817

19-
The Chat SDK for JavaScript provides `previewUrl` and `url` for each inline image. Please note that some GIF images fetched from `previewUrl` might not be animated and a static preview image would be returned instead. Developers are expected to use the `url` if the intention is to fetch animated images only.
20-
2118
[!INCLUDE [Public Preview Notice](../../includes/public-preview-include.md)]
2219

20+
## Add inline image support
21+
22+
Inline images are images that are copied and pasted directly into the send box of the Teams client. For images that were uploaded via the "Upload from this device" menu or via drag-and-drop, such as images dragged directly to the send box in Teams, you need to refer to [this tutorial](./meeting-interop-features-file-attachment.md) to enable it as the part of the file sharing feature. (See the section "Handling Image Attachment.") To copy an image, the Teams user can either use their operating system's context menu to copy the image file and then paste it into the send box of their Teams client or use keyboard shortcuts.
23+
24+
The Chat SDK for JavaScript provides `previewUrl` and `url` for each inline image. Note that some GIF images fetched from `previewUrl` might not be animated, and a static preview image may be returned instead. Developers are expected to use the `url` if the intention is to fetch animated images only.
25+
2326
[!INCLUDE [Teams Inline Image Interop with JavaScript SDK](./includes/meeting-interop-features-inline-image-javascript.md)]
2427

2528
## Next steps

0 commit comments

Comments
 (0)