Skip to content

Commit 04623c2

Browse files
committed
updated chat concepts
initial check-in
1 parent 08cf401 commit 04623c2

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

articles/communication-services/concepts/chat/concepts.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,22 @@ Chat conversations happen within **chat threads**. Chat threads have the followi
3737
### User access
3838
Azure Communication Services supports three levels of user access control, using the chat tokens. See [Identity and Tokens](../identity-model.md) for details. Participants don't have write-access to messages sent by other participants, which means only the message sender can update or delete their sent messages. If another participant tries to do that, they get an error.
3939

40-
### Chat Data
40+
### Chat Data
41+
4142
Azure Communication Services stores chat threads according to the [data retention policy](/purview/create-retention-policies) in effect when the thread is created. You can update the retention policy if needed during the retention time period you set. After you delete a chat thread (by policy or by a Delete API request), it can't be retrieved.
4243

4344
[!INCLUDE [chat-retention-policy.md](../../includes/chat-retention-policy.md)]
4445

4546
You can choose between indefinite thread retention, automatic deletion between 30 and 90 days via the retention policy on the [Create Chat Thread API](/rest/api/communication/chat/chat/create-chat-thread), or immediate deletion using the APIs [Delete Chat Message](/rest/api/communication/chat/chat-thread/delete-chat-message) or [Delete Chat Thread](/rest/api/communication/chat/chat/delete-chat-thread).
4647

47-
Any thread created before the new retention policy isn't affected unless you specifically change the policy for that thread. If you submit a support request for a deleted chat thread more than 30 days after the retention policy has deleted that thread, it can no longer be retrieved and no information about that thread is available. If needed, open a support ticket as quickly as possible within the 30 day window after you create a thread so we can assist you.
48+
Any thread created before the new retention policy isn't affected unless you specifically change the policy for that thread. If you submit a support request for a deleted chat thread more than 30 days after the retention policy deleted that thread, it can no longer be retrieved and no information about that thread is available. If needed, open a support ticket as quickly as possible within the 30 day window after you create a thread so we can assist you.
4849

4950
Chat thread participants can use `ListMessages` to view message history for a particular thread. The `ListMessages` API can't return the history of a thread if the thread is deleted. Users that are removed from a chat thread are able to view previous message history but can't send or receive new messages. Accidentally deleted messages aren't recoverable by the system. To learn more about data being stored in Azure Communication Services chat service, refer to the [data residency and privacy page](../privacy.md).
5051

