Share via


ChannelServiceHandlerBase.HandleGetConversationMemberAsync Method

Definition

Gets the account of a single conversation member.

public System.Threading.Tasks.Task<Microsoft.Bot.Schema.ChannelAccount> HandleGetConversationMemberAsync (string authHeader, string userId, string conversationId, System.Threading.CancellationToken cancellationToken = default);
member this.HandleGetConversationMemberAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ChannelAccount>
Public Function HandleGetConversationMemberAsync (authHeader As String, userId As String, conversationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ChannelAccount)

Parameters

authHeader
String

The authentication header.

userId
String

The user id.

conversationId
String

The conversation Id.

cancellationToken
CancellationToken

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

Returns

A Task<TResult> representing the result of the asynchronous operation.

Applies to