Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods apps.icon.set.json
Raw

priv/docs/methods/apps.icon.set.json

{
"args": {
"app_id": {
"desc": "The ID of the app whose icon you want to set.",
"required": true
},
"file": {
"desc": "File contents via `multipart/form-data`",
"required": false
},
"url": {
"desc": "URL of a publicly hosted image",
"required": false,
"type": "string"
}
},
"desc": "Sets the app icon",
"errors": {
"error_bad_format": "Icon must be a valid image file.",
"invalid_app": "App does not exist.",
"invalid_app_id": "App ID is not valid.",
"invalid_icon_size": "Icon dimensions must be between 512x512px and 2000x2000px.",
"invalid_parameters": "Only one of `URL` or `file` can be defined.",
"missing_arguments": "One of `URL` or `file` must be provided.",
"unable_to_open_file": "Error with file upload."
},
"rate_limit": {
"label": "Tier 1: 1+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "app_configurations:write",
"url": "https://docs.slack.dev/reference/scopes/app_configurations.write"
}
]
}
}