Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods admin.emoji.addAlias.json
Raw

priv/docs/methods/admin.emoji.addAlias.json

{
"args": {
"alias_for": {
"desc": "Name of the emoji for which the alias is being made. Any wrapping whitespace or colons will be automatically trimmed.",
"required": true,
"type": "string"
},
"name": {
"desc": "The new alias for the specified emoji. Any wrapping whitespace or colons will be automatically trimmed.",
"required": true,
"type": "string"
}
},
"desc": "Add an emoji alias.",
"errors": {
"emoji_limit_reached": "Unable to add emoji due to limit reached.",
"error_bad_name_i18n": "Value passed for `name` was invalid.",
"error_invalid_alias": "Value passed for `alias_for` does not exist.",
"error_missing_name": "Value passed for `name` is missing or empty.",
"error_name_taken": "Value passed for `name` already exists.",
"error_name_taken_i18n": "The name has already been taken by another emoji, in the international set. Emoji must have unique names.",
"failed_to_alias_emoji": "Failed to alias the specified emoji.",
"feature_not_enabled": "The Admin APIs feature is not enabled for this team.",
"no_alias_selected": "Value passed for `alias_for` was invalid.",
"not_an_admin": "This method is only accessible by org owners and Admins."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.teams:write",
"url": "https://docs.slack.dev/reference/scopes/admin.teams.write"
}
]
}
}