TeamsInfo.GetMembersAsync(ITurnContext, CancellationToken) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cuidado
Microsoft Teams is deprecating the non-paged version of the getMembers API which this method uses. Please use GetPagedTeamMembersAsync instead of this API.
Obtém os membros da conversa de um chat individual ou em 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 cancelamento.
Retornos
TeamsChannelAccount.
- Atributos