Partager via


ChannelServiceController.UpdateActivityAsync(String, String, Activity) Méthode

Définition

UpdateActivity.

[Microsoft.AspNetCore.Mvc.HttpPut("v3/conversations/{conversationId}/activities/{activityId}")]
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult> UpdateActivityAsync (string conversationId, string activityId, Microsoft.Bot.Schema.Activity activity);
[<Microsoft.AspNetCore.Mvc.HttpPut("v3/conversations/{conversationId}/activities/{activityId}")>]
abstract member UpdateActivityAsync : string * string * Microsoft.Bot.Schema.Activity -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult>
override this.UpdateActivityAsync : string * string * Microsoft.Bot.Schema.Activity -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult>
Public Overridable Function UpdateActivityAsync (conversationId As String, activityId As String, activity As Activity) As Task(Of IActionResult)

Paramètres

conversationId
String

ID de conversation.

activityId
String

activityId à mettre à jour.

activity
Activity

activité de remplacement.

Retours

Document TODO.

Attributs

S’applique à