Sdílet prostřednictvím


ConversationsExtensions.GetConversationMembersAsync Metoda

Definice

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

Skupina operací pro tuto rozšiřující metodu.

conversationId
String

ID konverzace.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Kolekce členů konverzace.

Poznámky

Zobrazení výčtu členů konverzace

Toto rozhraní REST API přebírá hodnotu ConversationId a vrací pole objektů ChannelAccount představujících členy konverzace.

Platí pro