Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods assistant.threads.setStatus.json
Raw

priv/docs/methods/assistant.threads.setStatus.json

{
"args": {
"channel_id": {
"desc": "Channel ID containing the assistant thread.",
"required": true,
"type": "string"
},
"icon_emoji": {
"desc": "Emoji to use as the icon for this message. Overrides `icon_url`.",
"example": ":chart_with_upwards_trend:",
"required": false,
"type": "string"
},
"icon_url": {
"desc": "Image URL to use as the icon for this message.",
"example": "http://lorempixel.com/48/48",
"required": false,
"type": "string"
},
"loading_messages": {
"desc": "The list of messages to rotate through as a loading indicator. Maximum of 10 messages.",
"required": false,
"type": "array"
},
"status": {
"desc": "Status of the specified bot user, e.g., 'is thinking...'. A two minute timeout applies, which will cause the status to be removed if no message has been sent.",
"required": true,
"type": "string"
},
"thread_ts": {
"desc": "Message timestamp of the thread of where to set the status.",
"required": true,
"type": "string"
},
"username": {
"desc": "The bot's username to display.",
"example": "My Bot",
"required": false,
"type": "string"
}
},
"desc": "Set the status for an AI assistant thread.",
"errors": {
"channel_not_found": "Error returned when given an invalid channel\\_id",
"invalid_thread_ts": "Error returned when given an invalid thread\\_ts",
"reserved_username": "Reserved usernames are not allowed to be used."
},
"rate_limit": {
"label": "Special rate limits apply.",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "chat:write",
"url": "https://docs.slack.dev/reference/scopes/chat.write"
}
]
}
}