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 channels.setTopic.json
Raw

lib/slack/web/docs/channels.setTopic.json

{
"args": {
"channel": {
"desc": "Channel to set the topic of",
"required": true,
"type": "channel"
},
"topic": {
"desc": "The new topic",
"example": "My Topic",
"required": true
}
},
"desc": "Sets the topic for a channel.",
"errors": {
"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.",
"too_long": "Topic was longer than 250 characters.",
"user_is_restricted": "Setting the topic is a restricted action."
}
}