Share via


ConversationsExtensions.GetConversationMemberAsync Method

Definition

GetConversationMember.

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

Parameters

operations
Conversations

The operations group for this extension method.

userId
String

User ID.

conversationId
String

Conversation ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

The conversation member.

Remarks

Enumerate the members of a conversation.

This REST API takes a ConversationId and a UserId and returns a ChannelAccount object for the members of the conversation.

Applies to