Microsoft.Bot.Connector.IAttachments Interface Reference

Attachments operations. More...

Inheritance diagram for Microsoft.Bot.Connector.IAttachments:

Public Member Functions

Task< HttpOperationResponse< object > > GetAttachmentInfoWithHttpMessagesAsync (string attachmentId, Dictionary< string, List< string >> customHeaders=null, CancellationToken cancellationToken=default(CancellationToken))
 GetAttachmentInfo More...
 
Task< HttpOperationResponse< object > > GetAttachmentWithHttpMessagesAsync (string attachmentId, string viewId, Dictionary< string, List< string >> customHeaders=null, CancellationToken cancellationToken=default(CancellationToken))
 GetAttachment More...
 

Detailed Description

Attachments operations.

Definition at line 18 of file IAttachments.cs.

Member Function Documentation

Task<HttpOperationResponse<object> > Microsoft.Bot.Connector.IAttachments.GetAttachmentInfoWithHttpMessagesAsync ( string  attachmentId,
Dictionary< string, List< string >>  customHeaders = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)

GetAttachmentInfo

Get AttachmentInfo structure describing the attachment views

Parameters
attachmentIdattachment id
customHeadersThe headers that will be added to request.
cancellationTokenThe cancellation token.

Implemented in Microsoft.Bot.Connector.Attachments.

Task<HttpOperationResponse<object> > Microsoft.Bot.Connector.IAttachments.GetAttachmentWithHttpMessagesAsync ( string  attachmentId,
string  viewId,
Dictionary< string, List< string >>  customHeaders = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)

GetAttachment

Get the named view as binary content

Parameters
attachmentIdattachment id
viewIdView id from attachmentInfo
customHeadersThe headers that will be added to request.
cancellationTokenThe cancellation token.

Implemented in Microsoft.Bot.Connector.Attachments.


The documentation for this interface was generated from the following file: