{
"desc": "Invites a user to a private channel.",
"args": {
"channel": {
"type" : "group",
"required" : true,
"desc" : "Private channel to invite user to."
},
"user": {
"type" : "user",
"required" : true,
"desc" : "User to invite."
}
},
"errors": {
"channel_not_found" : "Value passed for `channel` was invalid.",
"user_not_found": "Value passed for `user` was invalid.",
"cant_invite_self" : "Authenticated user cannot invite themselves to a group.",
"is_archived" : "Group has been archived.",
"cant_invite" : "User cannot be invited to this group."
}
}