SlackClient.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.Slack.Models.CreateChannelResponse> CreateChannelAsync(string name = default, bool? isPrivateChannel = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateChannelAsync : string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Slack.Models.CreateChannelResponse>
override this.CreateChannelAsync : string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Slack.Models.CreateChannelResponse>
Public Overridable Function CreateChannelAsync (Optional name As String = Nothing, Optional isPrivateChannel As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CreateChannelResponse)
Parameters
- name
- String
Name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Create a channel response.
Remarks
Create a channel in slack.