Jaa


BotFrameworkAdapter.DeleteConversationMemberAsync Method

Definition

Removes a member from the current conversation.

public virtual System.Threading.Tasks.Task DeleteConversationMemberAsync (Microsoft.Bot.Builder.ITurnContext turnContext, string memberId, System.Threading.CancellationToken cancellationToken);
abstract member DeleteConversationMemberAsync : Microsoft.Bot.Builder.ITurnContext * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteConversationMemberAsync : Microsoft.Bot.Builder.ITurnContext * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DeleteConversationMemberAsync (turnContext As ITurnContext, memberId As String, cancellationToken As CancellationToken) As Task

Parameters

turnContext
ITurnContext

The context object for the turn.

memberId
String

The ID of the member to remove from the conversation.

cancellationToken
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

A task that represents the work queued to execute.

Applies to