Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods groups.setTopic.json
Raw

priv/docs/methods/groups.setTopic.json

{
"args": {
"channel": {
"desc": "Private 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 private channel.",
"errors": {
"channel_not_found": "Value passed for `channel` was invalid.",
"is_archived": "Private group has been archived",
"too_long": "Topic was longer than 250 characters.",
"user_is_restricted": "Setting the topic is a restricted action."
}
}