IConversations.GetActivityMembersAsync Method

Definition

GetActivityMembers.

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

Parameters

conversationId
String

Conversation ID.

activityId
String

Activity ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

A task that represents the list of ChannelAccount.

Remarks

Enumerate the members of an activity.

This REST API takes a ConversationId and a ActivityId, returning an array of ChannelAccount objects representing the members of the particular activity in the conversation.

Applies to