IConversations.GetConversationMemberAsync Method

Definition

GetConversationMember.

public System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.ChannelAccount> GetConversationMemberAsync(string userId, string conversationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConversationMemberAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.Core.Models.ChannelAccount>
Public Function GetConversationMemberAsync (userId As String, conversationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ChannelAccount)

Parameters

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