Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Clarify what topics are returned by `get-stream-topics`.
Lauryn Menarde1c809a71ea4
diff --git a/help/bots-and-integrations.md b/help/bots-and-integrations.mdindex 24659e16f38..b4b6d9cd7f3 100644--- a/help/bots-and-integrations.md+++ b/help/bots-and-integrations.md@@ -55,6 +55,11 @@ A few more details:* Bots can be subscribed to streams, and their role can be modified ifthey need to have permission to do administrative actions.+* [Stream permissions](/help/stream-permissions) are the same for bots+ as for other users. Therefore, for private streams with protected+ history, a bot can only access messages sent after it subscribed+ to the stream.+* **Generic**: A generic bot is like a normal Zulip user account thatcannot log in via a browser. Note that if you truly want toimpersonate yourself (e.g. write messages that come from your Zulipdiff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex c869bd18574..1e864146a2b 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -8283,7 +8283,14 @@ paths:summary: Get topics in a streamtags: ["streams"]description: |- Get all the topics in a specific stream+ Get all topics the user has access to in a specific stream.++ Note that for private streams with [protected+ history](/help/stream-permissions), the user will only have access to+ topics of messages sent after they [subscribed to](/api/subscribe) the+ stream. Similarly, a user's [bot](/help/bots-and-integrations#bot-type)+ will only have access to messages sent after the bot was subscribed to+ the stream, instead of when the user subscribed.parameters:- $ref: "#/components/parameters/StreamIdInPath"responses: