TeamsClient.CreateChannelAsync 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.
Create a channel
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.CreateChannelResponse> CreateChannelAsync(string team, Azure.Connectors.Sdk.Teams.Models.CreateChannelInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateChannelAsync : string * Azure.Connectors.Sdk.Teams.Models.CreateChannelInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.CreateChannelResponse>
override this.CreateChannelAsync : string * Azure.Connectors.Sdk.Teams.Models.CreateChannelInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.CreateChannelResponse>
Public Overridable Function CreateChannelAsync (team As String, input As CreateChannelInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CreateChannelResponse)
Parameters
- team
- String
Team
- input
- CreateChannelInput
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Create a channel response.
Remarks
Create a new channel within a specified team