Jaa


ChannelServiceController.UploadAttachmentAsync(String, AttachmentData) Method

Definition

UploadAttachment.

[Microsoft.AspNetCore.Mvc.HttpPost("v3/conversations/{conversationId}/attachments")]
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult> UploadAttachmentAsync (string conversationId, Microsoft.Bot.Schema.AttachmentData attachmentUpload);
[<Microsoft.AspNetCore.Mvc.HttpPost("v3/conversations/{conversationId}/attachments")>]
abstract member UploadAttachmentAsync : string * Microsoft.Bot.Schema.AttachmentData -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult>
override this.UploadAttachmentAsync : string * Microsoft.Bot.Schema.AttachmentData -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult>
Public Overridable Function UploadAttachmentAsync (conversationId As String, attachmentUpload As AttachmentData) As Task(Of IActionResult)

Parameters

conversationId
String

Conversation ID.

attachmentUpload
AttachmentData

Attachment data.

Returns

TODO Document.

Attributes

Applies to