ChannelServiceController.UploadAttachmentAsync(String, AttachmentData) 方法

定义

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)

参数

conversationId
String

对话 ID。

attachmentUpload
AttachmentData

附件数据。

返回

TODO 文档。

属性

适用于