1
0
Fork 0

Adding upstream version 0.8.9.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-22 10:16:14 +02:00
parent 3b2c48b5e4
commit c0c4addb85
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
285 changed files with 25880 additions and 0 deletions

29
docs/services/zulip.md Normal file
View file

@ -0,0 +1,29 @@
# Zulip Chat
## URL Format
The shoutrrr service URL should look like this:
!!! info ""
zulip://__`botmail`__:__`botkey`__@__`host`__/?stream=__`stream`__&topic=__`topic`__
--8<-- "docs/services/zulip/config.md"
!!! note
Since __`botmail`__ is a mail address you need to URL escape the `@` in it to `%40`.
### Examples
Stream and topic are both optional and can be given as parameters to the Send method:
```go
sender, _ := shoutrrr.CreateSender(url)
params := make(types.Params)
params["stream"] = "mystream"
params["topic"] = "This is my topic"
sender.Send(message, &params)
```
!!! example "Example service URL"
zulip://my-bot%40zulipchat.com:correcthorsebatterystable@example.zulipchat.com?stream=foo&topic=bar