You're seeing just the function
invite, go back to Slack.Web.Channels module for more information.
Invites a user to a channel.
channel- Channel to invite user to.
user- User to invite to channel.
Errors the API can return:
already_in_channel- Invited user is already in the channel.
cant_invite- User cannot be invited to this channel.
cant_invite_self- Authenticated user cannot invite themselves to a channel.
channel_not_found- Value passed for
is_archived- Channel has been archived.
not_in_channel- Authenticated user is not in the channel.
user_not_found- Value passed for