Skip to content

Commit 0a0fb95

Browse files
Update Threads_CreateChatThread Example (Azure#29034)
* Update Threads_CreateChatThread Example * update the example for create chat thread
1 parent 4567a94 commit 0a0fb95

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

specification/communication/data-plane/Chat/preview/2024-03-15-preview/examples/Threads_CreateChatThread.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"api-version": "2024-03-15-preview",
55
"createChatThreadRequest": {
66
"topic": "Lunch",
7+
"retentionPolicy": {
8+
"kind": "threadCreationDate",
9+
"deleteThreadAfterDays": 30
10+
},
711
"participants": [
812
{
913
"communicationIdentifier": {
@@ -59,6 +63,10 @@
5963
"communicationUser": {
6064
"id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715"
6165
}
66+
},
67+
"retentionPolicy": {
68+
"kind": "threadCreationDate",
69+
"deleteThreadAfterDays": 30
6270
}
6371
},
6472
"invalidParticipants": [

0 commit comments

Comments
 (0)