You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api-reference/beta/api/chatmessage-post.md
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,9 @@ If successful, this method returns a `201 Created` response code and a new [chat
78
78
79
79
In the following examples, the URL can use the [HTTP syntax](#http-request) described to [send a message to a chat](chat-post-messages.md), [send a message to a channel](channel-post-messages.md), or [send reply to a channel](chatmessage-post-replies.md).
80
80
81
+
> [!NOTE]
82
+
> The Teams client has specific HTML restrictions. Therefore, the HTML elements supported by the Microsoft Graph API are compatible with the Teams client. For example, certain elements like `<div>` and inline styles may not function as intended.
83
+
81
84
### Example 1: Send a Hello World message in a channel
Copy file name to clipboardExpand all lines: api-reference/beta/resources/attachment.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,8 @@ The following methods apply to any of the derived types of attachments (**fileAt
42
42
43
43
| Method | Return Type |Description|
44
44
|:---------------|:--------|:----------|
45
-
|[Get attachment](../api/attachment-get.md)|[attachment](attachment.md)|Read the properties, relationships, or raw contents of an attachment, attached to a user event, message, Outlook task, or post.|
45
+
|[Get](../api/attachment-get.md)|[attachment](attachment.md)|Read the properties, relationships, or raw contents of an attachment, attached to a user event, message, Outlook task, or post.|
46
+
|[Delete](../api/attachment-delete.md)| None |Delete an attachment on an event, message, Outlook task, or post. |
46
47
|[Add attachment to a user event](../api/event-post-attachments.md)|[attachment](attachment.md)|Add a file, item, or link attachment to an event in a user calendar. This operation limits the size of the attachment you can add to under 3 MB.|
47
48
|[Add attachment to a message](../api/message-post-attachments.md)|[attachment](attachment.md)|Add a file, item, or link attachment to a message. This operation limits the size of the attachment you can add to under 3 MB.|
48
49
|[Create session to attach large file](../api/attachment-createuploadsession.md)|[uploadSession](uploadsession.md)| Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified **message** or **event**. The file size must be between 3 MB and 150 MB.|
@@ -52,7 +53,6 @@ The following methods apply to any of the derived types of attachments (**fileAt
52
53
|[List attachments of a message](../api/message-list-attachments.md)|[attachment](attachment.md) collection | Get a list of attachments for a message. |
53
54
|[List attachments of an Outlook task](../api/outlooktask-list-attachments.md) (deprecated) |[attachment](attachment.md) collection | Get a list of attachments for an Outlook task. |
54
55
|[List attachments of a post](../api/post-list-attachments.md)|[attachment](attachment.md) collection | Get a list of attachments for a post. |
55
-
|[Delete](../api/attachment-delete.md)| None |Delete an attachment on an event, message, Outlook task, or post. |
Copy file name to clipboardExpand all lines: api-reference/beta/resources/fileattachment.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,8 @@ Derived from [attachment](attachment.md).
33
33
34
34
| Method | Return Type |Description|
35
35
|:---------------|:--------|:----------|
36
-
|[Get attachment](../api/attachment-get.md)|[fileAttachment](fileattachment.md)|Read the properties, relationships, or raw contents of a **fileAttachment** object.|
37
-
|[Delete attachment](../api/attachment-delete.md)| None |Delete a **fileAttachment** object. |
36
+
|[Get](../api/attachment-get.md)|[fileAttachment](fileattachment.md)|Read the properties, relationships, or raw contents of a **fileAttachment** object.|
37
+
|[Delete](../api/attachment-delete.md)| None |Delete a **fileAttachment** object. |
Copy file name to clipboardExpand all lines: api-reference/beta/resources/itemattachment.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,8 @@ Derived from [attachment](attachment.md).
25
25
26
26
| Method | Return Type |Description|
27
27
|:---------------|:--------|:----------|
28
-
|[Get attachment](../api/attachment-get.md)|[itemAttachment](itemattachment.md)|Read the properties, relationships, or raw contents of an itemAttachment object.|
Copy file name to clipboardExpand all lines: api-reference/beta/resources/referenceattachment.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: "referenceAttachment resource type"
3
-
description: "A link to a folder or file (such as a text file or Word document) on a OneDrive for Business cloud drive, or other supported storage locations, attached to "
3
+
description: "A link to a folder or file (such as a text file or Word document) on a OneDrive for work or school cloud drive, or other supported storage locations, attached to "
A link to a folder or file (such as a text file or Word document) on a OneDrive for Business cloud drive, or other supported storage locations, attached to
17
+
A link to a folder or file (such as a text file or Word document) on a OneDrive for work or school cloud drive, or other supported storage locations, attached to
18
18
an [event](../resources/event.md), [message](../resources/message.md), or [post](../resources/post.md) .
19
19
20
20
Derived from [attachment](attachment.md).
@@ -23,23 +23,23 @@ Derived from [attachment](attachment.md).
23
23
24
24
| Method | Return Type |Description|
25
25
|:---------------|:--------|:----------|
26
-
|[Get attachment](../api/attachment-get.md)|[referenceAttachment](referenceattachment.md)|Read properties and relationships of referenceAttachment object.|
|contentType|String|The content type of the attachment. Returned as `null` by default, when not set explicitly. Optional.|
33
-
|id|String|The attachment ID. Read-only.|
34
-
|isFolder|Boolean|Specifies whether the attachment is a link to a folder. Must set this to true if **sourceUrl** is a link to a folder. Optional.|
33
+
|id|String|The attachment ID. Read-only.|
34
+
|isFolder|Boolean|Specifies whether the attachment is a link to a folder. You must set this property to true if **sourceUrl** is a link to a folder. Optional.|
35
35
|isInline|Boolean|Set to true if the attachment appears inline in the body of the embedding object. Optional.|
36
36
|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`. Optional.|
37
-
|name|String|The text that is displayed below the icon representing the embedded attachment. This does not need to be the actual file name. Required.|
37
+
|name|String|The text that is displayed below the icon representing the embedded attachment. This value doesn't need to be the actual file name. Required.|
38
38
|permission|referenceAttachmentPermission|Specifies the permissions granted for the attachment by the type of provider in **providerType**. Possible values are: `other`, `view`, `edit`, `anonymousView`, `anonymousEdit`, `organizationView`, `organizationEdit`. Optional.|
39
39
|previewUrl|String|Applies to only a reference attachment of an image - URL to get a preview image. Use **thumbnailUrl** and **previewUrl** only when **sourceUrl** identifies an image file. Optional.|
40
40
|providerType|referenceAttachmentProvider|The type of provider that supports an attachment of this contentType. Possible values are: `other`, `oneDriveBusiness`, `oneDriveConsumer`, `dropbox`. Optional.|
41
-
|size|Int32|The size of the metadata in bytes that is stored on the message for the reference attachment. This value does not indicate the size of the actual file. Optional.|
42
-
|sourceUrl|String|URL to get the attachment content. If this is a URL to a folder, then for the folder to be displayed correctly in Outlook or Outlook on the web, set **isFolder** to true. Required.|
41
+
|size|Int32|The size of the metadata in bytes that is stored on the message for the reference attachment. This value doesn't indicate the size of the actual file. Optional.|
42
+
|sourceUrl|String|URL to get the attachment content. If this value is a URL to a folder, then for the folder to be displayed correctly in Outlook or Outlook on the web, set **isFolder** to true. Required.|
43
43
|thumbnailUrl|String|Applies to only a reference attachment of an image - URL to get a thumbnail image. Use **thumbnailUrl** and **previewUrl** only when **sourceUrl** identifies an image file. Optional.|
0 commit comments