Language

TeamClient.GetConversationsAsync(String, CancellationToken) Method

Definition

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

Returns

Applies to