Current section
Files
Jump to
Current section
Files
priv/docs/methods/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."
}
}