Dela via


ConversationsExtensions.GetActivityMembersAsync Metod

Definition

GetActivityMembers.

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

Parametrar

operations
IConversations

Åtgärdsgruppen för den här tilläggsmetoden.

conversationId
String

Konversations-ID.

activityId
String

Aktivitets-ID.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

En samling medlemmar i en aktivitet.

Kommentarer

Räkna upp medlemmarna i en aktivitet.

Det här REST-API:et tar ett ConversationId och ett ActivityId som returnerar en matris med ChannelAccount-objekt som representerar medlemmarna i den specifika aktiviteten i konversationen.

Gäller för