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