chatMessageAttachment resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents an attachment to a chat message entity.
An entity of type chatMessageAttachment
is returned as part of the Get channel messages API, as a part of chatMessage entity.
Properties
Property | Type | Description |
---|---|---|
id | string | Read-only. The unique id of the attachment. |
contentType | string | The media type of the content attachment. It can have the following values:
|
contentUrl | string | The URL for the content of the attachment. |
content | string | The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive. |
name | string | Name of the attachment. |
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. |
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. |
JSON representation
The following JSON representation shows the resource type.
{
"id": "string (identifier)",
"contentType": "string",
"contentUrl": "string",
"content": "string",
"name": "string",
"teamsAppId": "string",
"thumbnailUrl": "string"
}
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기