api-docs: Update narrow usage examples for get_messages.

Updates narrow parameters in the javascript and python usage
examples for the get_messages endpoint to use the "channel"
operator instead of the "stream" operator.

Part of the stream to channel rename project.
This commit is contained in:
Lauryn Menard
2024-05-19 13:19:05 +02:00
committed by Tim Abbott
parent 48df3d87e1
commit 7644c83cca
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ add_example("get_messages", "/messages:get", 200, async (client, console) => {
num_after: 0,
narrow: [
{operator: "sender", operand: "iago@zulip.com"},
{operator: "stream", operand: "Verona"},
{operator: "channel", operand: "Verona"},
],
};