BotFrameworkAdapter.GetConversationMembersAsync(ITurnContext, CancellationToken) Method

Definition

Lists the members of the current conversation.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>> GetConversationMembersAsync (Microsoft.Bot.Builder.ITurnContext turnContext, System.Threading.CancellationToken cancellationToken);
abstract member GetConversationMembersAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>
override this.GetConversationMembersAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>
Public Overridable Function GetConversationMembersAsync (turnContext As ITurnContext, cancellationToken As CancellationToken) As Task(Of IList(Of ChannelAccount))

Parameters

turnContext
ITurnContext

The context object for the turn.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<IList<ChannelAccount>>

List of Members of the current conversation.

Applies to