ChannelServiceHandlerBase.HandleGetConversationMemberAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.