Slack.Web.Groups.kick
You're seeing just the function
kick, go back to Slack.Web.Groups module for more information.
Removes a user from a private channel.
Required Params
channel- Private channel to remove user from.user- User to remove from private channel.
Errors the API can return:
cant_kick_self- You can't remove yourself from a groupchannel_not_found- Value passed forchannelwas invalid.not_in_group- User or caller were are not in the grouprestricted_action- A team preference prevents the authenticated user from kicking.user_not_found- Value passed foruserwas invalid.