This action sends a message to Zulip.
Required API key used to interact with the Zulip API. You can get an API key through Zulip's web interface.
Required Email address of the user who owns the API key mentioned above.
Required Zulip organization canonical URL.
Required For stream messages, either the name or integer ID of the stream. For private messages, either a list containing integer user IDs or a list containing string email addresses.
Required The type of message to be sent. private
for a private message and stream
for a stream message.
Must be one of: private
, stream
.
Optional The topic of the message. Only required for stream messages (type="stream"
), ignored otherwise.
Maximum length of 60 characters.
Required The content of the message. Maximum message size of 10000 bytes. Format your message using Zulip Markdown.
Send a stream message
- name: Send a stream message
uses: zulip/[email protected]
with:
api-key: 'abcd1234'
email: '[email protected]'
organization-url: 'https://org.zulipchat.com'
to: 'social'
type: 'stream'
topic: 'Castle'
content: 'I come not, friends, to steal away your hearts.'
Send a private message
- name: Send a private message
uses: zulip/[email protected]
with:
api-key: 'abcd1234'
email: '[email protected]'
organization-url: 'https://org.zulipchat.com'
to: '9' # user_id
type: 'private'
content: 'With mirth and laughter let old wrinkles come.'