5152
For customers that use Virtual appointments, refer to our Teams Interoperability [user privacy](../interop/guest/privacy.md#chat-storage) for storage of chat messages in Teams meetings.
5253

5354
### Service limits
55+
5456
- The maximum number of participants allowed in a chat thread is 250.
5557
- The maximum message size allowed is approximately 28 KB.
5658
- For chat threads with more than 20 participants, read receipts and typing indicator features aren't supported.
@@ -59,7 +61,7 @@ For customers that use Virtual appointments, refer to our Teams Interoperability
5961
- Moreover, in Teams Interop scenarios, there are the following limitations:
6062
- The Teams user's display name in typing indicator event is blank.
6163
- Read receipt isn't supported.
62-
- Certain identities are not supported (i.e. [Bot users](/microsoftteams/platform/bots/what-are-bots), [Skype users](https://support.microsoft.com/en-us/office/use-skype-in-microsoft-teams-4382ea15-f963-413d-8982-491c1b9ae3bf), [non-enterprise users](https://support.microsoft.com/en-us/office/learn-more-about-subscriptions-for-microsoft-teams-free-1061bbd0-6d97-46a6-8ca0-21059be3eee3), etc.)
64+
- Certain identities aren't supported, such as [Bot users](/microsoftteams/platform/bots/what-are-bots), [Skype users](https://support.microsoft.com/en-us/office/use-skype-in-microsoft-teams-4382ea15-f963-413d-8982-491c1b9ae3bf), [non-enterprise users](https://support.microsoft.com/en-us/office/learn-more-about-subscriptions-for-microsoft-teams-free-1061bbd0-6d97-46a6-8ca0-21059be3eee3), and similar.
6365

6466
## Chat architecture
6567

@@ -90,13 +92,13 @@ System messages are generated when
9092
- a participant was added or removed
9193
- the chat thread topic was updated.
9294

93-
When you call `List Messages` or `Get Messages` on a chat thread, the result contains both kind of messages in chronological order. For user-generated messages, the message type can be set in `SendMessageOptions` when sending a message to chat thread. If no value is provided, Communication Services defaults to `text` type. Setting this value is important when sending HTML. When `html` is specified, Communication Services sanitizes the content to ensure that it's rendered safely on client devices.
95+
When you call `List Messages` or `Get Messages` on a chat thread, the result contains both kind of messages in chronological order. For user-generated messages, the message type can be set in `SendMessageOptions` when sending a message to chat thread. If no value is provided, Communication Services defaults to `text` type. Setting this value is important when sending HTML. When `html` is specified, Communication Services sanitizes the content to ensure that it rendered safely on client devices.
9496
- `text`: A plain text message composed and sent by a user as part of a chat thread.
9597
- `html`: A formatted message using html, composed and sent by a user as part of chat thread.
9698

9799
Types of system messages:
98100
- `participantAdded`: System message that indicates one or more participants are in the chat thread.
99-
- `participantRemoved`: System message that indicates a participant has been removed from the chat thread.
101+
- `participantRemoved`: System message that indicates a participant is removed from the chat thread.
100102
- `topicUpdated`: System message that indicates the thread topic is updated.
101103

102104
## Real-time notifications
@@ -126,7 +128,7 @@ This feature lets server applications listen to events such as when a message is
126128

127129
## Push notifications
128130

129-
Android and iOS Chat SDKs support push notifications. To send push notifications for messages missed by your participants while they were away, connect a Notification Hub resource with Communication Services resource to send push notifications. Doing this notifies your application participants about incoming chats and messages when the mobile app is not running in the foreground.
131+
Android and iOS Chat SDKs support push notifications. To send push notifications for messages missed by your participants while they were away, connect a Notification Hub resource with Communication Services resource to send push notifications. Doing this notifies your application participants about incoming chats and messages when the mobile app isn't running in the foreground.
130132

131133
IOS and Android SDK support the below event:
132134
- `chatMessageReceived` - when a participant sends a new message to a chat thread.

articles/communication-services/concepts/privacy.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ The list of geographies you can choose from includes:
3838
- United Kingdom
3939
- United States
4040

41-
42-
4341
## Data collection
4442

4543
Azure Communication Services only collects diagnostic data required to deliver the service.
@@ -77,7 +75,15 @@ Azure Communication Services maintains a directory of phone numbers associated w
7775

7876
### Chat
7977

80-
Azure Communication Services stores chat messages indefinitely till they are deleted. Chat thread participants can use ListMessages to view message history for a particular thread. Users that are removed from a chat thread are able to view previous message history but cannot send or receive new messages. Accidentally deleted messages are not recoverable by the system.
78+
Azure Communication Services stores chat threads according to the [data retention policy](/purview/create-retention-policies) in effect when the thread is created. You can update the retention policy if needed during the retention time period you set. After you delete a chat thread (by policy or by a Delete API request), it can't be retrieved.
79+
80+
[!INCLUDE [chat-retention-policy.md](../../includes/chat-retention-policy.md)]
81+
82+
You can choose between indefinite thread retention, automatic deletion between 30 and 90 days via the retention policy on the [Create Chat Thread API](/rest/api/communication/chat/chat/create-chat-thread), or immediate deletion using the APIs [Delete Chat Message](/rest/api/communication/chat/chat-thread/delete-chat-message) or [Delete Chat Thread](/rest/api/communication/chat/chat/delete-chat-thread).
83+
84+
Any thread created before the new retention policy isn't affected unless you specifically change the policy for that thread. If you submit a support request for a deleted chat thread more than 30 days after the retention policy has deleted that thread, it can no longer be retrieved and no information about that thread is available. If needed, open a support ticket as quickly as possible within the 30 day window after you create a thread so we can assist you.
85+
86+
Chat thread participants can use `ListMessages` to view message history for a particular thread. The `ListMessages` API can't return the history of a thread if the thread is deleted. Users that are removed from a chat thread are able to view previous message history but can't send or receive new messages. Accidentally deleted messages aren't recoverable by the system.
8187

8288
Use [Chat APIs](/rest/api/communication/chat/chatthread) to get, list, update, and delete messages.
8389

0 commit comments

Comments
 (0)