TeamClient.GetConversationsAsync(String, 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 the channels (conversations) for a team.
public System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.Teams.Apps.Schema.TeamsChannel>?> GetConversationsAsync(string id, System.Threading.CancellationToken cancellationToken = default);
member this.GetConversationsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.Teams.Apps.Schema.TeamsChannel>>
Public Function GetConversationsAsync (id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of List(Of TeamsChannel))
Parameters
- id
- String
- cancellationToken
- CancellationToken