Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api-docs: Fix description of the realm_bot/delete event.

Sahil Batraf48ed60fbaff
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index cb89f35162b..c90995e51ea 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -4932,9 +4932,9 @@ paths:
- type: object
additionalProperties: false
description: |
- Event sent to all users when a bot has been deactivated.
- Note that this is very similar to the bot_remove event
- and one of them will be removed soon.
+ Event sent to the previous owner of a bot when the bot's
+ owner is changed, unless the previous owner is an
+ organization administrator.
properties:
id:
$ref: "#/components/schemas/EventIdSchema"
@@ -4950,13 +4950,13 @@ paths:
bot:
type: object
description: |
- Object containing details about the deactivated bot.
+ Object containing details about the bot.
additionalProperties: false
properties:
user_id:
type: integer
description: |
- The user ID of the deactivated bot.
+ The user ID of the bot.
example:
{
"type": "realm_bot",