Udostępnij za pośrednictwem


ConversationsExtensions.GetConversationMembersAsync Metoda

Definicja

GetConversationMembers.

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

Parametry

operations
IConversations

Grupa operacji dla tej metody rozszerzenia.

conversationId
String

Identyfikator konwersacji.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Kolekcja członków konwersacji.

Uwagi

Wyliczanie członków konwersacji.

Ten interfejs API REST przyjmuje identyfikator ConversationId i zwraca tablicę obiektów ChannelAccount reprezentujących członków konwersacji.

Dotyczy