Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
examples-python-api: Fix `message_id` type.
LoopThrough-i-jd1ee2d31c72c
diff --git a/zerver/openapi/python_examples.py b/zerver/openapi/python_examples.pyindex 90e3824bd51..0bdd9d27c55 100644--- a/zerver/openapi/python_examples.py+++ b/zerver/openapi/python_examples.py@@ -783,10 +783,11 @@ def send_message(client: Client) -> int:@openapi_test_function("/messages/{message_id}/reactions:post")def add_reaction(client: Client, message_id: int) -> None:+ request: Dict[str, Any] = {}# {code_example|start}# Add an emoji reactionrequest = {- "message_id": str(message_id),+ "message_id": message_id,"emoji_name": "octopus",}@@ -797,10 +798,11 @@ def add_reaction(client: Client, message_id: int) -> None:@openapi_test_function("/messages/{message_id}/reactions:delete")def remove_reaction(client: Client, message_id: int) -> None:+ request: Dict[str, Any] = {}# {code_example|start}# Remove an emoji reactionrequest = {- "message_id": str(message_id),+ "message_id": message_id,"emoji_name": "octopus",}