Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods conversations.leave.json
Raw

priv/docs/methods/conversations.leave.json

{
"args": {
"channel": {
"desc": "Conversation to leave",
"required": true
}
},
"desc": "Leaves a conversation.",
"errors": {
"cant_leave_general": "Authenticated user cannot leave the general channel",
"channel_not_found": "Value passed for `channel` was invalid.",
"is_archived": "Channel has been archived.",
"last_member": "The last member party to a channel cannot leave the channel. Someone else must join the channel before this user is permitted to exit.",
"method_not_supported_for_channel_type": "This type of conversation cannot be used with this method.",
"user_is_restricted": "Restricted and guest users cannot leave channel"
},
"rate_limit": {
"label": "Tier 3: 50+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "channels:manage",
"url": "https://docs.slack.dev/reference/scopes/channels.manage"
},
{
"name": "channels:write",
"url": "https://docs.slack.dev/reference/scopes/channels.write"
},
{
"name": "groups:write",
"url": "https://docs.slack.dev/reference/scopes/groups.write"
},
{
"name": "im:write",
"url": "https://docs.slack.dev/reference/scopes/im.write"
},
{
"name": "mpim:write",
"url": "https://docs.slack.dev/reference/scopes/mpim.write"
}
],
"user": [
{
"name": "channels:write",
"url": "https://docs.slack.dev/reference/scopes/channels.write"
},
{
"name": "groups:write",
"url": "https://docs.slack.dev/reference/scopes/groups.write"
},
{
"name": "im:write",
"url": "https://docs.slack.dev/reference/scopes/im.write"
},
{
"name": "mpim:write",
"url": "https://docs.slack.dev/reference/scopes/mpim.write"
}
]
}
}