Partager via


ChannelServiceController.UploadAttachmentAsync(String, AttachmentData) Méthode

Définition

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)

Paramètres

conversationId
String

ID de conversation.

attachmentUpload
AttachmentData

Données de pièce jointe.

Retours

Document TODO.

Attributs

S’applique à