Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods channels.invite.json
Raw

priv/docs/methods/channels.invite.json

{
"args": {
"channel": {
"desc": "Channel to invite user to.",
"required": true,
"type": "channel"
},
"user": {
"desc": "User to invite to channel.",
"required": true,
"type": "user"
}
},
"desc": "Invites a user to a channel.",
"errors": {
"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 `channel` was invalid.",
"is_archived": "Channel has been archived.",
"not_in_channel": "Authenticated user is not in the channel.",
"user_not_found": "Value passed for `user` was invalid."
}
}