コード例 #1
0
 /// <summary>
 /// Removes a user from a channel.
 /// <see href="https://api.slack.com/methods/channels.kick" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `channels:write`
 /// </param>
 /// <param name='user'>
 /// User to remove from channel.
 /// </param>
 /// <param name='channel'>
 /// Channel to remove user from.
 /// </param>
 public static KickOKResponse Kick(this IChannels operations, string token = default(string), string user = default(string), string channel = default(string))
 {
     return(operations.KickAsync(token, user, channel).GetAwaiter().GetResult());
 }