Skip to content

Commit 16981db

Browse files
authored
Merge branch 'main' into users/sumanac/everyonementionv1.0
2 parents 09e3c6a + e93f39d commit 16981db

File tree

3 files changed

+25
-9
lines changed

3 files changed

+25
-9
lines changed

api-reference/v1.0/api/chatmessage-get.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -563,14 +563,14 @@ HTTP/1.1 200 OK
563563
Content-type: application/json
564564
565565
{
566-
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#chats('19%3A80a7ff67c0ef43c19d88a7638be436b1%40thread.v2')/messages/$entity",
566+
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#chats('19%3Ae2ed97baac8e4bffbb91299a38996790%40thread.v2')/messages/$entity",
567567
"@microsoft.graph.tips": "Use $select to choose only the properties your app needs, as this can lead to performance improvements. For example: GET chats('<key>')/messages('<key>')?$select=attachments,body",
568-
"id": "1725986575123",
568+
"id": "1727903166936",
569569
"replyToId": null,
570-
"etag": "1725986575123",
570+
"etag": "1727903166936",
571571
"messageType": "message",
572-
"createdDateTime": "2024-09-10T16:42:55.123Z",
573-
"lastModifiedDateTime": "2024-09-10T16:42:55.123Z",
572+
"createdDateTime": "2024-10-02T21:06:06.936Z",
573+
"lastModifiedDateTime": "2024-10-02T21:06:06.936Z",
574574
"lastEditedDateTime": null,
575575
"deletedDateTime": null,
576576
"subject": null,

api-reference/v1.0/resources/chatmessageattachment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ Namespace: microsoft.graph
1414

1515
Represents an attachment to a chat message entity.
1616

17-
An entity of type `chatMessageAttachment` is returned as part of the [Get channel messages](../api/channel-list-messages.md) API, as a part of [chatMessage](chatmessage.md) entity.
17+
An entity of type **chatMessageAttachment** is returned as part of the [Get channel messages](../api/channel-list-messages.md) API, as a part of [chatMessage](chatmessage.md) entity.
1818

1919
## Properties
2020
| Property | Type |Description|
2121
|:---------------|:--------|:----------|
2222
|content|string|The content of the attachment. If the attachment is a [rich card](/microsoftteams/platform/task-modules-and-cards/cards/cards-reference), set the property to the rich card object. This property and contentUrl are mutually exclusive.|
23-
|contentType|string| The media type of the content attachment. It can have the following values: <br><ul><li>`reference`: Attachment is a link to another file. Populate the <b>contentURL</b> with the link to the object.</li><li>Any <b>contentType</b> that is supported by the Bot Framework's [Attachment object](/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?#attachment-object)</li><li>`application/vnd.microsoft.card.codesnippet`: A code snippet. </li><li>`application/vnd.microsoft.card.announcement`: An announcement header. </li>|
24-
|contentUrl|string|The URL for the content of the attachment.|
25-
|id|string|Read-only. The unique id of the attachment.|
23+
|contentType| string | The media type of the content attachment. The possible values are: <br><ul><li>`reference`: The attachment is a link to another file. Populate the <b>contentURL</b> with the link to the object.</li><li>`forwardedMessageReference`: The attachment is a reference to a forwarded message. Populate the <b>content</b> with the original message context.</li><li>Any <b>contentType</b> that is supported by the Bot Framework's [Attachment object](/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?#attachment-object).</li><li>`application/vnd.microsoft.card.codesnippet`: A code snippet. </li><li>`application/vnd.microsoft.card.announcement`: An announcement header. </li>|
24+
|contentUrl|string|The URL for the content of the attachment. |
25+
|id|string| Read-only. The unique ID of the attachment.|
2626
|name|string|The name of the attachment.|
2727
|teamsAppId|string|The ID of the Teams app that is associated with the attachment. The property is used to attribute a Teams message card to the specified app.|
2828
|thumbnailUrl|string|The URL to a thumbnail image that the channel can use if it supports using an alternative, smaller form of **content** or **contentUrl**. For example, if you set **contentType** to application/word and set **contentUrl** to the location of the Word document, you might include a thumbnail image that represents the document. The channel could display the thumbnail image instead of the document. When the user selects the image, the channel would open the document.|

changelog/Microsoft.Teams.Core.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5713,6 +5713,22 @@
57135713
"Cloud": "Prod",
57145714
"Version": "v1.0",
57155715
"CreatedDateTime": "2024-10-08T18:15:55.2254479Z",
5716+
},
5717+
{
5718+
"ChangeList": [
5719+
{
5720+
"Id": "5527a808-1e9a-4fa0-b52b-869cd2b870be",
5721+
"ApiChange": "Property",
5722+
"ChangedApiName": "contentType",
5723+
"ChangeType": "Change",
5724+
"Description": "Added `forwardedMessageReference` as a supported value for the **contentType** property in the [chatMessageAttachment](https://learn.microsoft.com/en-us/graph/api/resources/chatmessageattachment?view=graph-rest-1.0) resource.",
5725+
"Target": "chatMessageAttachment"
5726+
}
5727+
],
5728+
"Id": "5527a808-1e9a-4fa0-b52b-869cd2b870be",
5729+
"Cloud": "Prod",
5730+
"Version": "v1.0",
5731+
"CreatedDateTime": "2025-01-14T18:15:55.2254479Z",
57165732
"WorkloadArea": "Teamwork and communications",
57175733
"SubArea": "Messaging"
57185734
}

0 commit comments

Comments
 (0)