Compartir a través de


TeamsInfo.GetMembersAsync(ITurnContext, CancellationToken) Método

Definición

Precaución

Microsoft Teams is deprecating the non-paged version of the getMembers API which this method uses. Please use GetPagedTeamMembersAsync instead of this API.

Obtiene los miembros de la conversación de un chat uno a uno o de grupo.

[System.Obsolete("Microsoft Teams is deprecating the non-paged version of the getMembers API which this method uses. Please use GetPagedTeamMembersAsync instead of this API.")]
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Bot.Schema.Teams.TeamsChannelAccount>> GetMembersAsync (Microsoft.Bot.Builder.ITurnContext turnContext, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Microsoft Teams is deprecating the non-paged version of the getMembers API which this method uses. Please use GetPagedTeamMembersAsync instead of this API.")>]
static member GetMembersAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Bot.Schema.Teams.TeamsChannelAccount>>
Public Shared Function GetMembersAsync (turnContext As ITurnContext, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of TeamsChannelAccount))

Parámetros

turnContext
ITurnContext

Contexto de turno.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

TeamsChannelAccount.

Atributos

Se aplica a