Office365GroupsMailClient.GetAttachmentsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List the attachments of a post
public virtual Azure.AsyncPageable<Azure.Connectors.Sdk.Office365GroupsMail.Models.Attachment> GetAttachmentsAsync(string groupId, string threadId, string postId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAttachmentsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Connectors.Sdk.Office365GroupsMail.Models.Attachment>
override this.GetAttachmentsAsync : string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Connectors.Sdk.Office365GroupsMail.Models.Attachment>
Public Overridable Function GetAttachmentsAsync (groupId As String, threadId As String, postId As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of Attachment)
Parameters
- groupId
- String
Group ID
- threadId
- String
Thread ID
- postId
- String
Post ID
- cancellationToken
- CancellationToken
Cancellation token.
Returns
An async enumerable of Attachment items across all pages.
Remarks
Retrieve a list of attachments that belong to a post.