747 B
747 B
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:
sender, _ := shoutrrr.CreateSender(url)
params := make(types.Params)
params["stream"] = "mystream"
params["topic"] = "This is my topic"
sender.Send(message, ¶ms)
!!! example "Example service URL" zulip://my-bot%40zulipchat.com:correcthorsebatterystable@example.zulipchat.com?stream=foo&topic=bar