zulip/templates/zerver/api/set-typing-status.md

35 lines
625 B
Markdown
Raw Normal View History

2018-08-09 20:27:12 +02:00
# Set "typing" status
{generate_api_description(/typing:post)}
2018-08-09 20:27:12 +02:00
## Usage examples
{start_tabs}
{tab|python}
2018-08-09 20:27:12 +02:00
{generate_code_example(python)|/typing:post|example}
{tab|js}
2018-08-09 20:27:12 +02:00
More examples and documentation can be found [here](https://github.com/zulip/zulip-js).
{generate_code_example(javascript)|/typing:post|example}
2018-08-09 20:27:12 +02:00
{tab|curl}
{generate_code_example(curl, exclude=["topic"])|/typing:post|example}
2018-08-09 20:27:12 +02:00
{end_tabs}
2018-08-09 20:27:12 +02:00
## Parameters
2018-08-09 20:27:12 +02:00
{generate_api_arguments_table|zulip.yaml|/typing:post}
## Response
#### Example response
A typical successful JSON response may look like:
{generate_code_example|/typing:post|fixture(200)}