Skip to content

Commit b9cc144

Browse files
authored
[Hub Generated] Review request for Microsoft.EventGrid to add version stable/2018-01-01 (Azure#14636)
* Updating schema for ChatMessageReceived and ChatMessageEdited EventGrid events to add metadata property. * Applying Prettier formatting * Adding metadata to InThread chat events.
1 parent 7110515 commit b9cc144

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
"messageBody": {
1919
"description": "The body of the chat message",
2020
"type": "string"
21+
},
22+
"metadata": {
23+
"description": "The chat message metadata",
24+
"type": "object",
25+
"additionalProperties": {
26+
"type": "string"
27+
}
2128
}
2229
}
2330
},
@@ -32,6 +39,13 @@
3239
"messageBody": {
3340
"description": "The body of the chat message",
3441
"type": "string"
42+
},
43+
"metadata": {
44+
"description": "The chat message metadata",
45+
"type": "object",
46+
"additionalProperties": {
47+
"type": "string"
48+
}
3549
}
3650
}
3751
},
@@ -47,6 +61,13 @@
4761
"description": "The body of the chat message",
4862
"type": "string"
4963
},
64+
"metadata": {
65+
"description": "The chat message metadata",
66+
"type": "object",
67+
"additionalProperties": {
68+
"type": "string"
69+
}
70+
},
5071
"editTime": {
5172
"description": "The time at which the message was edited",
5273
"format": "date-time",
@@ -66,6 +87,13 @@
6687
"description": "The body of the chat message",
6788
"type": "string"
6889
},
90+
"metadata": {
91+
"description": "The chat message metadata",
92+
"type": "object",
93+
"additionalProperties": {
94+
"type": "string"
95+
}
96+
},
6997
"editTime": {
7098
"description": "The time at which the message was edited",
7199
"format": "date-time",

0 commit comments

Comments
 (0)