AttachmentsExtensions.GetAttachmentInfoAsync(IAttachments, String, CancellationToken) Method

Definition

GetAttachmentInfo

public static System.Threading.Tasks.Task<Microsoft.Bot.Schema.AttachmentInfo> GetAttachmentInfoAsync (this Microsoft.Bot.Connector.IAttachments operations, string attachmentId, System.Threading.CancellationToken cancellationToken = null);
static member GetAttachmentInfoAsync : Microsoft.Bot.Connector.IAttachments * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.AttachmentInfo>

Parameters

operations
IAttachments

The operations group for this extension method.

attachmentId
String

attachment id

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get AttachmentInfo structure describing the attachment views

Applies to