Example #1
0
 /// <summary>
 /// Invites users to a channel.
 /// <see href="https://api.slack.com/methods/conversations.invite" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `conversations:write`
 /// </param>
 /// <param name='users'>
 /// A comma separated list of user IDs. Up to 30 users may be listed.
 /// </param>
 /// <param name='channel'>
 /// The ID of the public or private channel to invite user(s) to.
 /// </param>
 public static InviteOKResponseModel Invite(this IConversations operations, string token = default(string), string users = default(string), string channel = default(string))
 {
     return(operations.InviteAsync(token, users, channel).GetAwaiter().GetResult());
 }