referenceAttachment resource type
Namespace: microsoft.graph
A link to a file (such as a text file or Word document) on a OneDrive for Business cloud drive or other supported storage locations, attached to an event, message, or post.
Derived from attachment.
Methods
Method | Return Type | Description |
---|---|---|
Get attachment | referenceAttachment | Read properties and relationships of referenceAttachment object. |
Delete attachment | None | Delete referenceAttachment object. |
Properties
Property | Type | Description |
---|---|---|
contentType | String | The content type of the attachment. Returned as null by default, when not set explicitly. Optional. |
id | String | The attachment ID. Read-only. |
isInline | Boolean | Set to true if the attachment appears inline in the body of the embedding object. |
lastModifiedDateTime | DateTimeOffset | The date and time when the attachment was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z |
name | String | The text that is displayed below the icon representing the embedded attachment. This does not need to be the actual file name. |
size | Int32 | The size of the metadata that is stored on the message for the attachment in bytes. This value does not indicate the size of the actual file. |
Relationships
None
JSON representation
The following JSON representation shows the resource type.
{
"contentType": "string",
"id": "string (identifier)",
"isInline": true,
"lastModifiedDateTime": "String (timestamp)",
"name": "string",
"size": 1024
}
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기