TeamsBotInstallation.GetTeamDetailsAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.