Compartilhar via


TeamsInfo.GetTeamDetailsAsync(ITurnContext, String, CancellationToken) Método

Definição

Obtém os detalhes da ID de equipe fornecida. Isso só funciona em conversas com escopo de equipes.

public static System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TeamDetails> GetTeamDetailsAsync (Microsoft.Bot.Builder.ITurnContext turnContext, string teamId = default, System.Threading.CancellationToken cancellationToken = default);
static member GetTeamDetailsAsync : Microsoft.Bot.Builder.ITurnContext * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TeamDetails>
Public Shared Function GetTeamDetailsAsync (turnContext As ITurnContext, Optional teamId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TeamDetails)

Parâmetros

turnContext
ITurnContext

Contexto de turno.

teamId
String

A ID da equipe do Teams.

cancellationToken
CancellationToken

Token de cancelamento.

Retornos

Detalhes da equipe.

Aplica-se a