2018-08-09 20:27:12 +02:00
|
|
|
# Set "typing" status
|
|
|
|
|
2020-04-28 20:00:46 +02:00
|
|
|
{generate_api_description(/typing:post)}
|
2018-08-09 20:27:12 +02:00
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
2018-09-17 16:27:32 +02:00
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
2018-08-09 20:27:12 +02:00
|
|
|
|
|
|
|
{generate_code_example(python)|/typing:post|example}
|
|
|
|
|
2018-09-17 16:27:32 +02:00
|
|
|
{tab|js}
|
2018-08-09 20:27:12 +02:00
|
|
|
|
|
|
|
More examples and documentation can be found [here](https://github.com/zulip/zulip-js).
|
2020-06-21 23:25:38 +02:00
|
|
|
|
|
|
|
{generate_code_example(javascript)|/typing:post|example}
|
2018-08-09 20:27:12 +02:00
|
|
|
|
2018-09-17 16:27:32 +02:00
|
|
|
{tab|curl}
|
|
|
|
|
2019-10-11 15:00:43 +02:00
|
|
|
{generate_code_example(curl)|/typing:post|example}
|
2018-08-09 20:27:12 +02:00
|
|
|
|
2018-09-17 16:27:32 +02:00
|
|
|
{end_tabs}
|
2018-08-09 20:27:12 +02:00
|
|
|
|
2020-06-18 15:35:25 +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)}
|