-
-
Notifications
You must be signed in to change notification settings - Fork 422
Notify_zulip
Chris Caron edited this page Dec 22, 2020
·
3 revisions
- Source: https://zulipchat.com/
- Icon Support: No
- Message Format: Text
- Message Limit: 10000 Characters per message
To use this Zulip, you must have a Zulip Chat bot defined; See here for more details. At the time of writing this plugin the instructions were:
- From your desktop, click on the gear icon in the upper right corner.
- Select Settings.
- On the left, click Your bots.
- Click Add a new bot.
- Fill out the fields, and click Create bot.
If you know your organization {ID} (as it's part of your zulipchat.com url), then you can also access your bot information by visiting: https://ID.zulipchat.com/#settings/your-bots
Upon creating a bot successfully, you'll now be able to access it's API Token.
Valid syntaxes are as follows:
- zulip://{botname}@{organization}/{token}/
- zulip://{botname}@{organization}/{token}/{stream}
- zulip://{botname}@{organization}/{token}/{stream1}/{stream2}/{streamN}
- zulip://{botname}@{organization}/{token}/{email}
- zulip://{botname}@{organization}/{token}/{email1}/{email2}/{emailN}
Note: If neither a {stream} or {email} is specified then by default the stream general is notified.
You can also mix and match the entries above too:
- zulip://{botname}@{organization}/{token}/{stream1}/{email1}/
Variable | Required | Description |
---|---|---|
organization | Yes | The organization you created your webhook under. The trailing part of the organization reading .zulipchat.com is not required here, however this is gracefully handled if specified. |
token | Yes | The API token provided to you after creating a bot |
botname | Yes | The botname associated with the API Key. The -bot portion of the bot name is not required, however this is gracefully handled if specified. |
No | An email belonging to one of the users that have been added to your organization the private message. | |
stream | No | A stream to notify. |
Send a Zulip notification to default #general (default) stream:
# Assuming our {organization} is apprise
# Assuming our {token} is T1JJ3T3L2
# Assuming our {botname} is goober
apprise -vv -t "Test Message Title" -b "Test Message Body" \
zulip:///goober@apprise/T1JJ3T3L2
Send a Zulip notification to the #support stream:
# Assuming our {organization} is apprise
# Assuming our {token} is T1JJ3T3L2
# Assuming our {stream} is #support
apprise -vv -t "Test Message Title" -b "Test Message Body" \
zulip:///apprise/T1JJ3T3L2/support