-
-
Notifications
You must be signed in to change notification settings - Fork 422
Notify_zulip
Chris Caron edited this page Aug 3, 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}/{channel}
- zulip://{botname}@{organization}/{token}/{channel1}/{channel2}/{channelN}
- zulip://{botname}@{organization}/{token}/{email}
- zulip://{botname}@{organization}/{token}/{email1}/{email2}/{emailN}
Note: If neither a {channel} or {email} is specified then by default the channel general is notified.
You can also mix and match the entries above too:
- zulip://{botname}@{organization}/{token}/{channel1}/{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. | |
channel | No | A channel to notify. |
Send a Zulip notification:
# 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