IConversations.GetConversationMemberAsync 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.
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.