Share via


TeamsBotInstallation.GetTeamDetailsAsync(CancellationToken) Method

Definition

Get team details from this bot installation

public System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TeamDetails> GetTeamDetailsAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetTeamDetailsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.Teams.TeamDetails>
Public Function GetTeamDetailsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of TeamDetails)

Parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

The team details if bot is installed into a team, otherwise returns null.

Applies to