Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api_docs: Clarify that bot_storage.contains() operates on the cache.
Niloth P8d4252023737
diff --git a/api_docs/writing-bots.md b/api_docs/writing-bots.mdindex ba413196937..a3a949d0a82 100644--- a/api_docs/writing-bots.md+++ b/api_docs/writing-bots.md@@ -349,6 +349,10 @@ print(bot_handler.storage.get("foo")) # print "bar"will check if the entry `key` exists.+Note that this will only check the cache, so it would return `False` if no+previous call to `bot_handler.storage.get()` or `bot_handler.storage.put()`+was made for `key`, since the bot was restarted.+##### Arguments* key - a UTF-8 string