mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
Several integration docs instruct the user to create a bot, but don't specify that the type of bot should be "Incoming webhook". Renames create-a-bot.md -> create-an-incoming-webhook.md for clarity, and replaces all incomplete instructions with this macro. Renames bot_types.png -> bot_types_incoming_webhook.png and updates the image with a screenshot of the latest UI.
22 lines
756 B
Markdown
22 lines
756 B
Markdown
{!create-an-incoming-webhook.md!}
|
|
|
|
Construct the URL for the {{ integration_display_name }}
|
|
bot using the bot's API key and the desired stream name:
|
|
|
|
{!webhook-url.md!}
|
|
|
|
Modify the parameters of the URL above, where `api_key` is the API key
|
|
of your Zulip bot, and `stream` is the [URL-encoded](https://www.urlencoder.org/)
|
|
stream name you want the notifications sent to. If you do not specify a
|
|
`stream`, the bot will send notifications via PMs to the creator of the bot.
|
|
|
|
If you'd like this integration to always send to a specific topic,
|
|
just include the (URL-encoded) topic as an additional parameter
|
|
(E.g. for `your topic`, append `&topic=your%20topic` to the URL).
|
|
|
|
{% if all_event_types is defined %}
|
|
|
|
{!event-filtering-instruction.md!}
|
|
|
|
{% endif %}
|