2020-02-29 15:02:34 +01:00
|
|
|
# Add an emoji reaction
|
|
|
|
|
2020-04-28 12:13:46 +02:00
|
|
|
{generate_api_description(/messages/{message_id}/reactions:post)}
|
2020-02-29 15:02:34 +01:00
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
|
|
|
|
|
|
|
{generate_code_example(python)|/messages/{message_id}/reactions:post|example}
|
|
|
|
|
|
|
|
{tab|curl}
|
|
|
|
|
|
|
|
{generate_code_example(curl, exclude=["emoji_code","reaction_type"])|/messages/{message_id}/reactions:post|example}
|
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
## Arguments
|
|
|
|
|
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|/messages/{message_id}/reactions:post}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
A typical successful JSON response may look like:
|
|
|
|
|
|
|
|
{generate_code_example|/messages/{message_id}/reactions:post|fixture(200)}
|