Slack.Web.Groups.invite
You're seeing just the function
invite, go back to Slack.Web.Groups module for more information.
Invites a user to a private channel.
Required Params
channel- Private channel to invite user to.user- User to invite.
Errors the API can return:
cant_invite- User cannot be invited to this group.cant_invite_self- Authenticated user cannot invite themselves to a group.channel_not_found- Value passed forchannelwas invalid.is_archived- Group has been archived.user_not_found- Value passed foruserwas invalid.