Ejemplo n.º 1
0
 /// <summary>
 /// Initiates a public or private channel-based conversation
 /// <see href="https://api.slack.com/methods/conversations.create" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `conversations:write`
 /// </param>
 /// <param name='name'>
 /// Name of the public or private channel to create
 /// </param>
 /// <param name='isPrivate'>
 /// Create a private channel instead of a public one
 /// </param>
 public static CreateOKResponseModel Create(this IConversations operations, string token = default(string), string name = default(string), bool?isPrivate = default(bool?))
 {
     return(operations.CreateAsync(token, name, isPrivate).GetAwaiter().GetResult());
 }