Packages

A Slack Web & Real Time Messaging API client.

Retired package: Renamed - 1.0.0-alpha.0

Current section

Files

Jump to
slack_kit lib slack web docs groups.invite.json
Raw

lib/slack/web/docs/groups.invite.json

{
"args": {
"channel": {
"desc": "Private channel to invite user to.",
"required": true,
"type": "group"
},
"user": {
"desc": "User to invite.",
"required": true,
"type": "user"
}
},
"desc": "Invites a user to a private channel.",
"errors": {
"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."
}
}