You're seeing just the function invite, go back to Slack.Web.Groups module for more information.
Link to this function

invite(channel, user, optional_params \\ %{})

View Source

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 for channel was invalid.
  • is_archived - Group has been archived.
  • user_not_found - Value passed for user was invalid.